source: gpfs_3.1_ker2.6.20/lpp/mmfs/src/gpl-linux/trcid.h @ 152

Last change on this file since 152 was 16, checked in by rock, 17 years ago
File size: 162.9 KB
Line 
1/***************************************************************************
2 *
3 * Copyright (C) 2001 International Business Machines
4 * All rights reserved.
5 *
6 * This file is part of the GPFS mmfslinux kernel module.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 *
12 *  1. Redistributions of source code must retain the above copyright notice,
13 *     this list of conditions and the following disclaimer.
14 *  2. Redistributions in binary form must reproduce the above copyright
15 *     notice, this list of conditions and the following disclaimer in the
16 *     documentation and/or other materials provided with the distribution.
17 *  3. The name of the author may not be used to endorse or promote products
18 *     derived from this software without specific prior written
19 *     permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
30 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 *************************************************************************** */
33/*
34 * Trace id and reason code definitions.
35 *
36 * This file is generated by mktrace.
37 * ------>>> DO NOT EDIT ! <<<------
38 */
39#include <DirIds.h>
40#define LOCAL_BASE  DIR_ID_KERNEXT_GPL_LINUX
41#define LOCAL_TRCID (LOCAL_BASE << 10)
42#define TRCID_CXIINC_COUNTER  (LOCAL_TRCID + 1)
43#define TRCID_GPFSINIT_000  (LOCAL_TRCID + 2)
44#define TRCID_PORTINIT_001  (LOCAL_TRCID + 3)
45#define TRCID_FBREAD_ENTER  (LOCAL_TRCID + 4)
46#define TRCID_FBREAD_EXIT (LOCAL_TRCID + 5)
47#define TRCID_FBWRITE_ENTER (LOCAL_TRCID + 6)
48#define TRCID_FBOPEN_ENTER  (LOCAL_TRCID + 7)
49#define TRCID_FBOPEN_EXIT (LOCAL_TRCID + 8)
50#define TRCID_FBRELEASE_ENTER (LOCAL_TRCID + 9)
51#define TRCID_FBRELEASE_EXIT  (LOCAL_TRCID + 10)
52#define TRCID_FBIOCTL_ENTER (LOCAL_TRCID + 11)
53#define TRCID_BOPEN_ENTER (LOCAL_TRCID + 12)
54#define TRCID_BOPEN_EXIT  (LOCAL_TRCID + 13)
55#define TRCID_BRELEASE_ENTER  (LOCAL_TRCID + 14)
56#define TRCID_BRELEASE_EXIT (LOCAL_TRCID + 15)
57#define TRCID_BIOCTL_ENTER  (LOCAL_TRCID + 16)
58#define TRCID_BLOCK_011 (LOCAL_TRCID + 17)
59#define TRCID_BLOCK_013 (LOCAL_TRCID + 18)
60#define TRCID_BLOCK_015 (LOCAL_TRCID + 19)
61#define TRCID_PRUNE_DCACHE  (LOCAL_TRCID + 20)
62#define TRCID_PRUNE_DCACHE_ALIAS  (LOCAL_TRCID + 21)
63#define TRCID_INVAL_DCACHE  (LOCAL_TRCID + 22)
64#define TRCID_INVAL_DCACHE_ALIAS  (LOCAL_TRCID + 23)
65#define TRCID_DROP_INVAL_DCACHE (LOCAL_TRCID + 24)
66#define TRCID_DROP_INVAL_DCACHE_ALIAS (LOCAL_TRCID + 25)
67#define TRCID_INVAL_NEG_DCACHE  (LOCAL_TRCID + 26)
68#define TRCID_INVAL_NEG_DUNCACHE  (LOCAL_TRCID + 27)
69#define TRCID_DIR_001 (LOCAL_TRCID + 28)
70#define TRCID_DIR_REVALIDATE  (LOCAL_TRCID + 29)
71#define TRCID_DIR_REVALIDATE_EX (LOCAL_TRCID + 30)
72#define TRCID_DIR_VALID_IF_SAMBA  (LOCAL_TRCID + 31)
73#define TRCID_DIR_INVALID_IF_SAMBA  (LOCAL_TRCID + 32)
74#define TRCID_LINUXOPS_LLSEEK_ENTER (LOCAL_TRCID + 33)
75#define TRCID_LINUXOPS_LLSEEK_EXIT  (LOCAL_TRCID + 34)
76#define TRCID_LINUXOPS_READDIR_ENTER  (LOCAL_TRCID + 35)
77#define TRCID_LINUXOPS_READDIR_EXIT (LOCAL_TRCID + 36)
78#define TRCID_LINUXOPS_POLL (LOCAL_TRCID + 37)
79#define TRCID_LINUXOPS_IOCTL  (LOCAL_TRCID + 38)
80#define TRCID_FM_OPEN (LOCAL_TRCID + 39)
81#define TRCID_FM_OPEN_1 (LOCAL_TRCID + 40)
82#define TRCID_FM_OPEN_EXIT  (LOCAL_TRCID + 41)
83#define TRCID_FM_CLOSE_ENTER  (LOCAL_TRCID + 42)
84#define TRCID_FM_CLOSE_ENTER1 (LOCAL_TRCID + 43)
85#define TRCID_FM_CLOSE_ENR  (LOCAL_TRCID + 44)
86#define TRCID_FM_CLOSE  (LOCAL_TRCID + 45)
87#define TRCID_LINUXOPS_MMAP_ENTER (LOCAL_TRCID + 46)
88#define TRCID_LINUXOPS_MMAP_ENTER_A (LOCAL_TRCID + 47)
89#define TRCID_LINUXOPS_MMAP_ENTER_A1  (LOCAL_TRCID + 48)
90#define TRCID_LINUXOPS_MMAP_ENTER_AB  (LOCAL_TRCID + 49)
91#define TRCID_LINUXOPS_MMAP_EXIT  (LOCAL_TRCID + 50)
92#define TRCID_LINUXOPS_OPEN_ENTER (LOCAL_TRCID + 51)
93#define TRCID_LINUXOPS_OPEN_01  (LOCAL_TRCID + 52)
94#define TRCID_LINUXOPS_OPEN_EXIT  (LOCAL_TRCID + 53)
95#define TRCID_LINUXOPS_CLOSE_ENTER  (LOCAL_TRCID + 54)
96#define TRCID_CLOSE_EXIT  (LOCAL_TRCID + 55)
97#define TRCID_LINUXOPS_FSYNC_ENTER  (LOCAL_TRCID + 56)
98#define TRCID_LINUXOPS_FSYNC_EXIT (LOCAL_TRCID + 57)
99#define TRCID_LINUXOPS_FASYNC_ENTER (LOCAL_TRCID + 58)
100#define TRCID_LINUXOPS_FASYNC_EXIT  (LOCAL_TRCID + 59)
101#define TRCID_LINUXOPS_LOCKCTL_ENTER  (LOCAL_TRCID + 60)
102#define TRCID_LINUXOPS_LOCKCTL_ENTER2 (LOCAL_TRCID + 61)
103#define TRCID_LINUXOPS_LOCKCTL_DIAG2  (LOCAL_TRCID + 62)
104#define TRCID_LINUXOPS_LOCKCTL_EXIT (LOCAL_TRCID + 63)
105#define TRCID_LINUX_FLOCK_ENTER (LOCAL_TRCID + 64)
106#define TRCID_LINUX_FLOCK_EXIT  (LOCAL_TRCID + 65)
107#define TRCID_LINUXOPS_RDWRINT_ENTER  (LOCAL_TRCID + 66)
108#define TRCID_LINUXOPS_RDWRINT_EXIT (LOCAL_TRCID + 67)
109#define TRCID_LINUXOPS_READ_DIR (LOCAL_TRCID + 68)
110#define TRCID_LINUXOPS_SHARE_ENTER  (LOCAL_TRCID + 69)
111#define TRCID_LINUXOPS_SHARE_RESET  (LOCAL_TRCID + 70)
112#define TRCID_LINUXOPS_SHARE_EXIT (LOCAL_TRCID + 71)
113#define TRCID_LINUXOPS_DELEGATE_ENTER (LOCAL_TRCID + 72)
114#define TRCID_LINUXOPS_DELEGATE_EXIT  (LOCAL_TRCID + 73)
115#define TRCID_PRINTINODE_1  (LOCAL_TRCID + 74)
116#define TRCID_PRINTINODE_2  (LOCAL_TRCID + 75)
117#define TRCID_PRINTINODE_4  (LOCAL_TRCID + 76)
118#define TRCID_PRINTINODE_5  (LOCAL_TRCID + 77)
119#define TRCID_PRINTINODE_6  (LOCAL_TRCID + 78)
120#define TRCID_PRINTINODE_7  (LOCAL_TRCID + 79)
121#define TRCID_PRINTINODE_8  (LOCAL_TRCID + 80)
122#define TRCID_PRINTINODE_9  (LOCAL_TRCID + 81)
123#define TRCID_PRINTDENTRY_1 (LOCAL_TRCID + 82)
124#define TRCID_PRINTDENTRY_2 (LOCAL_TRCID + 83)
125#define TRCID_PRINTDENTRY_3A  (LOCAL_TRCID + 84)
126#define TRCID_PRINTDENTRY_3B  (LOCAL_TRCID + 85)
127#define TRCID_PRINTDENTRY_4 (LOCAL_TRCID + 86)
128#define TRCID_PRINTDENTRY_5 (LOCAL_TRCID + 87)
129#define TRCID_LINUXOPS_SETINODE (LOCAL_TRCID + 88)
130#define TRCID_CXIINVA_PERM  (LOCAL_TRCID + 89)
131#define TRCID_LINUXOPS_CREATE_ENTER (LOCAL_TRCID + 90)
132#define TRCID_LINUXOPS_CREATE_EXIT  (LOCAL_TRCID + 91)
133#define TRCID_LINUXOPS_LOOKUP_ENTER (LOCAL_TRCID + 92)
134#define TRCID_LINUXOPS_LOOKUP_STALE (LOCAL_TRCID + 93)
135#define TRCID_LINUXOPS_LOOKUP_EXIT  (LOCAL_TRCID + 94)
136#define TRCID_LINUXOPS_LINK_ENTER (LOCAL_TRCID + 95)
137#define TRCID_LINUXOPS_LINK_EXIT  (LOCAL_TRCID + 96)
138#define TRCID_LINUXOPS_UNLINK_ENTER (LOCAL_TRCID + 97)
139#define TRCID_LINUXOPS_UNLINK_EXIT  (LOCAL_TRCID + 98)
140#define TRCID_LINUXOPS_SYMLINK1 (LOCAL_TRCID + 99)
141#define TRCID_LINUXOPS_SYMLINK2 (LOCAL_TRCID + 100)
142#define TRCID_LINUXOPS_SYMLINK_EXIT (LOCAL_TRCID + 101)
143#define TRCID_LINUXOPS_MKDIR_ENTER  (LOCAL_TRCID + 102)
144#define TRCID_LINUXOPS_MKDIR_EXIT (LOCAL_TRCID + 103)
145#define TRCID_LINUXOPS_RMDIR_ENTER  (LOCAL_TRCID + 104)
146#define TRCID_LINUXOPS_RMDIR_EXIT (LOCAL_TRCID + 105)
147#define TRCID_LINUXOPS_MKNOD_ENTER  (LOCAL_TRCID + 106)
148#define TRCID_LINUXOPS_MKNOD_EXIT (LOCAL_TRCID + 107)
149#define TRCID_LINUXOPS_RENAME_1 (LOCAL_TRCID + 108)
150#define TRCID_LINUXOPS_RENAME_EXIT  (LOCAL_TRCID + 109)
151#define TRCID_LINUXOPS_READLINK_ENTER (LOCAL_TRCID + 110)
152#define TRCID_LINUXOPS_READLINK_EXIT  (LOCAL_TRCID + 111)
153#define TRCID_LINUXOPS_FOLLOW_LINK_ENTER  (LOCAL_TRCID + 112)
154#define TRCID_LINUXOPS_FOLLOW_LINK_1  (LOCAL_TRCID + 113)
155#define TRCID_LINUXOPS_FOLLOW_LINK_2  (LOCAL_TRCID + 114)
156#define TRCID_LINUXOPS_PUTLINK  (LOCAL_TRCID + 115)
157#define TRCID_LINUXOPS_BMAP (LOCAL_TRCID + 116)
158#define TRCID_LINUXOPS_TRUNCATE (LOCAL_TRCID + 117)
159#define TRCID_LINUXOPS_ACCESS_ENTER (LOCAL_TRCID + 118)
160#define TRCID_LINUXOPS_ACCESS_EXIT  (LOCAL_TRCID + 119)
161#define TRCID_LINUXOPS_SMAP (LOCAL_TRCID + 120)
162#define TRCID_LINUXOPS_UPDATEPAGE (LOCAL_TRCID + 121)
163#define TRCID_LINUXOPS_REVALIDATE_ENTER (LOCAL_TRCID + 122)
164#define TRCID_LINUXOPS_REVALIDATE_STALE (LOCAL_TRCID + 123)
165#define TRCID_REVAL_DELAY (LOCAL_TRCID + 124)
166#define TRCID_REVAL_DELAY_END (LOCAL_TRCID + 125)
167#define TRCID_LINUXOPS_REVALIDATE_EXIT  (LOCAL_TRCID + 126)
168#define TRCID_LINUXOPS_SETATTR_ENTER  (LOCAL_TRCID + 127)
169#define TRCID_LINUXOPS_SETATTR_EXIT (LOCAL_TRCID + 128)
170#define TRCID_LINUXOPS_GETATTR_ENTER  (LOCAL_TRCID + 129)
171#define TRCID_LINUXOPS_GETATTR_EXIT (LOCAL_TRCID + 130)
172#define TRCID_LINUXOPS_GETEXTATTR_ENTER (LOCAL_TRCID + 131)
173#define TRCID_LINUXOPS_GETEXTATTR_EXIT0 (LOCAL_TRCID + 132)
174#define TRCID_LINUXOPS_GETEXTATTR_EXIT  (LOCAL_TRCID + 133)
175#define TRCID_LINUXOPS_GETEXTATTR_EXIT2 (LOCAL_TRCID + 134)
176#define TRCID_LINUXOPS_SETEXTATTR_ENTER (LOCAL_TRCID + 135)
177#define TRCID_LINUXOPS_SETEXTATTR_EXIT  (LOCAL_TRCID + 136)
178#define TRCID_LINUXOPS_LISTXATTR_IN (LOCAL_TRCID + 137)
179#define TRCID_LINUXOPS_LISTXTATTR_EXIT0 (LOCAL_TRCID + 138)
180#define TRCID_LINUXOPS_LISTXTATTR_EXIT  (LOCAL_TRCID + 139)
181#define TRCID_LINUXOPS_REMOVEXATTR_IN (LOCAL_TRCID + 140)
182#define TRCID_LINUXOPS_REMOVEXATTR_EXIT (LOCAL_TRCID + 141)
183#define TRCID_VNODE_BKL (LOCAL_TRCID + 142)
184#define TRCID_LINUXOPS_GPFS_ALLOC_INODE_EXIT  (LOCAL_TRCID + 143)
185#define TRCID_LINUXOPS_GPFS_DESTROY_INODE (LOCAL_TRCID + 144)
186#define TRCID_LINUXOPS_READINODE_ENTER  (LOCAL_TRCID + 145)
187#define TRCID_LINUXOPS_NEW_VNODE_1  (LOCAL_TRCID + 146)
188#define TRCID_LINUXOPS_READINODE_EXIT (LOCAL_TRCID + 147)
189#define TRCID_LINUXOPS_READINODE_EXIT_BAD (LOCAL_TRCID + 148)
190#define TRCID_LINUXOPS_READINODE_HUH  (LOCAL_TRCID + 149)
191#define TRCID_LINUXOPS_DELETE_INODE (LOCAL_TRCID + 150)
192#define TRCID_LINUXOPS_DELETE_INODE_1 (LOCAL_TRCID + 151)
193#define TRCID_LINUXOPS_NOTIFY_ENTER (LOCAL_TRCID + 152)
194#define TRCID_LINUXOPS_NOTIFY_EXIT  (LOCAL_TRCID + 153)
195#define TRCID_LINUXOPS_PUTSUPER_ENTER (LOCAL_TRCID + 154)
196#define TRCID_LINUXOPS_PUTSUPER_EXIT  (LOCAL_TRCID + 155)
197#define TRCID_LINUXOPS_STATFS_ENTER (LOCAL_TRCID + 156)
198#define TRCID_LINUXOPS_STATFS_EXIT  (LOCAL_TRCID + 157)
199#define TRCID_LINUXOPS_UMOUNT_ENTER (LOCAL_TRCID + 158)
200#define TRCID_LINUXOPS_UMOUNT_EXIT  (LOCAL_TRCID + 159)
201#define TRCID_LINUXOPS_REMOUNT  (LOCAL_TRCID + 160)
202#define TRCID_LINUXOPS_WRITEINODE (LOCAL_TRCID + 161)
203#define TRCID_LINUXOPS_CLEARINODE (LOCAL_TRCID + 162)
204#define TRCID_LINUXOPS_CLEARINODE_DETAILS (LOCAL_TRCID + 163)
205#define TRCID_LINUXOPS_CLEARINODE_EXIT  (LOCAL_TRCID + 164)
206#define TRCID_LINUXOPS_WRITESUPER (LOCAL_TRCID + 165)
207#define TRCID_LINUXOPS_WRITESUPER_3 (LOCAL_TRCID + 166)
208#define TRCID_LINUXOPS_WRITESUPER_5 (LOCAL_TRCID + 167)
209#define TRCID_LINUXOPS_GET_SB (LOCAL_TRCID + 168)
210#define TRCID_LINUXOPS_READSUPER_1  (LOCAL_TRCID + 169)
211#define TRCID_LINUXOPS_READSUPER_2  (LOCAL_TRCID + 170)
212#define TRCID_LINUXOPS_READSUPER_3  (LOCAL_TRCID + 171)
213#define TRCID_LINUXOPS_READSUPER_OPTIONS  (LOCAL_TRCID + 172)
214#define TRCID_LINUXOPS_READSUPER_STARTHELPER  (LOCAL_TRCID + 173)
215#define TRCID_LINUXOPS_READSUPER_STARTHELPER1 (LOCAL_TRCID + 174)
216#define TRCID_LINUXOPS_READSUPER_HELPERRC (LOCAL_TRCID + 175)
217#define TRCID_LINUXOPS_READSUPER_SUCCEED  (LOCAL_TRCID + 176)
218#define TRCID_LINUXOPS_READSUPER_FAILED (LOCAL_TRCID + 177)
219#define TRCID_LINUXOPS_REGFS  (LOCAL_TRCID + 178)
220#define TRCID_LINUXOPS_UNREGFS  (LOCAL_TRCID + 179)
221#define TRCID_LINUXOPS_KILLMMFSD  (LOCAL_TRCID + 180)
222#define TRCID_LINUXOPS_EXECMMFS_EXIT  (LOCAL_TRCID + 181)
223#define TRCID_LINUXOPS_FORK_MOUNTHELPER (LOCAL_TRCID + 182)
224#define TRCID_SET_MOUNT_INFO  (LOCAL_TRCID + 183)
225#define TRCID_LINUXOPS_CXIUNMOUNT_ENTER (LOCAL_TRCID + 184)
226#define TRCID_LINUXOPS_CXIUNMOUNT_EXIT  (LOCAL_TRCID + 185)
227#define TRCID_LINUXOPS_REACTIVATE_VNODE (LOCAL_TRCID + 186)
228#define TRCID_LINUXOPS_INODEFINDACTOR (LOCAL_TRCID + 187)
229#define TRCID_LINUXOPS_INODEFINDACTOR2  (LOCAL_TRCID + 188)
230#define TRCID_LINUXOPS_NEW_VNODE  (LOCAL_TRCID + 189)
231#define TRCID_LINUXOPS_NEW_BAD  (LOCAL_TRCID + 190)
232#define TRCID_LINUXOPS_NEW_VNODE_2  (LOCAL_TRCID + 191)
233#define TRCID_LINUXOPS_NEW_VNODE_EXIT (LOCAL_TRCID + 192)
234#define TRCID_LINUXOPS_NEW_VNODE_BAD  (LOCAL_TRCID + 193)
235#define TRCID_LINUXOPS_DELETE_VNODE (LOCAL_TRCID + 194)
236#define TRCID_LINUXOPS_DELETE_MMAP  (LOCAL_TRCID + 195)
237#define TRCID_LINUXOPS_REINIT_VNODE (LOCAL_TRCID + 196)
238#define TRCID_LINUXOPS_DUMP_VNODE (LOCAL_TRCID + 197)
239#define TRCID_LINUXOPS_IGRABINODEFINDACTOR  (LOCAL_TRCID + 198)
240#define TRCID_LINUXOPS_REF_VNODE  (LOCAL_TRCID + 199)
241#define TRCID_LINUXOPS_INACTIVE_VNODE (LOCAL_TRCID + 200)
242#define TRCID_LINUXOPS_PUT_OSNODE (LOCAL_TRCID + 201)
243#define TRCID_LINUXOPS_DESTROY_OSNODE (LOCAL_TRCID + 202)
244#define TRCID_CXIUPDATE_INODE_3 (LOCAL_TRCID + 203)
245#define TRCID_CXIUPDATE_INODE_1 (LOCAL_TRCID + 204)
246#define TRCID_LINUXOPS_CANUNCACHE_OSNODE  (LOCAL_TRCID + 205)
247#define TRCID_LINUXOPS_ADD_OSNODE (LOCAL_TRCID + 206)
248#define TRCID_LINUXOPS_LOCFS_ENTER  (LOCAL_TRCID + 207)
249#define TRCID_LINUXOPS_LOCFS_EXIT (LOCAL_TRCID + 208)
250#define TRCID_NFSD_IGET_DENTRY_1  (LOCAL_TRCID + 209)
251#define TRCID_NFSD_IGET_31  (LOCAL_TRCID + 210)
252#define TRCID_NFSD_IGET_41  (LOCAL_TRCID + 211)
253#define TRCID_NFSD_IGET_3 (LOCAL_TRCID + 212)
254#define TRCID_NFSD_IGET_4 (LOCAL_TRCID + 213)
255#define TRCID_NFSD_IGET_5 (LOCAL_TRCID + 214)
256#define TRCID_NFSD_IGET_6 (LOCAL_TRCID + 215)
257#define TRCID_NFSD_IGET_7 (LOCAL_TRCID + 216)
258#define TRCID_NFSD_IGET_8 (LOCAL_TRCID + 217)
259#define TRCID_NFSD_IGET_9 (LOCAL_TRCID + 218)
260#define TRCID_NFSD_IGET_10  (LOCAL_TRCID + 219)
261#define TRCID_NFSD_IGET_1 (LOCAL_TRCID + 220)
262#define TRCID_NFSD_IGET_BAD (LOCAL_TRCID + 221)
263#define TRCID_NFSD_IGET_2 (LOCAL_TRCID + 222)
264#define TRCID_GET_DPARENT_ENTER (LOCAL_TRCID + 223)
265#define TRCID_GET_DPARENT_EXIT  (LOCAL_TRCID + 224)
266#define TRCID_DECODE_FH_1 (LOCAL_TRCID + 225)
267#define TRCID_DECODE_FH_2 (LOCAL_TRCID + 226)
268#define TRCID_DECODE_FH_3 (LOCAL_TRCID + 227)
269#define TRCID_FH_TO_DENTRY_1  (LOCAL_TRCID + 228)
270#define TRCID_FH_TO_DENTRY_2  (LOCAL_TRCID + 229)
271#define TRCID_FH_TO_DENTRY_3  (LOCAL_TRCID + 230)
272#define TRCID_FCNTLLOCK_ENTER (LOCAL_TRCID + 231)
273#define TRCID_FCNTLLOCK_GETLK (LOCAL_TRCID + 232)
274#define TRCID_FCNTLLOCK_EXIT  (LOCAL_TRCID + 233)
275#define TRCID_SLEEP (LOCAL_TRCID + 234)
276#define TRCID_SLEEP_END (LOCAL_TRCID + 235)
277#define TRCID_OPENNFS (LOCAL_TRCID + 236)
278#define TRCID_CXISTART_KPROC_LINUX  (LOCAL_TRCID + 237)
279#define TRCID_CXISTOP_KPROC_LINUX (LOCAL_TRCID + 238)
280#define TRCID_PANIC (LOCAL_TRCID + 239)
281#define TRCID_MODULE_LOGASSERT_1  (LOCAL_TRCID + 240)
282#define TRCID_MODULE_LOGASSERT_2  (LOCAL_TRCID + 241)
283#define TRCID_CXISYSTEM_037 (LOCAL_TRCID + 242)
284#define TRCID_CXISYSTEM_039a  (LOCAL_TRCID + 243)
285#define TRCID_CXISYSTEM_039 (LOCAL_TRCID + 244)
286#define TRCID_CXISYSTEM_041a  (LOCAL_TRCID + 245)
287#define TRCID_CXISYSTEM_041 (LOCAL_TRCID + 246)
288#define TRCID_CXISYSTEM_CHKTYPES  (LOCAL_TRCID + 247)
289#define TRCID_BM_INIT (LOCAL_TRCID + 248)
290#define TRCID_BM_ACQ  (LOCAL_TRCID + 249)
291#define TRCID_BM_ACQ_EXIT (LOCAL_TRCID + 250)
292#define TRCID_BM_REL  (LOCAL_TRCID + 251)
293#define TRCID_BM_TERM (LOCAL_TRCID + 252)
294#define TRCID_CXISYSTEM_017 (LOCAL_TRCID + 253)
295#define TRCID_CXISYSTEM_018 (LOCAL_TRCID + 254)
296#define TRCID_CXISYSTEM_EVENT_WAIT_ENTER  (LOCAL_TRCID + 255)
297#define TRCID_CXISYSTEM_EVENT_WAIT_EXIT (LOCAL_TRCID + 256)
298#define TRCID_CXISYSTEM_SIGNAL  (LOCAL_TRCID + 257)
299#define TRCID_CXISYSTEM_WAKEUP_ONE  (LOCAL_TRCID + 258)
300#define TRCID_CXISYSTEM_BROADCAST (LOCAL_TRCID + 259)
301#define TRCID_CXISYSTEM_BROADCAST_RC  (LOCAL_TRCID + 260)
302#define TRCID_CXICHECKOPEN_ENTRY  (LOCAL_TRCID + 261)
303#define TRCID_CXICHECKOPEN_FOUND  (LOCAL_TRCID + 262)
304#define TRCID_SEND_BREAK  (LOCAL_TRCID + 263)
305#define TRCID_BREAKWAIT (LOCAL_TRCID + 264)
306#define TRCID_BREAKWAIT_EXIT  (LOCAL_TRCID + 265)
307#define TRCID_DMS_STARTED (LOCAL_TRCID + 267)
308#define TRCID_DMS_STOPPED (LOCAL_TRCID + 268)
309#define TRCID_CXIREGISTERCLEANUP_EXIT (LOCAL_TRCID + 269)
310#define TRCID_FDDISCARD1  (LOCAL_TRCID + 270)
311#define TRCID_FDDISCARD2  (LOCAL_TRCID + 271)
312#define TRCID_FDENTRY (LOCAL_TRCID + 272)
313#define TRCID_IMPLIED_EXIT  (LOCAL_TRCID + 273)
314#define TRCID_NEWMAX_EXTEND (LOCAL_TRCID + 274)
315#define TRCID_NEWMAX  (LOCAL_TRCID + 275)
316#define TRCID_FDEXIT  (LOCAL_TRCID + 276)
317#define TRCID_FDEXIT_NOTFOUND (LOCAL_TRCID + 277)
318#define TRCID_KTRACE_LINUX_ENTER  (LOCAL_TRCID + 278)
319#define TRCID_KTRACE_LINUX_EXIT (LOCAL_TRCID + 279)
320#define TRCID_KIBD_NEW  (LOCAL_TRCID + 280)
321#define TRCID_KIBD_DELETE (LOCAL_TRCID + 281)
322#define TRCID_DEALLOC_KIBD_1  (LOCAL_TRCID + 282)
323#define TRCID_DEALLOC_KIBD_2  (LOCAL_TRCID + 283)
324#define TRCID_ALLOC_KIBD_1  (LOCAL_TRCID + 284)
325#define TRCID_ALLOC_KIBD_2  (LOCAL_TRCID + 285)
326#define TRCID_KIBD_INIT (LOCAL_TRCID + 286)
327#define TRCID_KIBD_TERM (LOCAL_TRCID + 287)
328#define TRCID_BHC_CACHE_DESTROY (LOCAL_TRCID + 288)
329#define TRCID_KIBD_CACHE_DESTROY  (LOCAL_TRCID + 289)
330#define TRCID_KIBDPIN_ENTER (LOCAL_TRCID + 290)
331#define TRCID_KIBDPIN_EXIT  (LOCAL_TRCID + 291)
332#define TRCID_KIBD_UNPIN_ALL_ENTER  (LOCAL_TRCID + 292)
333#define TRCID_KIBD_UNPIN_ALL_EXIT (LOCAL_TRCID + 293)
334#define TRCID_ATTACH_ENTER  (LOCAL_TRCID + 294)
335#define TRCID_ATTACH_KIBD (LOCAL_TRCID + 295)
336#define TRCID_DETACH_KIBD (LOCAL_TRCID + 296)
337#define TRCID_UXFER_LINUX (LOCAL_TRCID + 297)
338#define TRCID_UXFER_UIOMOVE (LOCAL_TRCID + 298)
339#define TRCID_XMEMXFER_LINUX  (LOCAL_TRCID + 299)
340#define TRCID_XMEMFER_COPY  (LOCAL_TRCID + 300)
341#define TRCID_KXFER_LINUX (LOCAL_TRCID + 301)
342#define TRCID_KXFER_MEMCPY  (LOCAL_TRCID + 302)
343#define TRCID_KZERO_LINUX (LOCAL_TRCID + 303)
344#define TRCID_KZERO_MEMSET  (LOCAL_TRCID + 304)
345#define TRCID_MAP_DISCONTIG_ENTER (LOCAL_TRCID + 305)
346#define TRCID_MAP_DISCONTIG_KMAP  (LOCAL_TRCID + 306)
347#define TRCID_UNMAP_DISCONTIG_ENTER (LOCAL_TRCID + 307)
348#define TRCID_UNMAP_DISCONTIG_KUNMAP  (LOCAL_TRCID + 308)
349#define TRCID_MAP_CONTIG_ENTER  (LOCAL_TRCID + 309)
350#define TRCID_MAP_CONTIG_KMAP (LOCAL_TRCID + 310)
351#define TRCID_MAP_CONTIG_VMALLOC  (LOCAL_TRCID + 311)
352#define TRCID_UNMAP_CONTIG_VFREE  (LOCAL_TRCID + 312)
353#define TRCID_UNMAP_CONTIG_KUNMAP (LOCAL_TRCID + 313)
354#define TRCID_KDOIO_LINUX (LOCAL_TRCID + 314)
355#define TRCID_KDOIO_LINUX_BH_PAGENUM  (LOCAL_TRCID + 315)
356#define TRCID_KDOIO_LINUX_BH  (LOCAL_TRCID + 316)
357#define TRCID_DISKINFO  (LOCAL_TRCID + 317)
358#define TRCID_KDOIO_LINUX_BIO (LOCAL_TRCID + 318)
359#define TRCID_KDOIO_LINUX_BIO_PAGENUM (LOCAL_TRCID + 319)
360#define TRCID_KDOIO_LINUX_BIO_PAGE  (LOCAL_TRCID + 320)
361#define TRCID_GET_DISKINFOX (LOCAL_TRCID + 321)
362#define TRCID_KWAITIO_BIO (LOCAL_TRCID + 322)
363#define TRCID_KWAITIO_BH  (LOCAL_TRCID + 323)
364#define TRCID_KWAITIO_BIO_ERR (LOCAL_TRCID + 324)
365#define TRCID_KWAITIO_BH_ERR  (LOCAL_TRCID + 325)
366#define TRCID_KWAITIO_BH_BUSY (LOCAL_TRCID + 326)
367#define TRCID_LINUXOPS_TSSTAT_ENTER (LOCAL_TRCID + 327)
368#define TRCID_LINUXOPS_TSSTAT_EXIT  (LOCAL_TRCID + 328)
369#define TRCID_LINUXOPS_TSFSTAT_ENTER  (LOCAL_TRCID + 329)
370#define TRCID_LINUXOPS_TSFSTAT_EXIT (LOCAL_TRCID + 330)
371#define TRCID_LINUXOPS_TSFATTR_ENTER  (LOCAL_TRCID + 331)
372#define TRCID_LINUXOPS_TSFATTR_EXIT (LOCAL_TRCID + 332)
373#define TRCID_LINUXOPS_TSFSATTR_ENTER (LOCAL_TRCID + 333)
374#define TRCID_LINUXOPS_TSFSATTR_EXIT  (LOCAL_TRCID + 334)
375#define TRCID_LINUXOPS_TSATTR_ENTER (LOCAL_TRCID + 335)
376#define TRCID_LINUXOPS_TSATTR_EXIT  (LOCAL_TRCID + 336)
377#define TRCID_LINUXOPS_KXGETACL_EXIT  (LOCAL_TRCID + 337)
378#define TRCID_LINUXOPS_KXPUTACL_EXIT  (LOCAL_TRCID + 338)
379#define TRCID_SMBOPENLOCKCONTROL_ENTERL (LOCAL_TRCID + 339)
380#define TRCID_SMBOPENLOCKCONTROL_EXITL  (LOCAL_TRCID + 340)
381#define TRCID_LINUXOPS_SETSMBOPLOCK_E (LOCAL_TRCID + 341)
382#define TRCID_LINUXOPS_SETSMBOPLOCK_X (LOCAL_TRCID + 342)
383#define TRCID_LINUX_SHARE_ENTER (LOCAL_TRCID + 343)
384#define TRCID_SHARE_RESET (LOCAL_TRCID + 344)
385#define TRCID_LINUX_SHARE_EXIT  (LOCAL_TRCID + 345)
386#define TRCID_DELEGATE_ENTER  (LOCAL_TRCID + 346)
387#define TRCID_DELEGATE_EXIT (LOCAL_TRCID + 347)
388#define TRCID_KXUMOUNT_ENT  (LOCAL_TRCID + 348)
389#define TRCID_KXUMOUNT_EXT  (LOCAL_TRCID + 349)
390#define TRCID_SS_019  (LOCAL_TRCID + 350)
391#define TRCID_SS_023  (LOCAL_TRCID + 351)
392#define TRCID_SS_059  (LOCAL_TRCID + 352)
393#define TRCID_SS_065  (LOCAL_TRCID + 353)
394#define TRCID_SS_075  (LOCAL_TRCID + 354)
395#define TRCID_SS_077  (LOCAL_TRCID + 355)
396#define TRCID_SS_081  (LOCAL_TRCID + 356)
397#define TRCID_SS_083  (LOCAL_TRCID + 357)
398#define TRCID_UNPROT_ENTER  (LOCAL_TRCID + 358)
399#define TRCID_REPROT_ENTER  (LOCAL_TRCID + 359)
400#define TRCID_SHKERN_INIT (LOCAL_TRCID + 360)
401#define TRCID_CALC_MAX_SHARED (LOCAL_TRCID + 361)
402#define TRCID_ALLOC_SHARED_VMALLOC  (LOCAL_TRCID + 362)
403#define TRCID_ALLOC_SHARED_EXIT (LOCAL_TRCID + 363)
404#define TRCID_FREEALL_VFREE (LOCAL_TRCID + 364)
405#define TRCID_MAPALL_MULTI  (LOCAL_TRCID + 365)
406#define TRCID_UNMAPALL_MULTI  (LOCAL_TRCID + 366)
407#define TRCID_SSINIT_003  (LOCAL_TRCID + 367)
408#define TRCID_CXI_MAP_PRIVATE (LOCAL_TRCID + 368)
409#define TRCID_MMAP_DIRTY_PAGE_DUMP  (LOCAL_TRCID + 369)
410#define TRCID_MMAP_DIRTY_PAGE_DUMP_A  (LOCAL_TRCID + 370)
411#define TRCID_MMAP_DIRTY_PAGE_DUMP_B  (LOCAL_TRCID + 371)
412#define TRCID_MMAP_REG_ENTER  (LOCAL_TRCID + 372)
413#define TRCID_MMAP_UNREG_ENTER  (LOCAL_TRCID + 373)
414#define TRCID_MMAP_FILEPOS_ENTER  (LOCAL_TRCID + 374)
415#define TRCID_MMAP_IO_ENTER (LOCAL_TRCID + 375)
416#define TRCID_MMAP_IO_EXIT  (LOCAL_TRCID + 376)
417#define TRCID_MMAP_FLUSH_ENTER  (LOCAL_TRCID + 377)
418#define TRCID_MMAP_FLUSH_EXIT (LOCAL_TRCID + 378)
419#define TRCID_CXIGETPAGE  (LOCAL_TRCID + 379)
420#define TRCID_CXIRELPAGE  (LOCAL_TRCID + 380)
421#define TRCID_LINUXOPS_NOPAGE (LOCAL_TRCID + 381)
422#define TRCID_LINUXOPS_NOPAGE_1 (LOCAL_TRCID + 382)
423#define TRCID_LINUXOPS_NOPAGE_2 (LOCAL_TRCID + 383)
424#define TRCID_LINUXOPS_NOPAGE_3 (LOCAL_TRCID + 384)
425#define TRCID_LINUXOPS_NOPAGEDONE (LOCAL_TRCID + 385)
426#define TRCID_LINUXOPS_READPAGE_ENTER (LOCAL_TRCID + 386)
427#define TRCID_LINUXOPS_READPAGE_ENTER_A (LOCAL_TRCID + 387)
428#define TRCID_LINUXOPS_READPAGE1  (LOCAL_TRCID + 388)
429#define TRCID_LINUXOPS_READPAGE_EXIT  (LOCAL_TRCID + 389)
430#define TRCID_LINUXOPS_WRPAGE_ENTER (LOCAL_TRCID + 390)
431#define TRCID_LINUXOPS_WRPAGE_ENTER_A (LOCAL_TRCID + 391)
432#define TRCID_LINUXOPS_WRPAGE_EXIT  (LOCAL_TRCID + 392)
433#define TRCID_LINUXOPS_ACL2POSIX_ENTER  (LOCAL_TRCID + 393)
434#define TRCID_LINUXOPS_ACL2POSIX_2  (LOCAL_TRCID + 394)
435#define TRCID_LINUXOPS_ACL2POSIX  (LOCAL_TRCID + 395)
436#define TRCID_LINUXOPS_ACL2POSIX_EXIT (LOCAL_TRCID + 396)
437#define TRCID_LINUXOPS_POSIX2ACL  (LOCAL_TRCID + 397)
438#define TRCID_LINUXOPS_SETACLATTR_ENTER (LOCAL_TRCID + 398)
439#define TRCID_LINUXOPS_SETACLATTR_EXIT  (LOCAL_TRCID + 399)
440#define TRCID_LINUXOPS_GETACLATTR_ENTER (LOCAL_TRCID + 400)
441#define TRCID_LINUXOPS_GETACLATTR_EXIT  (LOCAL_TRCID + 401)
442#define TRCID_KTRACE_LINUX_EXIT_RC  (LOCAL_TRCID + 402)
443#define TRCID_PRINTSUPER_1  (LOCAL_TRCID + 403)
444#define TRCID_PRINTSUPER_5  (LOCAL_TRCID + 404)
445#define TRCID_PRINTALLSUPER_1 (LOCAL_TRCID + 405)
446#define TRCID_PRINTALLSUPER_5 (LOCAL_TRCID + 406)
447#define TRCID_PRINTSUPER_3  (LOCAL_TRCID + 407)
448#define TRCID_CXISYSTEM_EVENT_WAIT_INTERRUPTED  (LOCAL_TRCID + 408)
449#define TRCID_LINUXOPS_SENDFILE_ENTER (LOCAL_TRCID + 409)
450#define TRCID_LINUXOPS_SENDFILE_EXIT  (LOCAL_TRCID + 410)
451#define TRCID_LINUXOPS_GET_DEVICELIST_ENTER (LOCAL_TRCID + 411)
452#define TRCID_GET_DEVICELIST_EXIT (LOCAL_TRCID + 412)
453#define TRCID_LINUXOPS_GET_LAYOUT_ENTER (LOCAL_TRCID + 413)
454#define TRCID_GET_LAYOUT_EXIT (LOCAL_TRCID + 414)
455#define TRCID_LINUXOPS_SET_STATEID_ENTER  (LOCAL_TRCID + 415)
456#define TRCID_SET_STETEID_EXIT  (LOCAL_TRCID + 416)
457#define TRCID_LINUXOPS_LAYOUT_RET_ENTER (LOCAL_TRCID + 417)
458#define TRCID_LAYOUT_RET_EXIT (LOCAL_TRCID + 418)
459#define TRCID_LINUXOPS_GET_DEVICEINFO_ENTER (LOCAL_TRCID + 419)
460#define TRCID_GET_DEVICEINFO_EXIT (LOCAL_TRCID + 420)
461#define TRCID_PRINTDENTRY_3C  (LOCAL_TRCID + 421)
462#define TRCID_LINUXOPS_TSQUOTACTL_K (LOCAL_TRCID + 422)
463#define TRCID_LINUXOPS_TSQUOTACTL_K1  (LOCAL_TRCID + 423)
464#define TRCID_LINUXOPS_TSQUOTACTL_K2  (LOCAL_TRCID + 424)
465#define TRCID_LINUXOPS_TSQUOTACTL_K6  (LOCAL_TRCID + 425)
466#define TRCID_LINUXOPS_TSQUOTACTL_K7  (LOCAL_TRCID + 426)
467#define TRCID_LINUXOPS_TSQUOTACTL_EXIT  (LOCAL_TRCID + 427)
468#define TRCID_MMAP_REG_5  (LOCAL_TRCID + 428)
469#define TRCID_CXI_GET_DEVICELIST_P1 (LOCAL_TRCID + 429)
470#define TRCID_CXI_GET_DEVICELIST_EXIT (LOCAL_TRCID + 430)
471#define TRCID_GPFSOPS_GET_DEVICELINFO_P1  (LOCAL_TRCID + 431)
472#define TRCID_CXI_GET_DEVICELINFO_EXIT  (LOCAL_TRCID + 432)
473#define TRCID_CXI_GET_LAYOUT_ENTER  (LOCAL_TRCID + 433)
474#define TRCID_CXI_GET_LAYOUT_P1 (LOCAL_TRCID + 434)
475#define TRCID_CXI_GET_LAYOUT_EXIT (LOCAL_TRCID + 435)
476#define TRCID_LINUXOPS_LEASE_ENTER  (LOCAL_TRCID + 436)
477#define TRCID_LINUXOPS_LEASE_EXIT (LOCAL_TRCID + 437)
478#define TRCID_CXIBREAKOPLOCK  (LOCAL_TRCID + 438)
479#define TRCID_NFS_ERROR (LOCAL_TRCID + 439)
480#define TRCID_NFS_ERROR_1 (LOCAL_TRCID + 440)
481#define TRCID_PRODVER_MISMATCH  (LOCAL_TRCID + 441)
482#define TRCID_STEMCRVER_MISMATCH  (LOCAL_TRCID + 442)
483#define TRCID_SS_DMAPI_COMPAT_ENTER (LOCAL_TRCID + 443)
484#define TRCID_SS_DMAPI_COMPAT_EXIT  (LOCAL_TRCID + 444)
485
486/* Generated trace calls */
487
488#ifdef __64BIT__
489
490#define TRACE_TRCID_CXIINC_COUNTER_CALL \
491    _TRACE2D(_HOOKWORD(TRCID_CXIINC_COUNTER), (Int64)(ibmModule), (Int64)(up));
492#define TRACE_TRCID_GPFSINIT_000_CALL \
493    _STrace(_HOOKWORD(TRCID_GPFSINIT_000), 1, 0, prog_path, (Int64)(strlen(prog_path)));
494#define TRACE_TRCID_PORTINIT_001_CALL \
495    _STrace(_HOOKWORD(TRCID_PORTINIT_001), 0, 0, prog_path == NULL ? "NULL" : prog_path);
496#define TRACE_TRCID_FBREAD_ENTER_CALL \
497    _TRACE3D(_HOOKWORD(TRCID_FBREAD_ENTER), (Int64)(file), (Int64)(buf), (Int64)(nbytes));
498#define TRACE_TRCID_FBREAD_EXIT_CALL \
499    _TRACE1D(_HOOKWORD(TRCID_FBREAD_EXIT), (Int64)(written));
500#define TRACE_TRCID_FBWRITE_ENTER_CALL \
501    _TRACE3D(_HOOKWORD(TRCID_FBWRITE_ENTER), (Int64)(file), (Int64)(buf), (Int64)(nbytes));
502#define TRACE_TRCID_FBOPEN_ENTER_CALL \
503    _TRACE2D(_HOOKWORD(TRCID_FBOPEN_ENTER), (Int64)(inode), (Int64)(file));
504#define TRACE_TRCID_FBOPEN_EXIT_CALL \
505    _TRACE3D(_HOOKWORD(TRCID_FBOPEN_EXIT), (Int64)(bdP), (Int64)(openers), (Int64)(count));
506#define TRACE_TRCID_FBRELEASE_ENTER_CALL \
507    _TRACE2D(_HOOKWORD(TRCID_FBRELEASE_ENTER), (Int64)(inode), (Int64)(file));
508#define TRACE_TRCID_FBRELEASE_EXIT_CALL \
509    _TRACE3D(_HOOKWORD(TRCID_FBRELEASE_EXIT), (Int64)(bdP), (Int64)(openers), (Int64)(count));
510#define TRACE_TRCID_FBIOCTL_ENTER_CALL \
511    _TRACE4D(_HOOKWORD(TRCID_FBIOCTL_ENTER), (Int64)(inode), (Int64)(file), (Int64)(p1), (Int64)(p2));
512#define TRACE_TRCID_BOPEN_ENTER_CALL \
513    _TRACE2D(_HOOKWORD(TRCID_BOPEN_ENTER), (Int64)(inode), (Int64)(file));
514#define TRACE_TRCID_BOPEN_EXIT_CALL \
515    _TRACE3D(_HOOKWORD(TRCID_BOPEN_EXIT), (Int64)(bdP), (Int64)(openers), (Int64)(count));
516#define TRACE_TRCID_BRELEASE_ENTER_CALL \
517    _TRACE2D(_HOOKWORD(TRCID_BRELEASE_ENTER), (Int64)(inode), (Int64)(file));
518#define TRACE_TRCID_BRELEASE_EXIT_CALL \
519    _TRACE3D(_HOOKWORD(TRCID_BRELEASE_EXIT), (Int64)(bdP), (Int64)(openers), (Int64)(count));
520#define TRACE_TRCID_BIOCTL_ENTER_CALL \
521    _TRACE4D(_HOOKWORD(TRCID_BIOCTL_ENTER), (Int64)(inode), (Int64)(file), (Int64)(p1), (Int64)(p2));
522#define TRACE_TRCID_BLOCK_011_CALL \
523    _TRACE2D(_HOOKWORD(TRCID_BLOCK_011), (Int64)(GPFSFileSysMajorNumber), (Int64)(rc));
524#define TRACE_TRCID_BLOCK_013_CALL \
525    _TRACE2D(_HOOKWORD(TRCID_BLOCK_013), (Int64)(GPFSFileSysMajorNumber), (Int64)(rc));
526#define TRACE_TRCID_BLOCK_015_CALL \
527    _TRACE2D(_HOOKWORD(TRCID_BLOCK_015), (Int64)(GPFSFileSysMajorNumber), (Int64)(rc));
528#define TRACE_TRCID_PRUNE_DCACHE_CALL \
529    _TRACE2D(_HOOKWORD(TRCID_PRUNE_DCACHE), (Int64)(iP), (Int64)(iP->i_ino));
530#define TRACE_TRCID_PRUNE_DCACHE_ALIAS_CALL \
531    _STraceNB(_HOOKWORD(TRCID_PRUNE_DCACHE_ALIAS), 4, 4, (Int64)(iP), (Int64)(iP->i_ino), (Int64)(dentry), (Int64)(hasSubdirs), dentry->d_name.name);
532#define TRACE_TRCID_INVAL_DCACHE_CALL \
533    _TRACE2D(_HOOKWORD(TRCID_INVAL_DCACHE), (Int64)(iP), (Int64)(iP->i_ino));
534#define TRACE_TRCID_INVAL_DCACHE_ALIAS_CALL \
535    _STraceNB(_HOOKWORD(TRCID_INVAL_DCACHE_ALIAS), 3, 3, (Int64)(iP), (Int64)(iP->i_ino), (Int64)(dentry), dentry->d_name.name);
536#define TRACE_TRCID_DROP_INVAL_DCACHE_CALL \
537    _TRACE2D(_HOOKWORD(TRCID_DROP_INVAL_DCACHE), (Int64)(iP), (Int64)(iP->i_ino));
538#define TRACE_TRCID_DROP_INVAL_DCACHE_ALIAS_CALL \
539    _STraceNB(_HOOKWORD(TRCID_DROP_INVAL_DCACHE_ALIAS), 3, 3, (Int64)(iP), (Int64)(iP->i_ino), (Int64)(dentry), dentry->d_name.name);
540#define TRACE_TRCID_INVAL_NEG_DCACHE_CALL \
541    _TRACE2D(_HOOKWORD(TRCID_INVAL_NEG_DCACHE), (Int64)(iP), (Int64)(iP->i_ino));
542#define TRACE_TRCID_INVAL_NEG_DUNCACHE_CALL \
543    _XTraceNB(_HOOKWORD(TRCID_INVAL_NEG_DUNCACHE), "cxiInvalidateNegDCacheEntry: ip 0x%lX ino %d "                 "%s dentry 0x%lX name '%s'", (Int64)(iP), (Int64)(iP->i_ino), !child->d_inode ? "inval" : "reval", (Int64)(child), child->d_name.name);
544#define TRACE_TRCID_DIR_001_CALL \
545    _STrace(_HOOKWORD(TRCID_DIR_001), 2, 2, (Int64)(dentry), (Int64)(dentry->d_inode), dentry->d_name.name);
546#define TRACE_TRCID_DIR_REVALIDATE_CALL \
547    _STrace(_HOOKWORD(TRCID_DIR_REVALIDATE), 5, 5, (Int64)(dentry), (Int64)(dentry->d_inode), (Int64)(dentry->d_inode ? dentry->d_inode->i_ino : -1), (Int64)(dentry->d_parent), (Int64)(current->fs->pwd), dentry->d_name.name);
548#define TRACE_TRCID_DIR_REVALIDATE_EX_CALL \
549    _TRACE2D(_HOOKWORD(TRCID_DIR_REVALIDATE_EX), (Int64)(dentry), (Int64)(rc));
550#define TRACE_TRCID_DIR_VALID_IF_SAMBA_CALL \
551    _XTrace(_HOOKWORD(TRCID_DIR_VALID_IF_SAMBA), "gpfs_d_valid_if_Samba: dentry 0x%lX "            "d_inode 0x%lX (name '%s') returns %s\n", (Int64)(dentry), (Int64)(dentry->d_inode), dentry->d_name.name, (cxiIsSambaThread() ? "true" : "false"));
552#define TRACE_TRCID_DIR_INVALID_IF_SAMBA_CALL \
553    _XTrace(_HOOKWORD(TRCID_DIR_INVALID_IF_SAMBA), "gpfs_d_invalid_if_Samba: dentry 0x%lX "            "d_inode 0x%lX (name '%s') returns %s\n", (Int64)(dentry), (Int64)(dentry->d_inode), dentry->d_name.name, (cxiIsSambaThread() ? "false" : "true"));
554#define TRACE_TRCID_LINUXOPS_LLSEEK_ENTER_CALL \
555    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_LLSEEK_ENTER), (Int64)(fP), (Int64)(offset), (Int64)(origin));
556#define TRACE_TRCID_LINUXOPS_LLSEEK_EXIT_CALL \
557    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_LLSEEK_EXIT), (Int64)(fP), (Int64)(offset), (Int64)(origin), (Int64)(rc));
558#define TRACE_TRCID_LINUXOPS_READDIR_ENTER_CALL \
559    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READDIR_ENTER), (Int64)(fP), (Int64)(direntP), (Int64)(filldir), (Int64)(fP->f_pos));
560#define TRACE_TRCID_LINUXOPS_READDIR_EXIT_CALL \
561    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_READDIR_EXIT), (Int64)(fP), (Int64)(fP->f_pos), (Int64)(rc));
562#define TRACE_TRCID_LINUXOPS_POLL_CALL \
563    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_POLL), (Int64)(fP));
564#define TRACE_TRCID_LINUXOPS_IOCTL_CALL \
565    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_IOCTL), (Int64)(iP), (Int64)(fP), (Int64)(cmd));
566#define TRACE_TRCID_FM_OPEN_CALL \
567    _STrace(_HOOKWORD(TRCID_FM_OPEN), 3, 3, (Int64)(vma), (Int64)(inode->i_ino), (Int64)(atomic_read((atomic_t *)&inode->i_count)), file->f_dentry? file->f_dentry->d_name.name: (const unsigned char*)"");
568#define TRACE_TRCID_FM_OPEN_1_CALL \
569    _TRACE2D(_HOOKWORD(TRCID_FM_OPEN_1), (Int64)(mm), (Int64)(atomic_read(&mm->mm_users)));
570#define TRACE_TRCID_FM_OPEN_EXIT_CALL \
571    _TRACE2D(_HOOKWORD(TRCID_FM_OPEN_EXIT), (Int64)(vma), (Int64)(atomic_read((atomic_t *)&inode->i_count)));
572#define TRACE_TRCID_FM_CLOSE_ENTER_CALL \
573    _TRACE3D(_HOOKWORD(TRCID_FM_CLOSE_ENTER), (Int64)(vma), (Int64)(inode), (Int64)((Int32)atomic_read((atomic_t *)&inode->i_count)));
574#define TRACE_TRCID_FM_CLOSE_ENTER1_CALL \
575    _STrace(_HOOKWORD(TRCID_FM_CLOSE_ENTER1), 2, 1, (Int64)(inode->i_ino), fP->f_dentry? fP->f_dentry->d_name.name: (const unsigned char*)"", (Int64)(inode->i_data.nrpages));
576#define TRACE_TRCID_FM_CLOSE_ENR_CALL \
577    _TRACE2D(_HOOKWORD(TRCID_FM_CLOSE_ENR), (Int64)(mm), (Int64)(atomic_read(&mm->mm_users)));
578#define TRACE_TRCID_FM_CLOSE_CALL \
579    _TRACE3D(_HOOKWORD(TRCID_FM_CLOSE), (Int64)(vma), (Int64)(inode), (Int64)((Int32)atomic_read((atomic_t *)&inode->i_count)));
580#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_CALL \
581    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER), (Int64)(fP), (Int64)(iP->i_ino), (Int64)(vma));
582#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_A_CALL \
583    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER_A), (Int64)(vma->vm_start), (Int64)(vma->vm_end), (Int64)(vma->vm_pgoff), (Int64)(vma->vm_flags));
584#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_A1_CALL \
585    _STrace(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER_A1), 3, 2, (Int64)(iP->i_ino), (Int64)(atomic_read((atomic_t *)&iP->i_count)), fP->f_dentry ? fP->f_dentry->d_name.name : (const unsigned char*)"", (Int64)(iP->i_data.nrpages));
586#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_AB_CALL \
587    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER_AB), (Int64)(mm), (Int64)(atomic_read(&mm->mm_users)));
588#define TRACE_TRCID_LINUXOPS_MMAP_EXIT_CALL \
589    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_MMAP_EXIT), (Int64)(rc), (Int64)(code));
590#define TRACE_TRCID_LINUXOPS_OPEN_ENTER_CALL \
591    _STrace(_HOOKWORD(TRCID_LINUXOPS_OPEN_ENTER), 6, 4, (Int64)(iP), (Int64)(fP), (Int64)(fP->f_flags), (Int64)(fP->f_dentry), fP->f_dentry? fP->f_dentry->d_name.name: (const unsigned char*)"", (Int64)(flags), (Int64)(cxiIsNFSThread()));
592#define TRACE_TRCID_LINUXOPS_OPEN_01_CALL \
593    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_OPEN_01), (Int64)(iP), (Int64)(cnP), (Int64)(fflags), (Int64)(amode));
594#define TRACE_TRCID_LINUXOPS_OPEN_EXIT_CALL \
595    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_OPEN_EXIT), (Int64)(iP), (Int64)((struct MMFSVInfo *)fP->private_data), (Int64)(code), (Int64)(rc));
596#define TRACE_TRCID_LINUXOPS_CLOSE_ENTER_CALL \
597    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_CLOSE_ENTER), (Int64)(iP), (Int64)(fP->f_flags), (Int64)(flags), (Int64)(vinfoP));
598#define TRACE_TRCID_CLOSE_EXIT_CALL \
599    _TRACE2D(_HOOKWORD(TRCID_CLOSE_EXIT), (Int64)(code), (Int64)(rc));
600#define TRACE_TRCID_LINUXOPS_FSYNC_ENTER_CALL \
601    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_FSYNC_ENTER), (Int64)(fP), (Int64)(direntP), (Int64)(datasync));
602#define TRACE_TRCID_LINUXOPS_FSYNC_EXIT_CALL \
603    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_FSYNC_EXIT), (Int64)(fP), (Int64)(rc));
604#define TRACE_TRCID_LINUXOPS_FASYNC_ENTER_CALL \
605    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_FASYNC_ENTER), (Int64)(fd), (Int64)(fP), (Int64)(on));
606#define TRACE_TRCID_LINUXOPS_FASYNC_EXIT_CALL \
607    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_FASYNC_EXIT), (Int64)(fP), (Int64)(rc));
608#define TRACE_TRCID_LINUXOPS_LOCKCTL_ENTER_CALL \
609    _XTrace(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_ENTER), "gpfs_f_lock enter: pid %d fp 0x%lX range 0x%lX:%lX cmd %s type %s\n", (Int64)(flP->fl_pid), (Int64)(fP), (Int64)(flP->fl_start), (Int64)(flP->fl_end), (cmd == F_GETLK) ? "GETLK" : (cmd == F_SETLK) ? "SETLK" : "SETLKW", (flP->fl_type == F_RDLCK) ? "RDLCK" :          (flP->fl_type == F_WRLCK) ? "WRLCK" : "UNLCK");
610#define TRACE_TRCID_LINUXOPS_LOCKCTL_ENTER2_CALL \
611    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_ENTER2), (Int64)(fP->f_pos), (Int64)(fP->f_dentry->d_inode), (Int64)(flP->fl_flags), (Int64)(eCred.principal), (Int64)(eCred.group));
612#define TRACE_TRCID_LINUXOPS_LOCKCTL_DIAG2_CALL \
613    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_DIAG2), (Int64)(fP), (Int64)(fP->f_dentry));
614#define TRACE_TRCID_LINUXOPS_LOCKCTL_EXIT_CALL \
615    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_EXIT), (Int64)(rc));
616#define TRACE_TRCID_LINUX_FLOCK_ENTER_CALL \
617    _TRACE5D(_HOOKWORD(TRCID_LINUX_FLOCK_ENTER), (Int64)(fP), (Int64)(flP), (Int64)(cmd), (Int64)(flP->fl_flags), (Int64)(flP->fl_type));
618#define TRACE_TRCID_LINUX_FLOCK_EXIT_CALL \
619    _TRACE1D(_HOOKWORD(TRCID_LINUX_FLOCK_EXIT), (Int64)(rc));
620#define TRACE_TRCID_LINUXOPS_RDWRINT_ENTER_CALL \
621    _STrace(_HOOKWORD(TRCID_LINUXOPS_RDWRINT_ENTER), 10, 10, (Int64)(fP), (Int64)(fP->f_flags), (Int64)(flags), (Int64)(op), (Int64)(iovecP), (Int64)(count), (Int64)(*offsetP), (Int64)(fP->f_dentry), (Int64)(fP->private_data), (Int64)(fP->f_dentry->d_inode), fP->f_dentry->d_name.name);
622#define TRACE_TRCID_LINUXOPS_RDWRINT_EXIT_CALL \
623    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_RDWRINT_EXIT), (Int64)(fP), (Int64)(total_len), (Int64)(tmp_uio.uio_resid), (Int64)(tmp_uio.uio_offset), (Int64)(rc));
624#define TRACE_TRCID_LINUXOPS_READ_DIR_CALL \
625    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READ_DIR), (Int64)(fP));
626#define TRACE_TRCID_LINUXOPS_SHARE_ENTER_CALL \
627    _STrace(_HOOKWORD(TRCID_LINUXOPS_SHARE_ENTER), 4, 2, (Int64)(fP), (Int64)(iP? iP->i_ino: -1), dentryP? dentryP->d_name.name: (const unsigned char*)"", (Int64)(share_access), (Int64)(share_deny));
628#define TRACE_TRCID_LINUXOPS_SHARE_RESET_CALL \
629    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_SHARE_RESET), (Int64)(fP), (Int64)(iP), (Int64)(iP? VP_TO_PVP(fP->f_dentry->d_inode): NULL));
630#define TRACE_TRCID_LINUXOPS_SHARE_EXIT_CALL \
631    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_SHARE_EXIT), (Int64)(err));
632#define TRACE_TRCID_LINUXOPS_DELEGATE_ENTER_CALL \
633    _STrace(_HOOKWORD(TRCID_LINUXOPS_DELEGATE_ENTER), 3, 2, (Int64)(fP), (Int64)(iP? iP->i_ino: -1), dentryP? dentryP->d_name.name: (const unsigned char*)"", (Int64)(delegate_access));
634#define TRACE_TRCID_LINUXOPS_DELEGATE_EXIT_CALL \
635    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_DELEGATE_EXIT), (Int64)(err));
636#define TRACE_TRCID_PRINTINODE_1_CALL \
637    _TRACE7D(_HOOKWORD(TRCID_PRINTINODE_1), (Int64)(iP), (Int64)(iP->i_ino), (Int64)(iP->i_ino), (Int64)(atomic_read((atomic_t *)&iP->i_count)), (Int64)(KDEV_INT(iP->i_rdev)), (Int64)(iP->i_mode), (Int64)(iP->i_nlink));
638#define TRACE_TRCID_PRINTINODE_2_CALL \
639    _TRACE6D(_HOOKWORD(TRCID_PRINTINODE_2), (Int64)(iP->i_uid), (Int64)(iP->i_gid), (Int64)(KDEV_INT(iP->i_rdev)), (Int64)(GET_INODETIME_SEC(iP->i_atime)), (Int64)(GET_INODETIME_SEC(iP->i_mtime)), (Int64)(GET_INODETIME_SEC(iP->i_ctime)));
640#define TRACE_TRCID_PRINTINODE_4_CALL \
641    _TRACE5D(_HOOKWORD(TRCID_PRINTINODE_4), (Int64)(iP->i_size), (Int64)(iP->i_blocks), (Int64)(iP->i_blocks), (Int64)(iP->i_version), (Int64)(iP->i_op));
642#define TRACE_TRCID_PRINTINODE_5_CALL \
643    _TRACE6D(_HOOKWORD(TRCID_PRINTINODE_5), (Int64)(iP->i_fop), (Int64)(iP->i_sb), (Int64)(iP->i_flags), (Int64)(iP->i_state), (Int64)(iP->i_generation), (Int64)(iP->PRVINODE));
644#define TRACE_TRCID_PRINTINODE_6_CALL \
645    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_6), (Int64)(&(iP->i_list)), (Int64)(iP->i_list.next), (Int64)(iP->i_list.prev));
646#define TRACE_TRCID_PRINTINODE_7_CALL \
647    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_7), (Int64)(&(iP->i_dentry)), (Int64)(iP->i_dentry.next), (Int64)(iP->i_dentry.prev));
648#define TRACE_TRCID_PRINTINODE_8_CALL \
649    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_8), (Int64)(&(iP->i_hash)), (Int64)(iP->i_hash.next), (Int64)(iP->i_hash.prev));
650#define TRACE_TRCID_PRINTINODE_9_CALL \
651    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_9), (Int64)(&(iP->i_hash)), (Int64)(iP->i_hash.next), (Int64)(*iP->i_hash.pprev));
652#define TRACE_TRCID_PRINTDENTRY_1_CALL \
653    _STraceNB(_HOOKWORD(TRCID_PRINTDENTRY_1), 2, 2, (Int64)(dP), (Int64)(atomic_read((atomic_t *)&dP->d_count)), dP->d_name.name);
654#define TRACE_TRCID_PRINTDENTRY_2_CALL \
655    _TRACE5D_NB(_HOOKWORD(TRCID_PRINTDENTRY_2), (Int64)(dP->d_time), (Int64)(dP->d_op), (Int64)(dP->d_flags), (Int64)(dP->d_parent), (Int64)(iP));
656#define TRACE_TRCID_PRINTDENTRY_3A_CALL \
657    _TRACE4D_NB(_HOOKWORD(TRCID_PRINTDENTRY_3A), (Int64)(iP->i_ino), (Int64)(atomic_read((atomic_t *)&iP->i_count)), (Int64)(list_entry(iP->i_dentry.next, struct dentry, d_alias)), (Int64)(list_entry(iP->i_dentry.prev, struct dentry, d_alias)));
658#define TRACE_TRCID_PRINTDENTRY_3B_CALL \
659    _TRACE2D_NB(_HOOKWORD(TRCID_PRINTDENTRY_3B), (Int64)(iP->i_ino), (Int64)(atomic_read((atomic_t *)&iP->i_count)));
660#define TRACE_TRCID_PRINTDENTRY_4_CALL \
661    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTDENTRY_4), (Int64)(&dP->d_child), (Int64)(dP->d_child.next), (Int64)(dP->d_child.prev));
662#define TRACE_TRCID_PRINTDENTRY_5_CALL \
663    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTDENTRY_5), (Int64)(&dP->d_subdirs), (Int64)(list_entry(dP->d_subdirs.next, struct dentry, d_child)), (Int64)(list_entry(dP->d_subdirs.prev, struct dentry, d_child)));
664#define TRACE_TRCID_LINUXOPS_SETINODE_CALL \
665    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_SETINODE), (Int64)(inodeP), (Int64)(inodeP->i_ino), (Int64)(atomic_read((atomic_t *)&inodeP->i_count)), (Int64)(inodeP->i_mode), (Int64)(attrP->va_xinfo), (Int64)(inodeP->i_nlink), (Int64)(inodeP->i_size));
666#define TRACE_TRCID_CXIINVA_PERM_CALL \
667    _TRACE3D(_HOOKWORD(TRCID_CXIINVA_PERM), (Int64)(cnP), (Int64)(inodeP->i_op == &gpfs_iops_stdperm), (Int64)(inodeP->i_op == &gpfs_dir_iops_stdperm));
668#define TRACE_TRCID_LINUXOPS_CREATE_ENTER_CALL \
669    _STrace(_HOOKWORD(TRCID_LINUXOPS_CREATE_ENTER), 3, 3, (Int64)(diP), (Int64)(dentryP), (Int64)(mode), dentryP->d_name.name);
670#define TRACE_TRCID_LINUXOPS_CREATE_EXIT_CALL \
671    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_CREATE_EXIT), (Int64)(newInodeP), (Int64)(iNum), (Int64)(iNum), (Int64)(rc));
672#define TRACE_TRCID_LINUXOPS_LOOKUP_ENTER_CALL \
673    _STrace(_HOOKWORD(TRCID_LINUXOPS_LOOKUP_ENTER), 2, 2, (Int64)(diP), (Int64)(dentryP), dentryP->d_name.name);
674#define TRACE_TRCID_LINUXOPS_LOOKUP_STALE_CALL \
675    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LOOKUP_STALE), (Int64)(diP), (Int64)(diP->i_ino));
676#define TRACE_TRCID_LINUXOPS_LOOKUP_EXIT_CALL \
677    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_LOOKUP_EXIT), (Int64)(newInodeP), (Int64)(iNum), (Int64)(iNum), (Int64)(cnP), (Int64)(retP), (Int64)(code), (Int64)(rc));
678#define TRACE_TRCID_LINUXOPS_LINK_ENTER_CALL \
679    _STrace(_HOOKWORD(TRCID_LINUXOPS_LINK_ENTER), 3, 3, (Int64)(diP), (Int64)(oldDentryP), (Int64)(dentryP), dentryP->d_name.name);
680#define TRACE_TRCID_LINUXOPS_LINK_EXIT_CALL \
681    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_LINK_EXIT), (Int64)(diP), (Int64)(iP), (Int64)(rc));
682#define TRACE_TRCID_LINUXOPS_UNLINK_ENTER_CALL \
683    _STrace(_HOOKWORD(TRCID_LINUXOPS_UNLINK_ENTER), 3, 3, (Int64)(diP), (Int64)(iP), (Int64)(dentryP), dentryP->d_name.name);
684#define TRACE_TRCID_LINUXOPS_UNLINK_EXIT_CALL \
685    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_UNLINK_EXIT), (Int64)(diP), (Int64)(iP), (Int64)(rc));
686#define TRACE_TRCID_LINUXOPS_SYMLINK1_CALL \
687    _STrace(_HOOKWORD(TRCID_LINUXOPS_SYMLINK1), 2, 2, (Int64)(diP), (Int64)(dentryP), symlinkTargetP);
688#define TRACE_TRCID_LINUXOPS_SYMLINK2_CALL \
689    _STrace(_HOOKWORD(TRCID_LINUXOPS_SYMLINK2), 0, 0, dentryP->d_name.name);
690#define TRACE_TRCID_LINUXOPS_SYMLINK_EXIT_CALL \
691    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_SYMLINK_EXIT), (Int64)(newInodeP), (Int64)(iNum), (Int64)(iNum), (Int64)(rc));
692#define TRACE_TRCID_LINUXOPS_MKDIR_ENTER_CALL \
693    _STrace(_HOOKWORD(TRCID_LINUXOPS_MKDIR_ENTER), 2, 2, (Int64)(diP), (Int64)(mode), dentryP->d_name.name);
694#define TRACE_TRCID_LINUXOPS_MKDIR_EXIT_CALL \
695    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_MKDIR_EXIT), (Int64)(newInodeP), (Int64)(iNum), (Int64)(iNum), (Int64)(rc));
696#define TRACE_TRCID_LINUXOPS_RMDIR_ENTER_CALL \
697    _STrace(_HOOKWORD(TRCID_LINUXOPS_RMDIR_ENTER), 2, 2, (Int64)(diP), (Int64)(iP), dentryP->d_name.name);
698#define TRACE_TRCID_LINUXOPS_RMDIR_EXIT_CALL \
699    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_RMDIR_EXIT), (Int64)(diP), (Int64)(iP), (Int64)(rc));
700#define TRACE_TRCID_LINUXOPS_MKNOD_ENTER_CALL \
701    _STrace(_HOOKWORD(TRCID_LINUXOPS_MKNOD_ENTER), 3, 3, (Int64)(diP), (Int64)(mode), (Int64)((int)rdev), dentryP->d_name.name);
702#define TRACE_TRCID_LINUXOPS_MKNOD_EXIT_CALL \
703    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_MKNOD_EXIT), (Int64)(newInodeP), (Int64)(iNum), (Int64)(iNum), (Int64)(rc));
704#define TRACE_TRCID_LINUXOPS_RENAME_1_CALL \
705    _XTrace(_HOOKWORD(TRCID_LINUXOPS_RENAME_1), "gpfs_i_rename enter: iP 0x%lX dvP 0x%lX name '%s'"          " tiP 0x%lX tdiP 0x%lX new name '%s'\n", (Int64)(iP), (Int64)(diP), dentryP->d_name.name, (Int64)(tiP), (Int64)(tdiP), tDentryP->d_name.name);
706#define TRACE_TRCID_LINUXOPS_RENAME_EXIT_CALL \
707    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_RENAME_EXIT), (Int64)(iP), (Int64)(rc));
708#define TRACE_TRCID_LINUXOPS_READLINK_ENTER_CALL \
709    _STrace(_HOOKWORD(TRCID_LINUXOPS_READLINK_ENTER), 4, 4, (Int64)(dentryP), (Int64)(bufP), (Int64)(buflen), (Int64)(iP), dentryP->d_name.name);
710#define TRACE_TRCID_LINUXOPS_READLINK_EXIT_CALL \
711    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READLINK_EXIT), (Int64)(iP), (Int64)(tmpUio.uio_resid), (Int64)(tmpUio.uio_offset), (Int64)(rc));
712#define TRACE_TRCID_LINUXOPS_FOLLOW_LINK_ENTER_CALL \
713    _STrace(_HOOKWORD(TRCID_LINUXOPS_FOLLOW_LINK_ENTER), 1, 1, (Int64)(dentry->d_inode), dentry->d_name.name);
714#define TRACE_TRCID_LINUXOPS_FOLLOW_LINK_1_CALL \
715    _STrace(_HOOKWORD(TRCID_LINUXOPS_FOLLOW_LINK_1), 1, 1, (Int64)(rc), buf);
716#define TRACE_TRCID_LINUXOPS_FOLLOW_LINK_2_CALL \
717    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_FOLLOW_LINK_2), (Int64)(dentry->d_inode), (Int64)(rc));
718#define TRACE_TRCID_LINUXOPS_PUTLINK_CALL \
719    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_PUTLINK), (Int64)(dentry), (Int64)(nd), (Int64)(!IS_ERR(buf)? buf : NULL));
720#define TRACE_TRCID_LINUXOPS_BMAP_CALL \
721    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_BMAP));
722#define TRACE_TRCID_LINUXOPS_TRUNCATE_CALL \
723    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TRUNCATE), (Int64)(iP));
724#define TRACE_TRCID_LINUXOPS_ACCESS_ENTER_CALL \
725    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_ACCESS_ENTER), (Int64)(iP), (Int64)(mode), (Int64)(current->fsuid), (Int64)(current->fsgid), (Int64)(iP->i_mode), (Int64)(cnP->xinfo));
726#define TRACE_TRCID_LINUXOPS_ACCESS_EXIT_CALL \
727    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_ACCESS_EXIT), (Int64)(iP), (Int64)(iP->i_op == &gpfs_iops_stdperm), (Int64)(iP->i_op == &gpfs_dir_iops_stdperm), (Int64)(rc));
728#define TRACE_TRCID_LINUXOPS_SMAP_CALL \
729    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_SMAP));
730#define TRACE_TRCID_LINUXOPS_UPDATEPAGE_CALL \
731    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_UPDATEPAGE));
732#define TRACE_TRCID_LINUXOPS_REVALIDATE_ENTER_CALL \
733    _STrace(_HOOKWORD(TRCID_LINUXOPS_REVALIDATE_ENTER), 3, 3, (Int64)(dentryP), (Int64)(dentryP->d_inode), (Int64)((iP) ? iP->i_ino : -1), dentryP->d_name.name);
734#define TRACE_TRCID_LINUXOPS_REVALIDATE_STALE_CALL \
735    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_REVALIDATE_STALE), (Int64)(iP), (Int64)(iP->i_ino));
736#define TRACE_TRCID_REVAL_DELAY_CALL \
737    _TRACE1D(_HOOKWORD(TRCID_REVAL_DELAY), (Int64)(howLong));
738#define TRACE_TRCID_REVAL_DELAY_END_CALL \
739    _TRACE1D(_HOOKWORD(TRCID_REVAL_DELAY_END), (Int64)(howLong));
740#define TRACE_TRCID_LINUXOPS_REVALIDATE_EXIT_CALL \
741    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_REVALIDATE_EXIT), (Int64)(dentryP), (Int64)(code), (Int64)(rc));
742#define TRACE_TRCID_LINUXOPS_SETATTR_ENTER_CALL \
743    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETATTR_ENTER), (Int64)(iP), (Int64)(aP->ia_valid));
744#define TRACE_TRCID_LINUXOPS_SETATTR_EXIT_CALL \
745    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_SETATTR_EXIT), (Int64)(iP), (Int64)(code), (Int64)(rc));
746#define TRACE_TRCID_LINUXOPS_GETATTR_ENTER_CALL \
747    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_GETATTR_ENTER), (Int64)(iP));
748#define TRACE_TRCID_LINUXOPS_GETATTR_EXIT_CALL \
749    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETATTR_EXIT), (Int64)(iP), (Int64)(rc));
750#define TRACE_TRCID_LINUXOPS_GETEXTATTR_ENTER_CALL \
751    _STrace(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_ENTER), 3, 1, (Int64)(iP), (name) ? name : "NULL", (Int64)(buf), (Int64)(buf_size));
752#define TRACE_TRCID_LINUXOPS_GETEXTATTR_EXIT0_CALL \
753    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_EXIT0), (Int64)(iP), (Int64)(xattr.valueLen));
754#define TRACE_TRCID_LINUXOPS_GETEXTATTR_EXIT_CALL \
755    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_EXIT), (Int64)(iP), (Int64)(rc));
756#define TRACE_TRCID_LINUXOPS_GETEXTATTR_EXIT2_CALL \
757    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_EXIT2), (Int64)(iP), (Int64)(rc));
758#define TRACE_TRCID_LINUXOPS_SETEXTATTR_ENTER_CALL \
759    _STrace(_HOOKWORD(TRCID_LINUXOPS_SETEXTATTR_ENTER), 4, 1, (Int64)(iP), (name) ? name : "NULL", (Int64)(buf), (Int64)(buf_size), (Int64)(ext_flags));
760#define TRACE_TRCID_LINUXOPS_SETEXTATTR_EXIT_CALL \
761    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETEXTATTR_EXIT), (Int64)(iP), (Int64)(rc));
762#define TRACE_TRCID_LINUXOPS_LISTXATTR_IN_CALL \
763    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_LISTXATTR_IN), (Int64)(iP), (Int64)(buf), (Int64)(buf_size));
764#define TRACE_TRCID_LINUXOPS_LISTXTATTR_EXIT0_CALL \
765    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LISTXTATTR_EXIT0), (Int64)(iP), (Int64)(xattr.valueLen));
766#define TRACE_TRCID_LINUXOPS_LISTXTATTR_EXIT_CALL \
767    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LISTXTATTR_EXIT), (Int64)(iP), (Int64)(rc));
768#define TRACE_TRCID_LINUXOPS_REMOVEXATTR_IN_CALL \
769    _STrace(_HOOKWORD(TRCID_LINUXOPS_REMOVEXATTR_IN), 1, 1, (Int64)(iP), (name) ? name : "NULL");
770#define TRACE_TRCID_LINUXOPS_REMOVEXATTR_EXIT_CALL \
771    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_REMOVEXATTR_EXIT), (Int64)(iP), (Int64)(rc));
772#define TRACE_TRCID_VNODE_BKL_CALL \
773    _TRACE2D(_HOOKWORD(TRCID_VNODE_BKL), (Int64)(kernel_locked()), (Int64)(current->lock_depth));
774#define TRACE_TRCID_LINUXOPS_GPFS_ALLOC_INODE_EXIT_CALL \
775    _TRACE1D_NB(_HOOKWORD(TRCID_LINUXOPS_GPFS_ALLOC_INODE_EXIT), (Int64)(iP));
776#define TRACE_TRCID_LINUXOPS_GPFS_DESTROY_INODE_CALL \
777    _TRACE1D_NB(_HOOKWORD(TRCID_LINUXOPS_GPFS_DESTROY_INODE), (Int64)((void *)iP));
778#define TRACE_TRCID_LINUXOPS_READINODE_ENTER_CALL \
779    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_READINODE_ENTER), (Int64)(iP), (Int64)(inum));
780#define TRACE_TRCID_LINUXOPS_NEW_VNODE_1_CALL \
781    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_1), (Int64)(iP), (Int64)(cnP), (Int64)(sizeof(iP->u) - sizeof(void *)), (Int64)(CXINODE_SIZE));
782#define TRACE_TRCID_LINUXOPS_READINODE_EXIT_CALL \
783    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_READINODE_EXIT), (Int64)(iP), (Int64)(rc));
784#define TRACE_TRCID_LINUXOPS_READINODE_EXIT_BAD_CALL \
785    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READINODE_EXIT_BAD), (Int64)(iP));
786#define TRACE_TRCID_LINUXOPS_READINODE_HUH_CALL \
787    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_READINODE_HUH));
788#define TRACE_TRCID_LINUXOPS_DELETE_INODE_CALL \
789    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_DELETE_INODE), (Int64)(iP), (Int64)(iP->i_ino), (Int64)(isGPFS));
790#define TRACE_TRCID_LINUXOPS_DELETE_INODE_1_CALL \
791    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_DELETE_INODE_1), (Int64)(iP), (Int64)(cnP));
792#define TRACE_TRCID_LINUXOPS_NOTIFY_ENTER_CALL \
793    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_NOTIFY_ENTER), (Int64)(dentryP->d_inode), (Int64)(attrP));
794#define TRACE_TRCID_LINUXOPS_NOTIFY_EXIT_CALL \
795    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_NOTIFY_EXIT), (Int64)(dentryP->d_inode), (Int64)(rc));
796#define TRACE_TRCID_LINUXOPS_PUTSUPER_ENTER_CALL \
797    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_PUTSUPER_ENTER), (Int64)(sbP), (Int64)(sbP->s_dev));
798#define TRACE_TRCID_LINUXOPS_PUTSUPER_EXIT_CALL \
799    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_PUTSUPER_EXIT), (Int64)(rc));
800#define TRACE_TRCID_LINUXOPS_STATFS_ENTER_CALL \
801    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_STATFS_ENTER), (Int64)(sbP), (Int64)(len));
802#define TRACE_TRCID_LINUXOPS_STATFS_EXIT_CALL \
803    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_STATFS_EXIT), (Int64)(statfs.f_blocks), (Int64)(statfs.f_bfree), (Int64)(bufP->f_files), (Int64)(bufP->f_ffree), (Int64)(bufP->f_bsize), (Int64)(code), (Int64)(rc));
804#define TRACE_TRCID_LINUXOPS_UMOUNT_ENTER_CALL \
805    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_UMOUNT_ENTER), (Int64)(sbP), (Int64)(sbP->s_dev), (Int64)(current->fs ? current->fs->rootmnt : NULL), (Int64)(current->fs ? current->fs->pwdmnt : NULL));
806#define TRACE_TRCID_LINUXOPS_UMOUNT_EXIT_CALL \
807    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_UMOUNT_EXIT), (Int64)(sbP), (Int64)(privVfsP), (Int64)(dmrc), (Int64)(atomic_read(&sbP->s_active)), (Int64)(sbP->s_count), (Int64)(!list_empty(&sbP->s_files)));
808#define TRACE_TRCID_LINUXOPS_REMOUNT_CALL \
809    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_REMOUNT));
810#define TRACE_TRCID_LINUXOPS_WRITEINODE_CALL \
811    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_WRITEINODE));
812#define TRACE_TRCID_LINUXOPS_CLEARINODE_CALL \
813    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_CLEARINODE), (Int64)(iP), (Int64)(iP->i_ino), (Int64)(iP->PRVINODE));
814#define TRACE_TRCID_LINUXOPS_CLEARINODE_DETAILS_CALL \
815    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_CLEARINODE_DETAILS), (Int64)(VP_TO_CNP(iP)), (Int64)(VP_TO_PVP(iP)), (Int64)(NODE_TOO_BIG_FOR_OSNODE(CXINODE_SIZE)));
816#define TRACE_TRCID_LINUXOPS_CLEARINODE_EXIT_CALL \
817    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_CLEARINODE_EXIT), (Int64)(iP), (Int64)(iP->PRVINODE), (Int64)(code));
818#define TRACE_TRCID_LINUXOPS_WRITESUPER_CALL \
819    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_WRITESUPER), (Int64)(sbP));
820#define TRACE_TRCID_LINUXOPS_WRITESUPER_3_CALL \
821    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_WRITESUPER_3));
822#define TRACE_TRCID_LINUXOPS_WRITESUPER_5_CALL \
823    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_WRITESUPER_5), (Int64)(sbP), (Int64)(rc));
824#define TRACE_TRCID_LINUXOPS_GET_SB_CALL \
825    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_GET_SB), (Int64)(flags), (Int64)(dataP), (Int64)(sbP));
826#define TRACE_TRCID_LINUXOPS_READSUPER_1_CALL \
827    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_1), 3, 3, (Int64)(sbP), (Int64)(sbP->s_dev), (Int64)(silent), ((char *)dataP == NULL) ? "" : dataP);
828#define TRACE_TRCID_LINUXOPS_READSUPER_2_CALL \
829    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_2), 0, 0, (sbP->s_bdev == NULL) ? "" : SBLOCK_BDEVNAME(sbP,bname));
830#define TRACE_TRCID_LINUXOPS_READSUPER_3_CALL \
831    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_3), (Int64)(sbP->s_flags));
832#define TRACE_TRCID_LINUXOPS_READSUPER_OPTIONS_CALL \
833    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_OPTIONS), 0, 0, strP ? (char *) strP:"");
834#define TRACE_TRCID_LINUXOPS_READSUPER_STARTHELPER_CALL \
835    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_STARTHELPER), 0, 0, mmfs_path);
836#define TRACE_TRCID_LINUXOPS_READSUPER_STARTHELPER1_CALL \
837    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_STARTHELPER1), 2, 2, (Int64)(sbP->s_flags), (Int64)(restricted), mountpointP);
838#define TRACE_TRCID_LINUXOPS_READSUPER_HELPERRC_CALL \
839    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_HELPERRC), (Int64)(mountHelperID));
840#define TRACE_TRCID_LINUXOPS_READSUPER_SUCCEED_CALL \
841    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_SUCCEED), (Int64)(sbP));
842#define TRACE_TRCID_LINUXOPS_READSUPER_FAILED_CALL \
843    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_FAILED), (Int64)(code), (Int64)(rc));
844#define TRACE_TRCID_LINUXOPS_REGFS_CALL \
845    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_REGFS), (Int64)(shutdownSuperP), (Int64)(rc));
846#define TRACE_TRCID_LINUXOPS_UNREGFS_CALL \
847    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_UNREGFS), (Int64)(rc));
848#define TRACE_TRCID_LINUXOPS_KILLMMFSD_CALL \
849    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_KILLMMFSD), (Int64)(mmfsd_id));
850#define TRACE_TRCID_LINUXOPS_EXECMMFS_EXIT_CALL \
851    _STrace(_HOOKWORD(TRCID_LINUXOPS_EXECMMFS_EXIT), 1, 1, (Int64)(errno), mmfs_path);
852#define TRACE_TRCID_LINUXOPS_FORK_MOUNTHELPER_CALL \
853    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_FORK_MOUNTHELPER), (Int64)(mount_id));
854#define TRACE_TRCID_SET_MOUNT_INFO_CALL \
855    _TRACE4D(_HOOKWORD(TRCID_SET_MOUNT_INFO), (Int64)(sbP), (Int64)(rootIP), (Int64)(cnRootP), (Int64)(gnRootP));
856#define TRACE_TRCID_LINUXOPS_CXIUNMOUNT_ENTER_CALL \
857    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_CXIUNMOUNT_ENTER), (Int64)(privVfsP), (Int64)(sbP), (Int64)(force), (Int64)(doDMEvents));
858#define TRACE_TRCID_LINUXOPS_CXIUNMOUNT_EXIT_CALL \
859    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_CXIUNMOUNT_EXIT), (Int64)(rc), (Int64)(dmrc));
860#define TRACE_TRCID_LINUXOPS_REACTIVATE_VNODE_CALL \
861    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_REACTIVATE_VNODE), (Int64)(osVfsP), (Int64)(cnP), (Int64)(osNodePP));
862#define TRACE_TRCID_LINUXOPS_INODEFINDACTOR_CALL \
863    _TRACE4D_NB(_HOOKWORD(TRCID_LINUXOPS_INODEFINDACTOR), (Int64)(iP), (Int64)(iP->i_state), (Int64)(VP_TO_CNP(iP)), (Int64)(is_bad_inode(iP)));
864#define TRACE_TRCID_LINUXOPS_INODEFINDACTOR2_CALL \
865    _TRACE3D_NB(_HOOKWORD(TRCID_LINUXOPS_INODEFINDACTOR2), (Int64)(iP), (Int64)(iP->i_state), (Int64)(VP_TO_CNP(iP)));
866#define TRACE_TRCID_LINUXOPS_NEW_VNODE_CALL \
867    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE), (Int64)(sbP), (Int64)(inum), (Int64)(nodeSize));
868#define TRACE_TRCID_LINUXOPS_NEW_BAD_CALL \
869    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_NEW_BAD), (Int64)(iP));
870#define TRACE_TRCID_LINUXOPS_NEW_VNODE_2_CALL \
871    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_2), (Int64)(iP), (Int64)(iP->i_ino), (Int64)(iP->i_state), (Int64)(VP_TO_CNP(iP)), (Int64)(is_bad_inode(iP)));
872#define TRACE_TRCID_LINUXOPS_NEW_VNODE_EXIT_CALL \
873    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_EXIT), (Int64)(*osNodePP), (Int64)(*cnPP), (Int64)(rc));
874#define TRACE_TRCID_LINUXOPS_NEW_VNODE_BAD_CALL \
875    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_BAD), (Int64)(nodeSize), (Int64)(CXINODE_SIZE));
876#define TRACE_TRCID_LINUXOPS_DELETE_VNODE_CALL \
877    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_DELETE_VNODE), (Int64)(sbP), (Int64)(cnP), (Int64)(iP), (Int64)(iP ? iP->i_ino : -1), (Int64)(iP ? atomic_read((atomic_t *)&iP->i_count) : 0));
878#define TRACE_TRCID_LINUXOPS_DELETE_MMAP_CALL \
879    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_DELETE_MMAP), (Int64)(segid));
880#define TRACE_TRCID_LINUXOPS_REINIT_VNODE_CALL \
881    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_REINIT_VNODE), (Int64)(sbP), (Int64)(cnP), (Int64)(iP));
882#define TRACE_TRCID_LINUXOPS_DUMP_VNODE_CALL \
883    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_DUMP_VNODE), (Int64)(cnP), (Int64)(iP));
884#define TRACE_TRCID_LINUXOPS_IGRABINODEFINDACTOR_CALL \
885    _TRACE3D_NB(_HOOKWORD(TRCID_LINUXOPS_IGRABINODEFINDACTOR), (Int64)(iP), (Int64)(iP->i_state), (Int64)((struct inode *) opaqueP));
886#define TRACE_TRCID_LINUXOPS_REF_VNODE_CALL \
887    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_REF_VNODE), (Int64)(osVfsP), (Int64)(cnP), (Int64)(iP), (Int64)(ino), (Int64)(holdCount));
888#define TRACE_TRCID_LINUXOPS_INACTIVE_VNODE_CALL \
889    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_INACTIVE_VNODE), (Int64)(sbP), (Int64)(cnP), (Int64)(iP), (Int64)(holdCount), (Int64)(*canCacheP), (Int64)(*hasReferencesP));
890#define TRACE_TRCID_LINUXOPS_PUT_OSNODE_CALL \
891    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_PUT_OSNODE), (Int64)(iP), (Int64)(iP->i_ino), (Int64)(holdCount-1));
892#define TRACE_TRCID_LINUXOPS_DESTROY_OSNODE_CALL \
893    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_DESTROY_OSNODE), (Int64)(iP), (Int64)(iP->i_ino), (Int64)(holdCount), (Int64)(iP->i_nlink));
894#define TRACE_TRCID_CXIUPDATE_INODE_3_CALL \
895    _TRACE4D(_HOOKWORD(TRCID_CXIUPDATE_INODE_3), (Int64)(iP), (Int64)(GET_INODETIME_SEC(iP->i_atime)), (Int64)(GET_INODETIME_SEC(iP->i_mtime)), (Int64)(GET_INODETIME_SEC(iP->i_ctime)));
896#define TRACE_TRCID_CXIUPDATE_INODE_1_CALL \
897    _TRACE7D(_HOOKWORD(TRCID_CXIUPDATE_INODE_1), (Int64)(what), (Int64)(iP->i_mode), (Int64)(iP->i_uid), (Int64)(iP->i_gid), (Int64)(iP->i_nlink), (Int64)(iP->i_size), (Int64)(iP->i_blocks));
898#define TRACE_TRCID_LINUXOPS_CANUNCACHE_OSNODE_CALL \
899    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_CANUNCACHE_OSNODE), (Int64)(cnP), (Int64)(vP), (Int64)(osVfsP), (Int64)((iP ? iP->i_sb : 0)), (Int64)((iP ? iP->i_ino : 0)), (Int64)(count));
900#define TRACE_TRCID_LINUXOPS_ADD_OSNODE_CALL \
901    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_ADD_OSNODE), (Int64)(dentryP), (Int64)(vP), (Int64)(d_unhashed(dP)));
902#define TRACE_TRCID_LINUXOPS_LOCFS_ENTER_CALL \
903    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_LOCFS_ENTER), (Int64)(sbP));
904#define TRACE_TRCID_LINUXOPS_LOCFS_EXIT_CALL \
905    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_LOCFS_EXIT), (Int64)(sbP), (Int64)(code), (Int64)(rc));
906#define TRACE_TRCID_NFSD_IGET_DENTRY_1_CALL \
907    _TRACE2D(_HOOKWORD(TRCID_NFSD_IGET_DENTRY_1), (Int64)(inode->i_ino), (Int64)(generation));
908#define TRACE_TRCID_NFSD_IGET_31_CALL \
909    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_31), (Int64)(result->d_flags), (Int64)(atomic_read(&result->d_count)), (Int64)(result->d_inode), (Int64)(result->d_time));
910#define TRACE_TRCID_NFSD_IGET_41_CALL \
911    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_41), (Int64)(inode->i_ino), (Int64)(inode->i_nlink), (Int64)(atomic_read(&inode->i_count)), (Int64)(inode->i_generation), (Int64)(generation), (Int64)(inode->i_state), (Int64)(inode->i_flags));
912#define TRACE_TRCID_NFSD_IGET_3_CALL \
913    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_3), (Int64)(result->d_flags), (Int64)(atomic_read(&result->d_count)), (Int64)(result->d_inode), (Int64)(result->d_time));
914#define TRACE_TRCID_NFSD_IGET_4_CALL \
915    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_4), (Int64)(inode->i_ino), (Int64)(inode->i_nlink), (Int64)(atomic_read(&inode->i_count)), (Int64)(inode->i_generation), (Int64)(generation), (Int64)(inode->i_state), (Int64)(inode->i_flags));
916#define TRACE_TRCID_NFSD_IGET_5_CALL \
917    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_5), (Int64)(result->d_flags), (Int64)(atomic_read(&result->d_count)), (Int64)(result->d_inode), (Int64)(result->d_time));
918#define TRACE_TRCID_NFSD_IGET_6_CALL \
919    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_6), (Int64)(inode->i_ino), (Int64)(inode->i_nlink), (Int64)(atomic_read(&inode->i_count)), (Int64)(inode->i_generation), (Int64)(generation), (Int64)(inode->i_state), (Int64)(inode->i_flags));
920#define TRACE_TRCID_NFSD_IGET_7_CALL \
921    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_7), (Int64)(result->d_flags), (Int64)(atomic_read(&result->d_count)), (Int64)(result->d_inode), (Int64)(result->d_time));
922#define TRACE_TRCID_NFSD_IGET_8_CALL \
923    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_8), (Int64)(inode->i_ino), (Int64)(inode->i_nlink), (Int64)(atomic_read(&inode->i_count)), (Int64)(inode->i_generation), (Int64)(generation), (Int64)(inode->i_state), (Int64)(inode->i_flags));
924#define TRACE_TRCID_NFSD_IGET_9_CALL \
925    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_9), (Int64)(result->d_flags), (Int64)(atomic_read(&result->d_count)), (Int64)(result->d_inode), (Int64)(result->d_time));
926#define TRACE_TRCID_NFSD_IGET_10_CALL \
927    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_10), (Int64)(inode->i_ino), (Int64)(inode->i_nlink), (Int64)(atomic_read(&inode->i_count)), (Int64)(inode->i_generation), (Int64)(generation), (Int64)(inode->i_state), (Int64)(inode->i_flags));
928#define TRACE_TRCID_NFSD_IGET_1_CALL \
929    _TRACE6D(_HOOKWORD(TRCID_NFSD_IGET_1), (Int64)(sbP), (Int64)(ino), (Int64)(argP->inodeNum), (Int64)(argP->snapId), (Int64)(argP->filesetId), (Int64)(generation));
930#define TRACE_TRCID_NFSD_IGET_BAD_CALL \
931    _TRACE1D(_HOOKWORD(TRCID_NFSD_IGET_BAD), (Int64)(inode));
932#define TRACE_TRCID_NFSD_IGET_2_CALL \
933    _TRACE5D(_HOOKWORD(TRCID_NFSD_IGET_2), (Int64)(inode), (Int64)(inode->i_ino), (Int64)(inode->i_state), (Int64)(VP_TO_CNP(inode)), (Int64)(is_bad_inode(inode)));
934#define TRACE_TRCID_GET_DPARENT_ENTER_CALL \
935    _TRACE2D(_HOOKWORD(TRCID_GET_DPARENT_ENTER), (Int64)(child), (Int64)(child->d_inode->i_ino));
936#define TRACE_TRCID_GET_DPARENT_EXIT_CALL \
937    _TRACE4D(_HOOKWORD(TRCID_GET_DPARENT_EXIT), (Int64)(child), (Int64)(iNum), (Int64)(result), (Int64)(IS_ERR(result)? PTR_ERR(result): 0));
938#define TRACE_TRCID_DECODE_FH_1_CALL \
939    _TRACE4D(_HOOKWORD(TRCID_DECODE_FH_1), (Int64)(sbP), (Int64)(fh), (Int64)(len), (Int64)(fhtype));
940#define TRACE_TRCID_DECODE_FH_2_CALL \
941    _TRACE4D(_HOOKWORD(TRCID_DECODE_FH_2), (Int64)(sbP), (Int64)(fh), (Int64)(result), (Int64)(IS_ERR(result)? PTR_ERR(result): 0));
942#define TRACE_TRCID_DECODE_FH_3_CALL \
943    _TRACE2D(_HOOKWORD(TRCID_DECODE_FH_3), (Int64)(sbP), (Int64)(fh));
944#define TRACE_TRCID_FH_TO_DENTRY_1_CALL \
945    _TRACE5D(_HOOKWORD(TRCID_FH_TO_DENTRY_1), (Int64)(sbP), (Int64)(fh), (Int64)(len), (Int64)(fhtype), (Int64)(parent));
946#define TRACE_TRCID_FH_TO_DENTRY_2_CALL \
947    _TRACE4D(_HOOKWORD(TRCID_FH_TO_DENTRY_2), (Int64)(sbP), (Int64)(fh), (Int64)(result), (Int64)(IS_ERR(result)? PTR_ERR(result): 0));
948#define TRACE_TRCID_FH_TO_DENTRY_3_CALL \
949    _TRACE2D(_HOOKWORD(TRCID_FH_TO_DENTRY_3), (Int64)(sbP), (Int64)(fh));
950#define TRACE_TRCID_FCNTLLOCK_ENTER_CALL \
951    _XTrace(_HOOKWORD(TRCID_FCNTLLOCK_ENTER), "cxiFcntlLock posix_lock_file: pid %d owner 0x%X inodeP 0x%X "          "range 0x%lX-%lX cmd %s type %s\n", (Int64)(flP->fl_pid), (Int64)(flP->fl_owner), (Int64)(advObjP), (Int64)(flP->fl_start), (Int64)(flP->fl_end), (cmd == F_GETLK) ? "GETLK" : (cmd == F_SETLK) ? "SETLK" : "SETLKW", (flP->fl_type == F_RDLCK) ? "RDLCK" :          (flP->fl_type == F_WRLCK) ? "WRLCK" : "UNLCK");
952#define TRACE_TRCID_FCNTLLOCK_GETLK_CALL \
953    _STrace(_HOOKWORD(TRCID_FCNTLLOCK_GETLK), 5, 5, (Int64)(flP->fl_pid), (Int64)(flP->fl_owner), (Int64)(advObjP), (Int64)(flP->fl_start), (Int64)(flP->fl_end), (flP->fl_type == F_RDLCK) ? "RDLCK" :            (flP->fl_type == F_WRLCK) ? "WRLCK" : "UNLCK");
954#define TRACE_TRCID_FCNTLLOCK_EXIT_CALL \
955    _TRACE2D(_HOOKWORD(TRCID_FCNTLLOCK_EXIT), (Int64)(rc), (Int64)(cflP));
956#define TRACE_TRCID_SLEEP_CALL \
957    _TRACE1D(_HOOKWORD(TRCID_SLEEP), (Int64)(ms));
958#define TRACE_TRCID_SLEEP_END_CALL \
959    _TRACE2D(_HOOKWORD(TRCID_SLEEP_END), (Int64)(ms), (Int64)(HZ));
960#define TRACE_TRCID_OPENNFS_CALL \
961    _TRACE7D(_HOOKWORD(TRCID_OPENNFS), (Int64)(inodeP), (Int64)((inodeP) ? inodeP->i_ino : -1), (Int64)((inodeP) ? inodeP->i_ino : -1), (Int64)((inodeP) ? inodeP->i_mode : -1), (Int64)((inodeP) ? inodeP->i_nlink : -1), (Int64)((inodeP) ? inodeP->PRVINODE : NULL), (Int64)(refcount));
962#define TRACE_TRCID_CXISTART_KPROC_LINUX_CALL \
963    _STrace(_HOOKWORD(TRCID_CXISTART_KPROC_LINUX), 1, 0, kpdP->nameP, (Int64)(kpdP->pid));
964#define TRACE_TRCID_CXISTOP_KPROC_LINUX_CALL \
965    _STrace(_HOOKWORD(TRCID_CXISTOP_KPROC_LINUX), 1, 0, kpdP->nameP, (Int64)(kpdP->pid));
966#define TRACE_TRCID_PANIC_CALL \
967    _STrace(_HOOKWORD(TRCID_PANIC), 0, 0, panicStrP);
968#define TRACE_TRCID_MODULE_LOGASSERT_1_CALL \
969    _STrace(_HOOKWORD(TRCID_MODULE_LOGASSERT_1), 2, 0, failingExpr, (Int64)(retCode), (Int64)(reasonCode));
970#define TRACE_TRCID_MODULE_LOGASSERT_2_CALL \
971    _STrace(_HOOKWORD(TRCID_MODULE_LOGASSERT_2), 1, 0, srcFileName, (Int64)(srcLineNumber));
972#define TRACE_TRCID_CXISYSTEM_037_CALL \
973    _TRACE4D(_HOOKWORD(TRCID_CXISYSTEM_037), (Int64)(kBufP), (Int64)(uioP), (Int64)(nBytes), (Int64)(toKernel));
974#define TRACE_TRCID_CXISYSTEM_039a_CALL \
975    _TRACE5D(_HOOKWORD(TRCID_CXISYSTEM_039a), (Int64)(rc), (Int64)(trcdata[0]), (Int64)(trcdata[1]), (Int64)(trcdata[2]), (Int64)(trcdata[3]));
976#define TRACE_TRCID_CXISYSTEM_039_CALL \
977    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_039), (Int64)(rc));
978#define TRACE_TRCID_CXISYSTEM_041a_CALL \
979    _TRACE5D(_HOOKWORD(TRCID_CXISYSTEM_041a), (Int64)(rc), (Int64)(trcdata[0]), (Int64)(trcdata[1]), (Int64)(trcdata[2]), (Int64)(trcdata[3]));
980#define TRACE_TRCID_CXISYSTEM_041_CALL \
981    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_041), (Int64)(rc));
982#define TRACE_TRCID_CXISYSTEM_CHKTYPES_CALL \
983    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_CHKTYPES), (Int64)(rc));
984#define TRACE_TRCID_BM_INIT_CALL \
985    _TRACE2D(_HOOKWORD(TRCID_BM_INIT), (Int64)(mP), (Int64)(bmNameIdx));
986#define TRACE_TRCID_BM_ACQ_CALL \
987    _TRACE4D(_HOOKWORD(TRCID_BM_ACQ), (Int64)(mP), (Int64)(mP->lockNameIndex), (Int64)(current), (Int64)(mP->bmOwnerP));
988#define TRACE_TRCID_BM_ACQ_EXIT_CALL \
989    _TRACE1D(_HOOKWORD(TRCID_BM_ACQ_EXIT), (Int64)(mP));
990#define TRACE_TRCID_BM_REL_CALL \
991    _TRACE4D(_HOOKWORD(TRCID_BM_REL), (Int64)(mP), (Int64)(mP->lockNameIndex), (Int64)(current), (Int64)(mP->bmOwnerP));
992#define TRACE_TRCID_BM_TERM_CALL \
993    _TRACE2D(_HOOKWORD(TRCID_BM_TERM), (Int64)(mP), (Int64)(mP->lockNameIndex));
994#define TRACE_TRCID_CXISYSTEM_017_CALL \
995    _TRACE2D(_HOOKWORD(TRCID_CXISYSTEM_017), (Int64)(ownerP), (Int64)(result));
996#define TRACE_TRCID_CXISYSTEM_018_CALL \
997    _TRACE2D(_HOOKWORD(TRCID_CXISYSTEM_018), (Int64)(mP), (Int64)(result));
998#define TRACE_TRCID_CXISYSTEM_EVENT_WAIT_ENTER_CALL \
999    _TRACE3D(_HOOKWORD(TRCID_CXISYSTEM_EVENT_WAIT_ENTER), (Int64)(weP), (Int64)(waitFlags), (Int64)(mutexP));
1000#define TRACE_TRCID_CXISYSTEM_EVENT_WAIT_EXIT_CALL \
1001    _TRACE3D(_HOOKWORD(TRCID_CXISYSTEM_EVENT_WAIT_EXIT), (Int64)(weP), (Int64)(mutexP), (Int64)(waitElement.wakeupRC));
1002#define TRACE_TRCID_CXISYSTEM_SIGNAL_CALL \
1003    _TRACE1D_NB(_HOOKWORD(TRCID_CXISYSTEM_SIGNAL), (Int64)(weP));
1004#define TRACE_TRCID_CXISYSTEM_WAKEUP_ONE_CALL \
1005    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_WAKEUP_ONE), (Int64)(weP));
1006#define TRACE_TRCID_CXISYSTEM_BROADCAST_CALL \
1007    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_BROADCAST), (Int64)(weP));
1008#define TRACE_TRCID_CXISYSTEM_BROADCAST_RC_CALL \
1009    _TRACE2D(_HOOKWORD(TRCID_CXISYSTEM_BROADCAST_RC), (Int64)(weP), (Int64)(rc));
1010#define TRACE_TRCID_CXICHECKOPEN_ENTRY_CALL \
1011    _TRACE3D(_HOOKWORD(TRCID_CXICHECKOPEN_ENTRY), (Int64)(count), (Int64)(inodeP->i_ino), (Int64)(inodeP));
1012#define TRACE_TRCID_CXICHECKOPEN_FOUND_CALL \
1013    _TRACE1D(_HOOKWORD(TRCID_CXICHECKOPEN_FOUND), (Int64)(fileP->private_data));
1014#define TRACE_TRCID_SEND_BREAK_CALL \
1015    _TRACE1D(_HOOKWORD(TRCID_SEND_BREAK), (Int64)(ofP));
1016#define TRACE_TRCID_BREAKWAIT_CALL \
1017    _TRACE3D(_HOOKWORD(TRCID_BREAKWAIT), (Int64)(fileArgP), (Int64)(oplockCurrent), (Int64)(timeoutSeconds));
1018#define TRACE_TRCID_BREAKWAIT_EXIT_CALL \
1019    _TRACE0D(_HOOKWORD(TRCID_BREAKWAIT_EXIT));
1020#define TRACE_TRCID_DMS_STARTED_CALL \
1021    _TRACE3D(_HOOKWORD(TRCID_DMS_STARTED), (Int64)(idx), (Int64)(delay), (Int64)(jiffies/HZ));
1022#define TRACE_TRCID_DMS_STOPPED_CALL \
1023    _TRACE2D(_HOOKWORD(TRCID_DMS_STOPPED), (Int64)(idx), (Int64)(jiffies/HZ));
1024#define TRACE_TRCID_CXIREGISTERCLEANUP_EXIT_CALL \
1025    _TRACE4D(_HOOKWORD(TRCID_CXIREGISTERCLEANUP_EXIT), (Int64)(cleanupFD), (Int64)(iP), (Int64)(rc), (Int64)(code));
1026#define TRACE_TRCID_FDDISCARD1_CALL \
1027    _STrace(_HOOKWORD(TRCID_FDDISCARD1), 2, 2, (Int64)(fdP), (Int64)(shP), fdP->fdFuncNameP);
1028#define TRACE_TRCID_FDDISCARD2_CALL \
1029    _STrace(_HOOKWORD(TRCID_FDDISCARD2), 2, 2, (Int64)(fdP), (Int64)(shP), fdP->fdFuncNameP);
1030#define TRACE_TRCID_FDENTRY_CALL \
1031    _STrace(_HOOKWORD(TRCID_FDENTRY), 4, 2, (Int64)(fdP), (Int64)(shP), fdP->fdFuncNameP, (Int64)(shP->shCurrentP), (Int64)(fdP->fdStackUsed));
1032#define TRACE_TRCID_IMPLIED_EXIT_CALL \
1033    _STrace(_HOOKWORD(TRCID_IMPLIED_EXIT), 0, 0, popP->fdFuncNameP);
1034#define TRACE_TRCID_NEWMAX_EXTEND_CALL \
1035    _TRACE2D(_HOOKWORD(TRCID_NEWMAX_EXTEND), (Int64)(fdP->fdStackUsed), (Int64)(fdP));
1036#define TRACE_TRCID_NEWMAX_CALL \
1037    _TRACE2D(_HOOKWORD(TRCID_NEWMAX), (Int64)(fdP->fdStackUsed), (Int64)(fdP));
1038#define TRACE_TRCID_FDEXIT_CALL \
1039    _STrace(_HOOKWORD(TRCID_FDEXIT), 3, 2, (Int64)(p), (Int64)(shP), p->fdFuncNameP, (Int64)(shP->shCurrentP));
1040#define TRACE_TRCID_FDEXIT_NOTFOUND_CALL \
1041    _STrace(_HOOKWORD(TRCID_FDEXIT_NOTFOUND), 0, 0, funcnameP);
1042#define TRACE_TRCID_KTRACE_LINUX_ENTER_CALL \
1043    _XTrace(_HOOKWORD(TRCID_KTRACE_LINUX_ENTER), "-->K %s (%s:%d) level %d stackUsed %d\n", funcnameP, filenameP, (Int64)(lineNum), (Int64)(level), (Int64)(stackUsed));
1044#define TRACE_TRCID_KTRACE_LINUX_EXIT_CALL \
1045    _STrace(_HOOKWORD(TRCID_KTRACE_LINUX_EXIT), 0, 0, funcnameP);
1046#define TRACE_TRCID_KIBD_NEW_CALL \
1047    _TRACE1D(_HOOKWORD(TRCID_KIBD_NEW), (Int64)(kibdP));
1048#define TRACE_TRCID_KIBD_DELETE_CALL \
1049    _TRACE1D(_HOOKWORD(TRCID_KIBD_DELETE), (Int64)(kibdP));
1050#define TRACE_TRCID_DEALLOC_KIBD_1_CALL \
1051    _TRACE4D(_HOOKWORD(TRCID_DEALLOC_KIBD_1), (Int64)(kibdPrevP), (Int64)(kibdPrevP->kibdVaddr), (Int64)(kibdPrevP->kibdPages), (Int64)(kibdP));
1052#define TRACE_TRCID_DEALLOC_KIBD_2_CALL \
1053    _TRACE4D(_HOOKWORD(TRCID_DEALLOC_KIBD_2), (Int64)(kibdPrevP), (Int64)(kibdPrevP->kibdVaddr), (Int64)(kibdPrevP->kibdPages), (Int64)(kibdP));
1054#define TRACE_TRCID_ALLOC_KIBD_1_CALL \
1055    _TRACE3D(_HOOKWORD(TRCID_ALLOC_KIBD_1), (Int64)(kibdP), (Int64)(kibdP->kibdVaddr), (Int64)(kibdPrevP->kibdPages));
1056#define TRACE_TRCID_ALLOC_KIBD_2_CALL \
1057    _TRACE5D(_HOOKWORD(TRCID_ALLOC_KIBD_2), (Int64)(vaddr), (Int64)(mapPages), (Int64)(totalPages), (Int64)(kibdHeadP), (Int64)(rc));
1058#define TRACE_TRCID_KIBD_INIT_CALL \
1059    _TRACE0D(_HOOKWORD(TRCID_KIBD_INIT));
1060#define TRACE_TRCID_KIBD_TERM_CALL \
1061    _TRACE0D(_HOOKWORD(TRCID_KIBD_TERM));
1062#define TRACE_TRCID_BHC_CACHE_DESTROY_CALL \
1063    _TRACE1D(_HOOKWORD(TRCID_BHC_CACHE_DESTROY), (Int64)(rc));
1064#define TRACE_TRCID_KIBD_CACHE_DESTROY_CALL \
1065    _TRACE1D(_HOOKWORD(TRCID_KIBD_CACHE_DESTROY), (Int64)(rc));
1066#define TRACE_TRCID_KIBDPIN_ENTER_CALL \
1067    _TRACE2D(_HOOKWORD(TRCID_KIBDPIN_ENTER), (Int64)(vaddr), (Int64)(len));
1068#define TRACE_TRCID_KIBDPIN_EXIT_CALL \
1069    _TRACE1D(_HOOKWORD(TRCID_KIBDPIN_EXIT), (Int64)(headP));
1070#define TRACE_TRCID_KIBD_UNPIN_ALL_ENTER_CALL \
1071    _TRACE0D(_HOOKWORD(TRCID_KIBD_UNPIN_ALL_ENTER));
1072#define TRACE_TRCID_KIBD_UNPIN_ALL_EXIT_CALL \
1073    _TRACE0D(_HOOKWORD(TRCID_KIBD_UNPIN_ALL_EXIT));
1074#define TRACE_TRCID_ATTACH_ENTER_CALL \
1075    _TRACE1D(_HOOKWORD(TRCID_ATTACH_ENTER), (Int64)(OffsetToDataPtr(iobP,0,0)));
1076#define TRACE_TRCID_ATTACH_KIBD_CALL \
1077    _TRACE2D(_HOOKWORD(TRCID_ATTACH_KIBD), (Int64)(iobP->kernelIOBufferDescP), (Int64)(newPinCount));
1078#define TRACE_TRCID_DETACH_KIBD_CALL \
1079    _TRACE3D(_HOOKWORD(TRCID_DETACH_KIBD), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(attachP->kDescP), (Int64)(iobP->pinCount));
1080#define TRACE_TRCID_UXFER_LINUX_CALL \
1081    _TRACE5D(_HOOKWORD(TRCID_UXFER_LINUX), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(kibdP), (Int64)(toIOBuffer), (Int64)(bufOffset), (Int64)(len));
1082#define TRACE_TRCID_UXFER_UIOMOVE_CALL \
1083    _TRACE4D(_HOOKWORD(TRCID_UXFER_UIOMOVE), (Int64)(pageIndex), (Int64)(kaddr), (Int64)(pageOffset), (Int64)(pageLen));
1084#define TRACE_TRCID_XMEMXFER_LINUX_CALL \
1085    _TRACE5D(_HOOKWORD(TRCID_XMEMXFER_LINUX), (Int64)(userAddrP), (Int64)(len), (Int64)(udataP), (Int64)(kibdP), (Int64)(toXmem));
1086#define TRACE_TRCID_XMEMFER_COPY_CALL \
1087    _TRACE4D(_HOOKWORD(TRCID_XMEMFER_COPY), (Int64)(pageIndex), (Int64)(kaddrP), (Int64)(pageOffset), (Int64)(pageLen));
1088#define TRACE_TRCID_KXFER_LINUX_CALL \
1089    _TRACE6D(_HOOKWORD(TRCID_KXFER_LINUX), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(kibdP), (Int64)(toIOBuffer), (Int64)(bufOffset), (Int64)(len), (Int64)(kBufP));
1090#define TRACE_TRCID_KXFER_MEMCPY_CALL \
1091    _TRACE5D(_HOOKWORD(TRCID_KXFER_MEMCPY), (Int64)(kibdP), (Int64)(pageIndex), (Int64)(kaddr), (Int64)(pageOffset), (Int64)(pageLen));
1092#define TRACE_TRCID_KZERO_LINUX_CALL \
1093    _TRACE4D(_HOOKWORD(TRCID_KZERO_LINUX), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(kibdP), (Int64)(bufOffset), (Int64)(len));
1094#define TRACE_TRCID_KZERO_MEMSET_CALL \
1095    _TRACE4D(_HOOKWORD(TRCID_KZERO_MEMSET), (Int64)(pageIndex), (Int64)(kaddr), (Int64)(pageOffset), (Int64)(pageLen));
1096#define TRACE_TRCID_MAP_DISCONTIG_ENTER_CALL \
1097    _TRACE3D(_HOOKWORD(TRCID_MAP_DISCONTIG_ENTER), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(kibdP), (Int64)(iobP->ioBufLen));
1098#define TRACE_TRCID_MAP_DISCONTIG_KMAP_CALL \
1099    _TRACE4D(_HOOKWORD(TRCID_MAP_DISCONTIG_KMAP), (Int64)(dirIndex), (Int64)(kibdP), (Int64)(pageP), (Int64)(kaddr));
1100#define TRACE_TRCID_UNMAP_DISCONTIG_ENTER_CALL \
1101    _TRACE4D(_HOOKWORD(TRCID_UNMAP_DISCONTIG_ENTER), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(iobP->kernelIOBufferDescP), (Int64)(iobP->ioBufLen), (Int64)(discontigP->mappedLen));
1102#define TRACE_TRCID_UNMAP_DISCONTIG_KUNMAP_CALL \
1103    _TRACE3D(_HOOKWORD(TRCID_UNMAP_DISCONTIG_KUNMAP), (Int64)(pageIndex), (Int64)(pageP), (Int64)(discontigP->userPagePointerArray[pageIndex]));
1104#define TRACE_TRCID_MAP_CONTIG_ENTER_CALL \
1105    _TRACE4D(_HOOKWORD(TRCID_MAP_CONTIG_ENTER), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(kibdP), (Int64)(bufOffset), (Int64)(len));
1106#define TRACE_TRCID_MAP_CONTIG_KMAP_CALL \
1107    _TRACE2D(_HOOKWORD(TRCID_MAP_CONTIG_KMAP), (Int64)(pageP), (Int64)(*contigBasePP));
1108#define TRACE_TRCID_MAP_CONTIG_VMALLOC_CALL \
1109    _TRACE1D(_HOOKWORD(TRCID_MAP_CONTIG_VMALLOC), (Int64)(tempBufP));
1110#define TRACE_TRCID_UNMAP_CONTIG_VFREE_CALL \
1111    _TRACE2D(_HOOKWORD(TRCID_UNMAP_CONTIG_VFREE), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(contigP->mallocedBaseP));
1112#define TRACE_TRCID_UNMAP_CONTIG_KUNMAP_CALL \
1113    _TRACE2D(_HOOKWORD(TRCID_UNMAP_CONTIG_KUNMAP), (Int64)(OffsetToDataPtr(iobP,0,0)), (Int64)(contigP->pageP));
1114#define TRACE_TRCID_KDOIO_LINUX_CALL \
1115    _TRACE6D(_HOOKWORD(TRCID_KDOIO_LINUX), (Int64)(kibdP), (Int64)(isWrite), (Int64)(dev), (Int64)(startSector), (Int64)(nSectors), (Int64)(bufOffset));
1116#define TRACE_TRCID_KDOIO_LINUX_BH_PAGENUM_CALL \
1117    _TRACE5D(_HOOKWORD(TRCID_KDOIO_LINUX_BH_PAGENUM), (Int64)(bhP), (Int64)(startSector), (Int64)(sectorsThisBH), (Int64)(bhP->b_state), (Int64)((int)(pageP-mem_map)));
1118#define TRACE_TRCID_KDOIO_LINUX_BH_CALL \
1119    _TRACE6D(_HOOKWORD(TRCID_KDOIO_LINUX_BH), (Int64)(bhcP), (Int64)(bhP), (Int64)(startSector), (Int64)(sectorsThisBH), (Int64)(bhP->b_state), (Int64)(pageP));
1120#define TRACE_TRCID_DISKINFO_CALL \
1121    _TRACE3D(_HOOKWORD(TRCID_DISKINFO), (Int64)(devId), (Int64)(diskInfoP->sectorSize), (Int64)(diskInfoP->totalSectors));
1122#define TRACE_TRCID_KDOIO_LINUX_BIO_CALL \
1123    _TRACE6D(_HOOKWORD(TRCID_KDOIO_LINUX_BIO), (Int64)(kibdP), (Int64)(isWrite), (Int64)(dev), (Int64)(startSector), (Int64)(nSectors), (Int64)(bufOffset));
1124#define TRACE_TRCID_KDOIO_LINUX_BIO_PAGENUM_CALL \
1125    _TRACE5D(_HOOKWORD(TRCID_KDOIO_LINUX_BIO_PAGENUM), (Int64)(bioP), (Int64)(iovIndex), (Int64)(startSector), (Int64)(sectorsThisPage), (Int64)((int)(pageP-mem_map)));
1126#define TRACE_TRCID_KDOIO_LINUX_BIO_PAGE_CALL \
1127    _TRACE6D(_HOOKWORD(TRCID_KDOIO_LINUX_BIO_PAGE), (Int64)(bhcP), (Int64)(bioP), (Int64)(iovIndex), (Int64)(startSector), (Int64)(sectorsThisPage), (Int64)(pageP));
1128#define TRACE_TRCID_GET_DISKINFOX_CALL \
1129    _TRACE3D(_HOOKWORD(TRCID_GET_DISKINFOX), (Int64)(devId), (Int64)(diskInfoP->sectorSize), (Int64)(diskInfoP->totalSectors));
1130#define TRACE_TRCID_KWAITIO_BIO_CALL \
1131    _TRACE5D(_HOOKWORD(TRCID_KWAITIO_BIO), (Int64)(bhP), (Int64)(bioP), (Int64)(bioP->bi_sector), (Int64)(bioP->bi_size), (Int64)(bioP->bi_flags));
1132#define TRACE_TRCID_KWAITIO_BH_CALL \
1133    _TRACE4D(_HOOKWORD(TRCID_KWAITIO_BH), (Int64)(bhP), (Int64)(bhP->b_blocknr), (Int64)(bhP->b_size), (Int64)(bhP->b_state));
1134#define TRACE_TRCID_KWAITIO_BIO_ERR_CALL \
1135    _TRACE5D(_HOOKWORD(TRCID_KWAITIO_BIO_ERR), (Int64)(bhP), (Int64)(bioP), (Int64)(bioP->bi_sector), (Int64)(bioP->bi_size), (Int64)(bioP->bi_flags));
1136#define TRACE_TRCID_KWAITIO_BH_ERR_CALL \
1137    _TRACE4D(_HOOKWORD(TRCID_KWAITIO_BH_ERR), (Int64)(bhP), (Int64)(bhP->b_blocknr), (Int64)(bhP->b_size), (Int64)(bhP->b_state));
1138#define TRACE_TRCID_KWAITIO_BH_BUSY_CALL \
1139    _TRACE2D(_HOOKWORD(TRCID_KWAITIO_BH_BUSY), (Int64)(p), (Int64)(atomic_read(&p->nBHActive)));
1140#define TRACE_TRCID_LINUXOPS_TSSTAT_ENTER_CALL \
1141    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSSTAT_ENTER), (Int64)(iP), (Int64)(statP));
1142#define TRACE_TRCID_LINUXOPS_TSSTAT_EXIT_CALL \
1143    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSSTAT_EXIT), (Int64)(code), (Int64)(rc));
1144#define TRACE_TRCID_LINUXOPS_TSFSTAT_ENTER_CALL \
1145    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSFSTAT_ENTER), (Int64)(fileDesc), (Int64)(fP), (Int64)(iP), (Int64)(statP));
1146#define TRACE_TRCID_LINUXOPS_TSFSTAT_EXIT_CALL \
1147    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSFSTAT_EXIT), (Int64)(code), (Int64)(rc));
1148#define TRACE_TRCID_LINUXOPS_TSFATTR_ENTER_CALL \
1149    _TRACE8D(_HOOKWORD(TRCID_LINUXOPS_TSFATTR_ENTER), (Int64)(fileDesc), (Int64)(fP), (Int64)(fP->f_flags), (Int64)(flags), (Int64)(iP), (Int64)(command), (Int64)(argP), (Int64)(rCodeP));
1150#define TRACE_TRCID_LINUXOPS_TSFATTR_EXIT_CALL \
1151    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSFATTR_EXIT), (Int64)(code), (Int64)(rc));
1152#define TRACE_TRCID_LINUXOPS_TSFSATTR_ENTER_CALL \
1153    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSFSATTR_ENTER), (Int64)(tsfsattrcmd_id2name(command)));
1154#define TRACE_TRCID_LINUXOPS_TSFSATTR_EXIT_CALL \
1155    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSFSATTR_EXIT), (Int64)(rc));
1156#define TRACE_TRCID_LINUXOPS_TSATTR_ENTER_CALL \
1157    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSATTR_ENTER), (Int64)(iP), (Int64)(command), (Int64)(argP), (Int64)(rCodeP));
1158#define TRACE_TRCID_LINUXOPS_TSATTR_EXIT_CALL \
1159    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSATTR_EXIT), (Int64)(code), (Int64)(rc));
1160#define TRACE_TRCID_LINUXOPS_KXGETACL_EXIT_CALL \
1161    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_KXGETACL_EXIT), (Int64)(code), (Int64)(rc));
1162#define TRACE_TRCID_LINUXOPS_KXPUTACL_EXIT_CALL \
1163    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_KXPUTACL_EXIT), (Int64)(code), (Int64)(rc));
1164#define TRACE_TRCID_SMBOPENLOCKCONTROL_ENTERL_CALL \
1165    _TRACE2D(_HOOKWORD(TRCID_SMBOPENLOCKCONTROL_ENTERL), (Int64)(command), (Int64)(lockmode));
1166#define TRACE_TRCID_SMBOPENLOCKCONTROL_EXITL_CALL \
1167    _TRACE1D(_HOOKWORD(TRCID_SMBOPENLOCKCONTROL_EXITL), (Int64)(rc));
1168#define TRACE_TRCID_LINUXOPS_SETSMBOPLOCK_E_CALL \
1169    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_SETSMBOPLOCK_E), (Int64)(fP), (Int64)(accessWant), (Int64)(oplockWant), (Int64)(breakArgP), (Int64)(isAsync));
1170#define TRACE_TRCID_LINUXOPS_SETSMBOPLOCK_X_CALL \
1171    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETSMBOPLOCK_X), (Int64)(*oplockGrantedP), (Int64)(rc));
1172#define TRACE_TRCID_LINUX_SHARE_ENTER_CALL \
1173    _TRACE6D(_HOOKWORD(TRCID_LINUX_SHARE_ENTER), (Int64)(fd), (Int64)(fP), (Int64)(iP->i_ino), (Int64)(vinfoP), (Int64)(share), (Int64)(deny));
1174#define TRACE_TRCID_SHARE_RESET_CALL \
1175    _TRACE4D(_HOOKWORD(TRCID_SHARE_RESET), (Int64)(fd), (Int64)(fP), (Int64)(vinfoP), (Int64)(iP->i_ino));
1176#define TRACE_TRCID_LINUX_SHARE_EXIT_CALL \
1177    _TRACE1D(_HOOKWORD(TRCID_LINUX_SHARE_EXIT), (Int64)(rc));
1178#define TRACE_TRCID_DELEGATE_ENTER_CALL \
1179    _TRACE5D(_HOOKWORD(TRCID_DELEGATE_ENTER), (Int64)(fd), (Int64)(fP), (Int64)(iP->i_ino), (Int64)(vinfoP), (Int64)(delegate_access));
1180#define TRACE_TRCID_DELEGATE_EXIT_CALL \
1181    _TRACE1D(_HOOKWORD(TRCID_DELEGATE_EXIT), (Int64)(rc));
1182#define TRACE_TRCID_KXUMOUNT_ENT_CALL \
1183    _STrace(_HOOKWORD(TRCID_KXUMOUNT_ENT), 3, 1, (Int64)(type), kxnode, (Int64)(force), (Int64)(*ret_err));
1184#define TRACE_TRCID_KXUMOUNT_EXT_CALL \
1185    _TRACE4D(_HOOKWORD(TRCID_KXUMOUNT_EXT), (Int64)(dmrc), (Int64)(*ret_err), (Int64)(rc), (Int64)(code));
1186#define TRACE_TRCID_SS_019_CALL \
1187    _TRACE2D(_HOOKWORD(TRCID_SS_019), (Int64)(filp), (Int64)(inode));
1188#define TRACE_TRCID_SS_023_CALL \
1189    _TRACE1D(_HOOKWORD(TRCID_SS_023), (Int64)(filp));
1190#define TRACE_TRCID_SS_059_CALL \
1191    _TRACE1D(_HOOKWORD(TRCID_SS_059), (Int64)(nbytes));
1192#define TRACE_TRCID_SS_065_CALL \
1193    _TRACE1D(_HOOKWORD(TRCID_SS_065), (Int64)(nbytes));
1194#define TRACE_TRCID_SS_075_CALL \
1195    _TRACE5D(_HOOKWORD(TRCID_SS_075), (Int64)(op), (Int64)(ss_ioctl_op[op]), (Int64)(kx_args), (Int64)(inode), (Int64)(file));
1196#define TRACE_TRCID_SS_077_CALL \
1197    _TRACE1D(_HOOKWORD(TRCID_SS_077), (Int64)(op));
1198#define TRACE_TRCID_SS_081_CALL \
1199    _TRACE1D(_HOOKWORD(TRCID_SS_081), (Int64)(major));
1200#define TRACE_TRCID_SS_083_CALL \
1201    _TRACE1D(_HOOKWORD(TRCID_SS_083), (Int64)(GPFSIoctlMajorNumber));
1202#define TRACE_TRCID_UNPROT_ENTER_CALL \
1203    _TRACE3D_NB(_HOOKWORD(TRCID_UNPROT_ENTER), (Int64)(vaddr), (Int64)(len), (Int64)(allocating));
1204#define TRACE_TRCID_REPROT_ENTER_CALL \
1205    _TRACE2D(_HOOKWORD(TRCID_REPROT_ENTER), (Int64)(vaddr), (Int64)(len));
1206#define TRACE_TRCID_SHKERN_INIT_CALL \
1207    _TRACE2D(_HOOKWORD(TRCID_SHKERN_INIT), (Int64)(VMALLOC_START), (Int64)(VMALLOC_END));
1208#define TRACE_TRCID_CALC_MAX_SHARED_CALL \
1209    _TRACE5D(_HOOKWORD(TRCID_CALC_MAX_SHARED), (Int64)(actualBytes), (Int64)(desiredBytes), (Int64)(physMemSize), (Int64)(vmUsed), (Int64)(maxBytes));
1210#define TRACE_TRCID_ALLOC_SHARED_VMALLOC_CALL \
1211    _TRACE2D(_HOOKWORD(TRCID_ALLOC_SHARED_VMALLOC), (Int64)(actualBytes), (Int64)(minBytes));
1212#define TRACE_TRCID_ALLOC_SHARED_EXIT_CALL \
1213    _TRACE4D(_HOOKWORD(TRCID_ALLOC_SHARED_EXIT), (Int64)(mappingP->vaddr), (Int64)(mappingP->kBytes), (Int64)(rc), (Int64)(code));
1214#define TRACE_TRCID_FREEALL_VFREE_CALL \
1215    _TRACE2D(_HOOKWORD(TRCID_FREEALL_VFREE), (Int64)(chunkP->vaddrP), (Int64)(chunkP));
1216#define TRACE_TRCID_MAPALL_MULTI_CALL \
1217    _TRACE1D_NB(_HOOKWORD(TRCID_MAPALL_MULTI), (Int64)(chunkP));
1218#define TRACE_TRCID_UNMAPALL_MULTI_CALL \
1219    _TRACE1D_NB(_HOOKWORD(TRCID_UNMAPALL_MULTI), (Int64)(chunkP));
1220#define TRACE_TRCID_SSINIT_003_CALL \
1221    _TRACE1D(_HOOKWORD(TRCID_SSINIT_003), (Int64)(GPFSIoctlMajorNumber));
1222#define TRACE_TRCID_CXI_MAP_PRIVATE_CALL \
1223    _TRACE5D(_HOOKWORD(TRCID_CXI_MAP_PRIVATE), (Int64)(inAddr), (Int64)(len), (Int64)(prot), (Int64)(*outAddr), (Int64)(vmaP));
1224#define TRACE_TRCID_MMAP_DIRTY_PAGE_DUMP_CALL \
1225    _STrace(_HOOKWORD(TRCID_MMAP_DIRTY_PAGE_DUMP), 7, 0, what, (Int64)(page), (Int64)(vma), (Int64)(page_count(page)), (Int64)(CPUToBigEnd32(trcbuf[0])), (Int64)(CPUToBigEnd32(trcbuf[1])), (Int64)(CPUToBigEnd32(trcbuf[2])), (Int64)(CPUToBigEnd32(trcbuf[3])));
1226#define TRACE_TRCID_MMAP_DIRTY_PAGE_DUMP_A_CALL \
1227    _STrace(_HOOKWORD(TRCID_MMAP_DIRTY_PAGE_DUMP_A), 7, 0, what, (Int64)(page), (Int64)(vma), (Int64)(page_count(page)), (Int64)(CPUToBigEnd32(trcbuf[4])), (Int64)(CPUToBigEnd32(trcbuf[5])), (Int64)(CPUToBigEnd32(trcbuf[6])), (Int64)(CPUToBigEnd32(trcbuf[7])));
1228#define TRACE_TRCID_MMAP_DIRTY_PAGE_DUMP_B_CALL \
1229    _STrace(_HOOKWORD(TRCID_MMAP_DIRTY_PAGE_DUMP_B), 7, 0, what, (Int64)(page), (Int64)(vma), (Int64)(page_count(page)), (Int64)(CPUToBigEnd32(trcbuf[8])), (Int64)(CPUToBigEnd32(trcbuf[9])), (Int64)(CPUToBigEnd32(trcbuf[10])), (Int64)(CPUToBigEnd32(trcbuf[11])));
1230#define TRACE_TRCID_MMAP_REG_ENTER_CALL \
1231    _TRACE0D(_HOOKWORD(TRCID_MMAP_REG_ENTER));
1232#define TRACE_TRCID_MMAP_UNREG_ENTER_CALL \
1233    _TRACE0D(_HOOKWORD(TRCID_MMAP_UNREG_ENTER));
1234#define TRACE_TRCID_MMAP_FILEPOS_ENTER_CALL \
1235    _TRACE1D(_HOOKWORD(TRCID_MMAP_FILEPOS_ENTER), (Int64)(pos));
1236#define TRACE_TRCID_MMAP_IO_ENTER_CALL \
1237    _TRACE5D(_HOOKWORD(TRCID_MMAP_IO_ENTER), (Int64)(bufP->b_flags), (Int64)(pageP), (Int64)(pageP->index), (Int64)(page_count(pageP)), (Int64)(pageP->flags));
1238#define TRACE_TRCID_MMAP_IO_EXIT_CALL \
1239    _TRACE2D(_HOOKWORD(TRCID_MMAP_IO_EXIT), (Int64)(pageP), (Int64)(pageP->flags));
1240#define TRACE_TRCID_MMAP_FLUSH_ENTER_CALL \
1241    _TRACE5D(_HOOKWORD(TRCID_MMAP_FLUSH_ENTER), (Int64)(cnP), (Int64)(inodeP->i_ino), (Int64)(cmopt), (Int64)(start), (Int64)(end));
1242#define TRACE_TRCID_MMAP_FLUSH_EXIT_CALL \
1243    _TRACE1D(_HOOKWORD(TRCID_MMAP_FLUSH_EXIT), (Int64)(rc));
1244#define TRACE_TRCID_CXIGETPAGE_CALL \
1245    _TRACE6D(_HOOKWORD(TRCID_CXIGETPAGE), (Int64)(pageP), (Int64)(pageP->index), (Int64)(page_count(pageP)), (Int64)(pageP->flags), (Int64)(pageP->mapping), (Int64)((rc != 0)));
1246#define TRACE_TRCID_CXIRELPAGE_CALL \
1247    _TRACE4D(_HOOKWORD(TRCID_CXIRELPAGE), (Int64)(pageP), (Int64)(pageP->index), (Int64)(page_count(pageP)), (Int64)(pageP->flags));
1248#define TRACE_TRCID_LINUXOPS_NOPAGE_CALL \
1249    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE), (Int64)(area), (Int64)(address), (Int64)(fileP), (Int64)(area->vm_mm), (Int64)(atomic_read(&area->vm_mm->mm_users)), (Int64)(noShare));
1250#define TRACE_TRCID_LINUXOPS_NOPAGE_1_CALL \
1251    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE_1), (Int64)(area->vm_start), (Int64)(area->vm_end), (Int64)(area->vm_flags), (Int64)(index));
1252#define TRACE_TRCID_LINUXOPS_NOPAGE_2_CALL \
1253    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE_2), (Int64)(pageP), (Int64)(page_count(pageP)), (Int64)(pageP->flags), (Int64)(atomic_read(&area->vm_mm->mm_users)));
1254#define TRACE_TRCID_LINUXOPS_NOPAGE_3_CALL \
1255    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE_3));
1256#define TRACE_TRCID_LINUXOPS_NOPAGEDONE_CALL \
1257    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NOPAGEDONE), (Int64)(cnP), (Int64)(area), (Int64)(address), (Int64)(status));
1258#define TRACE_TRCID_LINUXOPS_READPAGE_ENTER_CALL \
1259    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READPAGE_ENTER), (Int64)(fileP), (Int64)(cnP), (Int64)(inodeP), (Int64)(inodeP->i_ino));
1260#define TRACE_TRCID_LINUXOPS_READPAGE_ENTER_A_CALL \
1261    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READPAGE_ENTER_A), (Int64)(pageP), (Int64)(index), (Int64)(page_count(pageP)), (Int64)(pageP->flags));
1262#define TRACE_TRCID_LINUXOPS_READPAGE1_CALL \
1263    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READPAGE1), (Int64)(bufPageP), (Int64)(bufPageP->index), (Int64)(page_count(bufPageP)), (Int64)(bufPageP->flags));
1264#define TRACE_TRCID_LINUXOPS_READPAGE_EXIT_CALL \
1265    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_READPAGE_EXIT), (Int64)(inodeP), (Int64)(rc), (Int64)(code));
1266#define TRACE_TRCID_LINUXOPS_WRPAGE_ENTER_CALL \
1267    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_WRPAGE_ENTER), (Int64)(cnP), (Int64)(inodeP), (Int64)(inodeP->i_ino));
1268#define TRACE_TRCID_LINUXOPS_WRPAGE_ENTER_A_CALL \
1269    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_WRPAGE_ENTER_A), (Int64)(pageP), (Int64)(pageP->index), (Int64)(page_count(pageP)), (Int64)(pageP->flags));
1270#define TRACE_TRCID_LINUXOPS_WRPAGE_EXIT_CALL \
1271    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_WRPAGE_EXIT), (Int64)(inodeP), (Int64)(rc));
1272#define TRACE_TRCID_LINUXOPS_ACL2POSIX_ENTER_CALL \
1273    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX_ENTER), (Int64)(tmpaclP->aclLength), (Int64)(buf_size));
1274#define TRACE_TRCID_LINUXOPS_ACL2POSIX_2_CALL \
1275    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX_2), (Int64)(i), (Int64)(len), (Int64)(buf_size));
1276#define TRACE_TRCID_LINUXOPS_ACL2POSIX_CALL \
1277    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX), (Int64)(i), (Int64)(aclP->a_entries[i].e_tag), (Int64)(aceP->aceTagType), (Int64)(aclP->a_entries[i].e_id), (Int64)(aceP->aceQualifier), (Int64)(aclP->a_entries[i].e_perm), (Int64)(aceP->acePermissions));
1278#define TRACE_TRCID_LINUXOPS_ACL2POSIX_EXIT_CALL \
1279    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX_EXIT), (Int64)(rc));
1280#define TRACE_TRCID_LINUXOPS_POSIX2ACL_CALL \
1281    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_POSIX2ACL), (Int64)(i), (Int64)(aclP->a_entries[i].e_tag), (Int64)(aceP->aceTagType), (Int64)(aceP->aceQualifier), (Int64)(aclP->a_entries[i].e_perm), (Int64)(aceP->acePermissions));
1282#define TRACE_TRCID_LINUXOPS_SETACLATTR_ENTER_CALL \
1283    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_SETACLATTR_ENTER), (Int64)(iP), (Int64)(iP->i_ino), (Int64)(type), (Int64)(buf), (Int64)(buf_size));
1284#define TRACE_TRCID_LINUXOPS_SETACLATTR_EXIT_CALL \
1285    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETACLATTR_EXIT), (Int64)(iP), (Int64)(rc));
1286#define TRACE_TRCID_LINUXOPS_GETACLATTR_ENTER_CALL \
1287    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_GETACLATTR_ENTER), (Int64)(iP), (Int64)(type), (Int64)(buf_size));
1288#define TRACE_TRCID_LINUXOPS_GETACLATTR_EXIT_CALL \
1289    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETACLATTR_EXIT), (Int64)(iP), (Int64)(rc));
1290#define TRACE_TRCID_KTRACE_LINUX_EXIT_RC_CALL \
1291    _STrace(_HOOKWORD(TRCID_KTRACE_LINUX_EXIT_RC), 1, 0, funcnameP, (Int64)(rc));
1292#define TRACE_TRCID_PRINTSUPER_1_CALL \
1293    _TRACE4D_NB(_HOOKWORD(TRCID_PRINTSUPER_1), (Int64)(sbP), (Int64)(sbP->s_magic), (Int64)(sbP->s_type), (Int64)(SBLOCK_PRIVATE(sbP)));
1294#define TRACE_TRCID_PRINTSUPER_5_CALL \
1295    _TRACE4D_NB(_HOOKWORD(TRCID_PRINTSUPER_5), (Int64)(sbP->s_dev), (Int64)(sbP->s_count), (Int64)(atomic_read(&sbP->s_active)), (Int64)(sbP->s_umount.count));
1296#define TRACE_TRCID_PRINTALLSUPER_1_CALL \
1297    _TRACE0D_NB(_HOOKWORD(TRCID_PRINTALLSUPER_1));
1298#define TRACE_TRCID_PRINTALLSUPER_5_CALL \
1299    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTALLSUPER_5), (Int64)(sP->s_count), (Int64)(atomic_read(&sP->s_active)), (Int64)(sP->s_umount.count));
1300#define TRACE_TRCID_PRINTSUPER_3_CALL \
1301    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTSUPER_3), (Int64)(sbP->s_dev), (Int64)(sbP->s_count), (Int64)(atomic_read(&sbP->s_active)));
1302#define TRACE_TRCID_CXISYSTEM_EVENT_WAIT_INTERRUPTED_CALL \
1303    _TRACE3D_NB(_HOOKWORD(TRCID_CXISYSTEM_EVENT_WAIT_INTERRUPTED), (Int64)(weP), (Int64)(mutexP), (Int64)(waitElement.wakeupRC));
1304#define TRACE_TRCID_LINUXOPS_SENDFILE_ENTER_CALL \
1305    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_SENDFILE_ENTER), (Int64)(fP), (Int64)(*offsetP), (Int64)(count), (Int64)(targetP));
1306#define TRACE_TRCID_LINUXOPS_SENDFILE_EXIT_CALL \
1307    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SENDFILE_EXIT), (Int64)(rc), (Int64)(code));
1308#define TRACE_TRCID_LINUXOPS_GET_DEVICELIST_ENTER_CALL \
1309    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GET_DEVICELIST_ENTER), (Int64)(sbP), (Int64)(p));
1310#define TRACE_TRCID_GET_DEVICELIST_EXIT_CALL \
1311    _TRACE1D(_HOOKWORD(TRCID_GET_DEVICELIST_EXIT), (Int64)(rc));
1312#define TRACE_TRCID_LINUXOPS_GET_LAYOUT_ENTER_CALL \
1313    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GET_LAYOUT_ENTER), (Int64)(iP), (Int64)(p));
1314#define TRACE_TRCID_GET_LAYOUT_EXIT_CALL \
1315    _TRACE2D(_HOOKWORD(TRCID_GET_LAYOUT_EXIT), (Int64)(code), (Int64)(rc));
1316#define TRACE_TRCID_LINUXOPS_SET_STATEID_ENTER_CALL \
1317    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_SET_STATEID_ENTER), (Int64)(iP), (Int64)(nodeId), (Int64)(osP->devid), (Int64)(p), (Int64)(len), (Int64)(osP->verifier[0]), (Int64)(osP->verifier[1]));
1318#define TRACE_TRCID_SET_STETEID_EXIT_CALL \
1319    _TRACE2D(_HOOKWORD(TRCID_SET_STETEID_EXIT), (Int64)(code), (Int64)(rc));
1320#define TRACE_TRCID_LINUXOPS_LAYOUT_RET_ENTER_CALL \
1321    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_LAYOUT_RET_ENTER), (Int64)(iP));
1322#define TRACE_TRCID_LAYOUT_RET_EXIT_CALL \
1323    _TRACE2D(_HOOKWORD(TRCID_LAYOUT_RET_EXIT), (Int64)(rc), (Int64)(iP));
1324#define TRACE_TRCID_LINUXOPS_GET_DEVICEINFO_ENTER_CALL \
1325    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GET_DEVICEINFO_ENTER), (Int64)(sbP), (Int64)(p));
1326#define TRACE_TRCID_GET_DEVICEINFO_EXIT_CALL \
1327    _TRACE1D(_HOOKWORD(TRCID_GET_DEVICEINFO_EXIT), (Int64)(rc));
1328#define TRACE_TRCID_PRINTDENTRY_3C_CALL \
1329    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTDENTRY_3C), (Int64)(&dP->d_child), (Int64)(dP->d_child.next), (Int64)(dP->d_child.prev));
1330#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K_CALL \
1331    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K), (Int64)(cmd), (Int64)(qid), (Int64)(pathname), (Int64)(current->euid));
1332#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K1_CALL \
1333    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K1));
1334#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K2_CALL \
1335    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K2), (Int64)(rc));
1336#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K6_CALL \
1337    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K6), (Int64)(cmd), (Int64)(qid), (Int64)(credP), (Int64)(bufferP));
1338#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K7_CALL \
1339    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K7), (Int64)(rc));
1340#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_EXIT_CALL \
1341    _STrace(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_EXIT), 2, 2, (Int64)(code), (Int64)(rc), pathname ? pathname : "?");
1342#define TRACE_TRCID_MMAP_REG_5_CALL \
1343    _TRACE2D(_HOOKWORD(TRCID_MMAP_REG_5), (Int64)(&Page_queue[0]), (Int64)(&Page_queue[MAX_PAGEQUE_ENTRIES - 1]));
1344#define TRACE_TRCID_CXI_GET_DEVICELIST_P1_CALL \
1345    _STrace(_HOOKWORD(TRCID_CXI_GET_DEVICELIST_P1), 3, 2, (Int64)(i), (Int64)(dev->r_addr.len), dev->r_addr.data, (Int64)(left));
1346#define TRACE_TRCID_CXI_GET_DEVICELIST_EXIT_CALL \
1347    _TRACE2D(_HOOKWORD(TRCID_CXI_GET_DEVICELIST_EXIT), (Int64)(rc), (Int64)(len));
1348#define TRACE_TRCID_GPFSOPS_GET_DEVICELINFO_P1_CALL \
1349    _STrace(_HOOKWORD(TRCID_GPFSOPS_GET_DEVICELINFO_P1), 1, 1, (Int64)(dev->r_addr.len), dev->r_addr.data);
1350#define TRACE_TRCID_CXI_GET_DEVICELINFO_EXIT_CALL \
1351    _TRACE1D(_HOOKWORD(TRCID_CXI_GET_DEVICELINFO_EXIT), (Int64)(rc));
1352#define TRACE_TRCID_CXI_GET_LAYOUT_ENTER_CALL \
1353    _TRACE2D(_HOOKWORD(TRCID_CXI_GET_LAYOUT_ENTER), (Int64)(nDests), (Int64)(myAddr));
1354#define TRACE_TRCID_CXI_GET_LAYOUT_P1_CALL \
1355    _TRACE3D(_HOOKWORD(TRCID_CXI_GET_LAYOUT_P1), (Int64)(i), (Int64)(idList[i]), (Int64)(len));
1356#define TRACE_TRCID_CXI_GET_LAYOUT_EXIT_CALL \
1357    _TRACE3D(_HOOKWORD(TRCID_CXI_GET_LAYOUT_EXIT), (Int64)(rc), (Int64)(len), (Int64)(p));
1358#define TRACE_TRCID_LINUXOPS_LEASE_ENTER_CALL \
1359    _XTrace(_HOOKWORD(TRCID_LINUXOPS_LEASE_ENTER), "gpfs_f_set_lease: fP 0x%lX iP 0x%lX type %s by %s\n", (Int64)(fP), (Int64)(iP), (arg == F_RDLCK) ? "RD" :(arg == F_WRLCK) ? "WR" : "UNLCK", (cxiIsNFSThread()) ? "NFS" : "SAMBA");
1360#define TRACE_TRCID_LINUXOPS_LEASE_EXIT_CALL \
1361    _STrace(_HOOKWORD(TRCID_LINUXOPS_LEASE_EXIT), 5, 5, (Int64)(fP), (Int64)(flP), (Int64)(rc), (Int64)(oplockWant), (Int64)(oplockGot), (oplockGot == smbOplockShared) ? "RD" :     (oplockGot == smbOplockExclusive) ? "WR" : "NONE");
1362#define TRACE_TRCID_CXIBREAKOPLOCK_CALL \
1363    _TRACE3D(_HOOKWORD(TRCID_CXIBREAKOPLOCK), (Int64)(rc), (Int64)(breakArgP), (Int64)(oplockNew));
1364#define TRACE_TRCID_NFS_ERROR_CALL \
1365    _STrace(_HOOKWORD(TRCID_NFS_ERROR), 1, 0, str, (Int64)(rc));
1366#define TRACE_TRCID_NFS_ERROR_1_CALL \
1367    _STrace(_HOOKWORD(TRCID_NFS_ERROR_1), 1, 1, (Int64)(rc), str);
1368#define TRACE_TRCID_PRODVER_MISMATCH_CALL \
1369    _XTrace(_HOOKWORD(TRCID_PRODVER_MISMATCH), "mmfslinux product version %s does not match mmfs version %s", PRODUCT_VERSION, mmfsProductVersion);
1370#define TRACE_TRCID_STEMCRVER_MISMATCH_CALL \
1371    _XTrace(_HOOKWORD(TRCID_STEMCRVER_MISMATCH), "mmfslinux was built with site.mcr rev %s which does not match "            "the site.mcr version %s used to build mmfs", SITEMCRREV, siteMcrVersion);
1372#define TRACE_TRCID_SS_DMAPI_COMPAT_ENTER_CALL \
1373    _STrace(_HOOKWORD(TRCID_SS_DMAPI_COMPAT_ENTER), 1, 1, (Int64)(op), kxOp_tostring(op));
1374#define TRACE_TRCID_SS_DMAPI_COMPAT_EXIT_CALL \
1375    _TRACE1D(_HOOKWORD(TRCID_SS_DMAPI_COMPAT_EXIT), (Int64)(rc));
1376
1377#else /* _ILP_32 */
1378
1379#define TRACE_TRCID_CXIINC_COUNTER_CALL \
1380    _TRACE2D(_HOOKWORD(TRCID_CXIINC_COUNTER), (Int32)(ibmModule), (Int32)(up));
1381#define TRACE_TRCID_GPFSINIT_000_CALL \
1382    _STrace(_HOOKWORD(TRCID_GPFSINIT_000), 1, 0, prog_path, (Int32)(strlen(prog_path)));
1383#define TRACE_TRCID_PORTINIT_001_CALL \
1384    _STrace(_HOOKWORD(TRCID_PORTINIT_001), 0, 0, prog_path == NULL ? "NULL" : prog_path);
1385#define TRACE_TRCID_FBREAD_ENTER_CALL \
1386    _TRACE3D(_HOOKWORD(TRCID_FBREAD_ENTER), (Int32)(file), (Int32)(buf), (Int32)(nbytes));
1387#define TRACE_TRCID_FBREAD_EXIT_CALL \
1388    _TRACE1D(_HOOKWORD(TRCID_FBREAD_EXIT), (Int32)(written));
1389#define TRACE_TRCID_FBWRITE_ENTER_CALL \
1390    _TRACE3D(_HOOKWORD(TRCID_FBWRITE_ENTER), (Int32)(file), (Int32)(buf), (Int32)(nbytes));
1391#define TRACE_TRCID_FBOPEN_ENTER_CALL \
1392    _TRACE2D(_HOOKWORD(TRCID_FBOPEN_ENTER), (Int32)(inode), (Int32)(file));
1393#define TRACE_TRCID_FBOPEN_EXIT_CALL \
1394    _TRACE3D(_HOOKWORD(TRCID_FBOPEN_EXIT), (Int32)(bdP), (Int32)(openers), (Int32)(count));
1395#define TRACE_TRCID_FBRELEASE_ENTER_CALL \
1396    _TRACE2D(_HOOKWORD(TRCID_FBRELEASE_ENTER), (Int32)(inode), (Int32)(file));
1397#define TRACE_TRCID_FBRELEASE_EXIT_CALL \
1398    _TRACE3D(_HOOKWORD(TRCID_FBRELEASE_EXIT), (Int32)(bdP), (Int32)(openers), (Int32)(count));
1399#define TRACE_TRCID_FBIOCTL_ENTER_CALL \
1400    _TRACE4D(_HOOKWORD(TRCID_FBIOCTL_ENTER), (Int32)(inode), (Int32)(file), (Int32)(p1), (Int32)(p2));
1401#define TRACE_TRCID_BOPEN_ENTER_CALL \
1402    _TRACE2D(_HOOKWORD(TRCID_BOPEN_ENTER), (Int32)(inode), (Int32)(file));
1403#define TRACE_TRCID_BOPEN_EXIT_CALL \
1404    _TRACE3D(_HOOKWORD(TRCID_BOPEN_EXIT), (Int32)(bdP), (Int32)(openers), (Int32)(count));
1405#define TRACE_TRCID_BRELEASE_ENTER_CALL \
1406    _TRACE2D(_HOOKWORD(TRCID_BRELEASE_ENTER), (Int32)(inode), (Int32)(file));
1407#define TRACE_TRCID_BRELEASE_EXIT_CALL \
1408    _TRACE3D(_HOOKWORD(TRCID_BRELEASE_EXIT), (Int32)(bdP), (Int32)(openers), (Int32)(count));
1409#define TRACE_TRCID_BIOCTL_ENTER_CALL \
1410    _TRACE4D(_HOOKWORD(TRCID_BIOCTL_ENTER), (Int32)(inode), (Int32)(file), (Int32)(p1), (Int32)(p2));
1411#define TRACE_TRCID_BLOCK_011_CALL \
1412    _TRACE2D(_HOOKWORD(TRCID_BLOCK_011), (Int32)(GPFSFileSysMajorNumber), (Int32)(rc));
1413#define TRACE_TRCID_BLOCK_013_CALL \
1414    _TRACE2D(_HOOKWORD(TRCID_BLOCK_013), (Int32)(GPFSFileSysMajorNumber), (Int32)(rc));
1415#define TRACE_TRCID_BLOCK_015_CALL \
1416    _TRACE2D(_HOOKWORD(TRCID_BLOCK_015), (Int32)(GPFSFileSysMajorNumber), (Int32)(rc));
1417#define TRACE_TRCID_PRUNE_DCACHE_CALL \
1418    _TRACE2D(_HOOKWORD(TRCID_PRUNE_DCACHE), (Int32)(iP), (Int32)(iP->i_ino));
1419#define TRACE_TRCID_PRUNE_DCACHE_ALIAS_CALL \
1420    _STraceNB(_HOOKWORD(TRCID_PRUNE_DCACHE_ALIAS), 4, 4, (Int32)(iP), (Int32)(iP->i_ino), (Int32)(dentry), (Int32)(hasSubdirs), dentry->d_name.name);
1421#define TRACE_TRCID_INVAL_DCACHE_CALL \
1422    _TRACE2D(_HOOKWORD(TRCID_INVAL_DCACHE), (Int32)(iP), (Int32)(iP->i_ino));
1423#define TRACE_TRCID_INVAL_DCACHE_ALIAS_CALL \
1424    _STraceNB(_HOOKWORD(TRCID_INVAL_DCACHE_ALIAS), 3, 3, (Int32)(iP), (Int32)(iP->i_ino), (Int32)(dentry), dentry->d_name.name);
1425#define TRACE_TRCID_DROP_INVAL_DCACHE_CALL \
1426    _TRACE2D(_HOOKWORD(TRCID_DROP_INVAL_DCACHE), (Int32)(iP), (Int32)(iP->i_ino));
1427#define TRACE_TRCID_DROP_INVAL_DCACHE_ALIAS_CALL \
1428    _STraceNB(_HOOKWORD(TRCID_DROP_INVAL_DCACHE_ALIAS), 3, 3, (Int32)(iP), (Int32)(iP->i_ino), (Int32)(dentry), dentry->d_name.name);
1429#define TRACE_TRCID_INVAL_NEG_DCACHE_CALL \
1430    _TRACE2D(_HOOKWORD(TRCID_INVAL_NEG_DCACHE), (Int32)(iP), (Int32)(iP->i_ino));
1431#define TRACE_TRCID_INVAL_NEG_DUNCACHE_CALL \
1432    _XTraceNB(_HOOKWORD(TRCID_INVAL_NEG_DUNCACHE), "cxiInvalidateNegDCacheEntry: ip 0x%lX ino %d "                 "%s dentry 0x%lX name '%s'", (Int32)(iP), (Int32)(iP->i_ino), !child->d_inode ? "inval" : "reval", (Int32)(child), child->d_name.name);
1433#define TRACE_TRCID_DIR_001_CALL \
1434    _STrace(_HOOKWORD(TRCID_DIR_001), 2, 2, (Int32)(dentry), (Int32)(dentry->d_inode), dentry->d_name.name);
1435#define TRACE_TRCID_DIR_REVALIDATE_CALL \
1436    _STrace(_HOOKWORD(TRCID_DIR_REVALIDATE), 5, 5, (Int32)(dentry), (Int32)(dentry->d_inode), (Int32)(dentry->d_inode ? dentry->d_inode->i_ino : -1), (Int32)(dentry->d_parent), (Int32)(current->fs->pwd), dentry->d_name.name);
1437#define TRACE_TRCID_DIR_REVALIDATE_EX_CALL \
1438    _TRACE2D(_HOOKWORD(TRCID_DIR_REVALIDATE_EX), (Int32)(dentry), (Int32)(rc));
1439#define TRACE_TRCID_DIR_VALID_IF_SAMBA_CALL \
1440    _XTrace(_HOOKWORD(TRCID_DIR_VALID_IF_SAMBA), "gpfs_d_valid_if_Samba: dentry 0x%lX "            "d_inode 0x%lX (name '%s') returns %s\n", (Int32)(dentry), (Int32)(dentry->d_inode), dentry->d_name.name, (cxiIsSambaThread() ? "true" : "false"));
1441#define TRACE_TRCID_DIR_INVALID_IF_SAMBA_CALL \
1442    _XTrace(_HOOKWORD(TRCID_DIR_INVALID_IF_SAMBA), "gpfs_d_invalid_if_Samba: dentry 0x%lX "            "d_inode 0x%lX (name '%s') returns %s\n", (Int32)(dentry), (Int32)(dentry->d_inode), dentry->d_name.name, (cxiIsSambaThread() ? "false" : "true"));
1443#define TRACE_TRCID_LINUXOPS_LLSEEK_ENTER_CALL \
1444    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_LLSEEK_ENTER), (Int32)(fP), High32(offset), Low32(offset), (Int32)(origin));
1445#define TRACE_TRCID_LINUXOPS_LLSEEK_EXIT_CALL \
1446    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_LLSEEK_EXIT), (Int32)(fP), High32(offset), Low32(offset), (Int32)(origin), High32(rc), Low32(rc));
1447#define TRACE_TRCID_LINUXOPS_READDIR_ENTER_CALL \
1448    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_READDIR_ENTER), (Int32)(fP), (Int32)(direntP), (Int32)(filldir), High32(fP->f_pos), Low32(fP->f_pos));
1449#define TRACE_TRCID_LINUXOPS_READDIR_EXIT_CALL \
1450    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READDIR_EXIT), (Int32)(fP), High32(fP->f_pos), Low32(fP->f_pos), (Int32)(rc));
1451#define TRACE_TRCID_LINUXOPS_POLL_CALL \
1452    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_POLL), (Int32)(fP));
1453#define TRACE_TRCID_LINUXOPS_IOCTL_CALL \
1454    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_IOCTL), (Int32)(iP), (Int32)(fP), (Int32)(cmd));
1455#define TRACE_TRCID_FM_OPEN_CALL \
1456    _STrace(_HOOKWORD(TRCID_FM_OPEN), 3, 3, (Int32)(vma), (Int32)(inode->i_ino), (Int32)(atomic_read((atomic_t *)&inode->i_count)), file->f_dentry? file->f_dentry->d_name.name: (const unsigned char*)"");
1457#define TRACE_TRCID_FM_OPEN_1_CALL \
1458    _TRACE2D(_HOOKWORD(TRCID_FM_OPEN_1), (Int32)(mm), (Int32)(atomic_read(&mm->mm_users)));
1459#define TRACE_TRCID_FM_OPEN_EXIT_CALL \
1460    _TRACE2D(_HOOKWORD(TRCID_FM_OPEN_EXIT), (Int32)(vma), (Int32)(atomic_read((atomic_t *)&inode->i_count)));
1461#define TRACE_TRCID_FM_CLOSE_ENTER_CALL \
1462    _TRACE3D(_HOOKWORD(TRCID_FM_CLOSE_ENTER), (Int32)(vma), (Int32)(inode), (Int32)((Int32)atomic_read((atomic_t *)&inode->i_count)));
1463#define TRACE_TRCID_FM_CLOSE_ENTER1_CALL \
1464    _STrace(_HOOKWORD(TRCID_FM_CLOSE_ENTER1), 2, 1, (Int32)(inode->i_ino), fP->f_dentry? fP->f_dentry->d_name.name: (const unsigned char*)"", (Int32)(inode->i_data.nrpages));
1465#define TRACE_TRCID_FM_CLOSE_ENR_CALL \
1466    _TRACE2D(_HOOKWORD(TRCID_FM_CLOSE_ENR), (Int32)(mm), (Int32)(atomic_read(&mm->mm_users)));
1467#define TRACE_TRCID_FM_CLOSE_CALL \
1468    _TRACE3D(_HOOKWORD(TRCID_FM_CLOSE), (Int32)(vma), (Int32)(inode), (Int32)((Int32)atomic_read((atomic_t *)&inode->i_count)));
1469#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_CALL \
1470    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER), (Int32)(fP), (Int32)(iP->i_ino), (Int32)(vma));
1471#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_A_CALL \
1472    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER_A), (Int32)(vma->vm_start), (Int32)(vma->vm_end), (Int32)(vma->vm_pgoff), (Int32)(vma->vm_flags));
1473#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_A1_CALL \
1474    _STrace(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER_A1), 3, 2, (Int32)(iP->i_ino), (Int32)(atomic_read((atomic_t *)&iP->i_count)), fP->f_dentry ? fP->f_dentry->d_name.name : (const unsigned char*)"", (Int32)(iP->i_data.nrpages));
1475#define TRACE_TRCID_LINUXOPS_MMAP_ENTER_AB_CALL \
1476    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_MMAP_ENTER_AB), (Int32)(mm), (Int32)(atomic_read(&mm->mm_users)));
1477#define TRACE_TRCID_LINUXOPS_MMAP_EXIT_CALL \
1478    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_MMAP_EXIT), (Int32)(rc), (Int32)(code));
1479#define TRACE_TRCID_LINUXOPS_OPEN_ENTER_CALL \
1480    _STrace(_HOOKWORD(TRCID_LINUXOPS_OPEN_ENTER), 6, 4, (Int32)(iP), (Int32)(fP), (Int32)(fP->f_flags), (Int32)(fP->f_dentry), fP->f_dentry? fP->f_dentry->d_name.name: (const unsigned char*)"", (Int32)(flags), (Int32)(cxiIsNFSThread()));
1481#define TRACE_TRCID_LINUXOPS_OPEN_01_CALL \
1482    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_OPEN_01), (Int32)(iP), (Int32)(cnP), (Int32)(fflags), (Int32)(amode));
1483#define TRACE_TRCID_LINUXOPS_OPEN_EXIT_CALL \
1484    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_OPEN_EXIT), (Int32)(iP), (Int32)((struct MMFSVInfo *)fP->private_data), (Int32)(code), (Int32)(rc));
1485#define TRACE_TRCID_LINUXOPS_CLOSE_ENTER_CALL \
1486    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_CLOSE_ENTER), (Int32)(iP), (Int32)(fP->f_flags), (Int32)(flags), (Int32)(vinfoP));
1487#define TRACE_TRCID_CLOSE_EXIT_CALL \
1488    _TRACE2D(_HOOKWORD(TRCID_CLOSE_EXIT), (Int32)(code), (Int32)(rc));
1489#define TRACE_TRCID_LINUXOPS_FSYNC_ENTER_CALL \
1490    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_FSYNC_ENTER), (Int32)(fP), (Int32)(direntP), (Int32)(datasync));
1491#define TRACE_TRCID_LINUXOPS_FSYNC_EXIT_CALL \
1492    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_FSYNC_EXIT), (Int32)(fP), (Int32)(rc));
1493#define TRACE_TRCID_LINUXOPS_FASYNC_ENTER_CALL \
1494    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_FASYNC_ENTER), (Int32)(fd), (Int32)(fP), (Int32)(on));
1495#define TRACE_TRCID_LINUXOPS_FASYNC_EXIT_CALL \
1496    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_FASYNC_EXIT), (Int32)(fP), (Int32)(rc));
1497#define TRACE_TRCID_LINUXOPS_LOCKCTL_ENTER_CALL \
1498    _XTrace(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_ENTER), "gpfs_f_lock enter: pid %d fp 0x%lX range 0x%lX:%lX cmd %s type %s\n", (Int32)(flP->fl_pid), (Int32)(fP), (Int32)(flP->fl_start), (Int32)(flP->fl_end), (cmd == F_GETLK) ? "GETLK" : (cmd == F_SETLK) ? "SETLK" : "SETLKW", (flP->fl_type == F_RDLCK) ? "RDLCK" :          (flP->fl_type == F_WRLCK) ? "WRLCK" : "UNLCK");
1499#define TRACE_TRCID_LINUXOPS_LOCKCTL_ENTER2_CALL \
1500    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_ENTER2), (Int32)(fP->f_pos), (Int32)(fP->f_dentry->d_inode), (Int32)(flP->fl_flags), (Int32)(eCred.principal), (Int32)(eCred.group));
1501#define TRACE_TRCID_LINUXOPS_LOCKCTL_DIAG2_CALL \
1502    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_DIAG2), (Int32)(fP), (Int32)(fP->f_dentry));
1503#define TRACE_TRCID_LINUXOPS_LOCKCTL_EXIT_CALL \
1504    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_LOCKCTL_EXIT), (Int32)(rc));
1505#define TRACE_TRCID_LINUX_FLOCK_ENTER_CALL \
1506    _TRACE5D(_HOOKWORD(TRCID_LINUX_FLOCK_ENTER), (Int32)(fP), (Int32)(flP), (Int32)(cmd), (Int32)(flP->fl_flags), (Int32)(flP->fl_type));
1507#define TRACE_TRCID_LINUX_FLOCK_EXIT_CALL \
1508    _TRACE1D(_HOOKWORD(TRCID_LINUX_FLOCK_EXIT), (Int32)(rc));
1509#define TRACE_TRCID_LINUXOPS_RDWRINT_ENTER_CALL \
1510    _STrace(_HOOKWORD(TRCID_LINUXOPS_RDWRINT_ENTER), 11, 11, (Int32)(fP), (Int32)(fP->f_flags), (Int32)(flags), (Int32)(op), (Int32)(iovecP), (Int32)(count), High32(*offsetP), Low32(*offsetP), (Int32)(fP->f_dentry), (Int32)(fP->private_data), (Int32)(fP->f_dentry->d_inode), fP->f_dentry->d_name.name);
1511#define TRACE_TRCID_LINUXOPS_RDWRINT_EXIT_CALL \
1512    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_RDWRINT_EXIT), (Int32)(fP), (Int32)(total_len), (Int32)(tmp_uio.uio_resid), High32(tmp_uio.uio_offset), Low32(tmp_uio.uio_offset), (Int32)(rc));
1513#define TRACE_TRCID_LINUXOPS_READ_DIR_CALL \
1514    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READ_DIR), (Int32)(fP));
1515#define TRACE_TRCID_LINUXOPS_SHARE_ENTER_CALL \
1516    _STrace(_HOOKWORD(TRCID_LINUXOPS_SHARE_ENTER), 4, 2, (Int32)(fP), (Int32)(iP? iP->i_ino: -1), dentryP? dentryP->d_name.name: (const unsigned char*)"", (Int32)(share_access), (Int32)(share_deny));
1517#define TRACE_TRCID_LINUXOPS_SHARE_RESET_CALL \
1518    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_SHARE_RESET), (Int32)(fP), (Int32)(iP), (Int32)(iP? VP_TO_PVP(fP->f_dentry->d_inode): NULL));
1519#define TRACE_TRCID_LINUXOPS_SHARE_EXIT_CALL \
1520    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_SHARE_EXIT), (Int32)(err));
1521#define TRACE_TRCID_LINUXOPS_DELEGATE_ENTER_CALL \
1522    _STrace(_HOOKWORD(TRCID_LINUXOPS_DELEGATE_ENTER), 3, 2, (Int32)(fP), (Int32)(iP? iP->i_ino: -1), dentryP? dentryP->d_name.name: (const unsigned char*)"", (Int32)(delegate_access));
1523#define TRACE_TRCID_LINUXOPS_DELEGATE_EXIT_CALL \
1524    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_DELEGATE_EXIT), (Int32)(err));
1525#define TRACE_TRCID_PRINTINODE_1_CALL \
1526    _TRACE7D(_HOOKWORD(TRCID_PRINTINODE_1), (Int32)(iP), (Int32)(iP->i_ino), (Int32)(iP->i_ino), (Int32)(atomic_read((atomic_t *)&iP->i_count)), (Int32)(KDEV_INT(iP->i_rdev)), (Int32)(iP->i_mode), (Int32)(iP->i_nlink));
1527#define TRACE_TRCID_PRINTINODE_2_CALL \
1528    _TRACE6D(_HOOKWORD(TRCID_PRINTINODE_2), (Int32)(iP->i_uid), (Int32)(iP->i_gid), (Int32)(KDEV_INT(iP->i_rdev)), (Int32)(GET_INODETIME_SEC(iP->i_atime)), (Int32)(GET_INODETIME_SEC(iP->i_mtime)), (Int32)(GET_INODETIME_SEC(iP->i_ctime)));
1529#define TRACE_TRCID_PRINTINODE_4_CALL \
1530    _TRACE6D(_HOOKWORD(TRCID_PRINTINODE_4), High32(iP->i_size), Low32(iP->i_size), (Int32)(iP->i_blocks), (Int32)(iP->i_blocks), (Int32)(iP->i_version), (Int32)(iP->i_op));
1531#define TRACE_TRCID_PRINTINODE_5_CALL \
1532    _TRACE6D(_HOOKWORD(TRCID_PRINTINODE_5), (Int32)(iP->i_fop), (Int32)(iP->i_sb), (Int32)(iP->i_flags), (Int32)(iP->i_state), (Int32)(iP->i_generation), (Int32)(iP->PRVINODE));
1533#define TRACE_TRCID_PRINTINODE_6_CALL \
1534    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_6), (Int32)(&(iP->i_list)), (Int32)(iP->i_list.next), (Int32)(iP->i_list.prev));
1535#define TRACE_TRCID_PRINTINODE_7_CALL \
1536    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_7), (Int32)(&(iP->i_dentry)), (Int32)(iP->i_dentry.next), (Int32)(iP->i_dentry.prev));
1537#define TRACE_TRCID_PRINTINODE_8_CALL \
1538    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_8), (Int32)(&(iP->i_hash)), (Int32)(iP->i_hash.next), (Int32)(iP->i_hash.prev));
1539#define TRACE_TRCID_PRINTINODE_9_CALL \
1540    _TRACE3D(_HOOKWORD(TRCID_PRINTINODE_9), (Int32)(&(iP->i_hash)), (Int32)(iP->i_hash.next), (Int32)(*iP->i_hash.pprev));
1541#define TRACE_TRCID_PRINTDENTRY_1_CALL \
1542    _STraceNB(_HOOKWORD(TRCID_PRINTDENTRY_1), 2, 2, (Int32)(dP), (Int32)(atomic_read((atomic_t *)&dP->d_count)), dP->d_name.name);
1543#define TRACE_TRCID_PRINTDENTRY_2_CALL \
1544    _TRACE5D_NB(_HOOKWORD(TRCID_PRINTDENTRY_2), (Int32)(dP->d_time), (Int32)(dP->d_op), (Int32)(dP->d_flags), (Int32)(dP->d_parent), (Int32)(iP));
1545#define TRACE_TRCID_PRINTDENTRY_3A_CALL \
1546    _TRACE4D_NB(_HOOKWORD(TRCID_PRINTDENTRY_3A), (Int32)(iP->i_ino), (Int32)(atomic_read((atomic_t *)&iP->i_count)), (Int32)(list_entry(iP->i_dentry.next, struct dentry, d_alias)), (Int32)(list_entry(iP->i_dentry.prev, struct dentry, d_alias)));
1547#define TRACE_TRCID_PRINTDENTRY_3B_CALL \
1548    _TRACE2D_NB(_HOOKWORD(TRCID_PRINTDENTRY_3B), (Int32)(iP->i_ino), (Int32)(atomic_read((atomic_t *)&iP->i_count)));
1549#define TRACE_TRCID_PRINTDENTRY_4_CALL \
1550    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTDENTRY_4), (Int32)(&dP->d_child), (Int32)(dP->d_child.next), (Int32)(dP->d_child.prev));
1551#define TRACE_TRCID_PRINTDENTRY_5_CALL \
1552    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTDENTRY_5), (Int32)(&dP->d_subdirs), (Int32)(list_entry(dP->d_subdirs.next, struct dentry, d_child)), (Int32)(list_entry(dP->d_subdirs.prev, struct dentry, d_child)));
1553#define TRACE_TRCID_LINUXOPS_SETINODE_CALL \
1554    _TRACE8D(_HOOKWORD(TRCID_LINUXOPS_SETINODE), (Int32)(inodeP), (Int32)(inodeP->i_ino), (Int32)(atomic_read((atomic_t *)&inodeP->i_count)), (Int32)(inodeP->i_mode), (Int32)(attrP->va_xinfo), (Int32)(inodeP->i_nlink), High32(inodeP->i_size), Low32(inodeP->i_size));
1555#define TRACE_TRCID_CXIINVA_PERM_CALL \
1556    _TRACE3D(_HOOKWORD(TRCID_CXIINVA_PERM), (Int32)(cnP), (Int32)(inodeP->i_op == &gpfs_iops_stdperm), (Int32)(inodeP->i_op == &gpfs_dir_iops_stdperm));
1557#define TRACE_TRCID_LINUXOPS_CREATE_ENTER_CALL \
1558    _STrace(_HOOKWORD(TRCID_LINUXOPS_CREATE_ENTER), 3, 3, (Int32)(diP), (Int32)(dentryP), (Int32)(mode), dentryP->d_name.name);
1559#define TRACE_TRCID_LINUXOPS_CREATE_EXIT_CALL \
1560    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_CREATE_EXIT), (Int32)(newInodeP), (Int32)(iNum), (Int32)(iNum), (Int32)(rc));
1561#define TRACE_TRCID_LINUXOPS_LOOKUP_ENTER_CALL \
1562    _STrace(_HOOKWORD(TRCID_LINUXOPS_LOOKUP_ENTER), 2, 2, (Int32)(diP), (Int32)(dentryP), dentryP->d_name.name);
1563#define TRACE_TRCID_LINUXOPS_LOOKUP_STALE_CALL \
1564    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LOOKUP_STALE), (Int32)(diP), (Int32)(diP->i_ino));
1565#define TRACE_TRCID_LINUXOPS_LOOKUP_EXIT_CALL \
1566    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_LOOKUP_EXIT), (Int32)(newInodeP), (Int32)(iNum), (Int32)(iNum), (Int32)(cnP), (Int32)(retP), (Int32)(code), (Int32)(rc));
1567#define TRACE_TRCID_LINUXOPS_LINK_ENTER_CALL \
1568    _STrace(_HOOKWORD(TRCID_LINUXOPS_LINK_ENTER), 3, 3, (Int32)(diP), (Int32)(oldDentryP), (Int32)(dentryP), dentryP->d_name.name);
1569#define TRACE_TRCID_LINUXOPS_LINK_EXIT_CALL \
1570    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_LINK_EXIT), (Int32)(diP), (Int32)(iP), (Int32)(rc));
1571#define TRACE_TRCID_LINUXOPS_UNLINK_ENTER_CALL \
1572    _STrace(_HOOKWORD(TRCID_LINUXOPS_UNLINK_ENTER), 3, 3, (Int32)(diP), (Int32)(iP), (Int32)(dentryP), dentryP->d_name.name);
1573#define TRACE_TRCID_LINUXOPS_UNLINK_EXIT_CALL \
1574    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_UNLINK_EXIT), (Int32)(diP), (Int32)(iP), (Int32)(rc));
1575#define TRACE_TRCID_LINUXOPS_SYMLINK1_CALL \
1576    _STrace(_HOOKWORD(TRCID_LINUXOPS_SYMLINK1), 2, 2, (Int32)(diP), (Int32)(dentryP), symlinkTargetP);
1577#define TRACE_TRCID_LINUXOPS_SYMLINK2_CALL \
1578    _STrace(_HOOKWORD(TRCID_LINUXOPS_SYMLINK2), 0, 0, dentryP->d_name.name);
1579#define TRACE_TRCID_LINUXOPS_SYMLINK_EXIT_CALL \
1580    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_SYMLINK_EXIT), (Int32)(newInodeP), (Int32)(iNum), (Int32)(iNum), (Int32)(rc));
1581#define TRACE_TRCID_LINUXOPS_MKDIR_ENTER_CALL \
1582    _STrace(_HOOKWORD(TRCID_LINUXOPS_MKDIR_ENTER), 2, 2, (Int32)(diP), (Int32)(mode), dentryP->d_name.name);
1583#define TRACE_TRCID_LINUXOPS_MKDIR_EXIT_CALL \
1584    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_MKDIR_EXIT), (Int32)(newInodeP), (Int32)(iNum), (Int32)(iNum), (Int32)(rc));
1585#define TRACE_TRCID_LINUXOPS_RMDIR_ENTER_CALL \
1586    _STrace(_HOOKWORD(TRCID_LINUXOPS_RMDIR_ENTER), 2, 2, (Int32)(diP), (Int32)(iP), dentryP->d_name.name);
1587#define TRACE_TRCID_LINUXOPS_RMDIR_EXIT_CALL \
1588    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_RMDIR_EXIT), (Int32)(diP), (Int32)(iP), (Int32)(rc));
1589#define TRACE_TRCID_LINUXOPS_MKNOD_ENTER_CALL \
1590    _STrace(_HOOKWORD(TRCID_LINUXOPS_MKNOD_ENTER), 3, 3, (Int32)(diP), (Int32)(mode), (Int32)((int)rdev), dentryP->d_name.name);
1591#define TRACE_TRCID_LINUXOPS_MKNOD_EXIT_CALL \
1592    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_MKNOD_EXIT), (Int32)(newInodeP), (Int32)(iNum), (Int32)(iNum), (Int32)(rc));
1593#define TRACE_TRCID_LINUXOPS_RENAME_1_CALL \
1594    _XTrace(_HOOKWORD(TRCID_LINUXOPS_RENAME_1), "gpfs_i_rename enter: iP 0x%lX dvP 0x%lX name '%s'"          " tiP 0x%lX tdiP 0x%lX new name '%s'\n", (Int32)(iP), (Int32)(diP), dentryP->d_name.name, (Int32)(tiP), (Int32)(tdiP), tDentryP->d_name.name);
1595#define TRACE_TRCID_LINUXOPS_RENAME_EXIT_CALL \
1596    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_RENAME_EXIT), (Int32)(iP), (Int32)(rc));
1597#define TRACE_TRCID_LINUXOPS_READLINK_ENTER_CALL \
1598    _STrace(_HOOKWORD(TRCID_LINUXOPS_READLINK_ENTER), 4, 4, (Int32)(dentryP), (Int32)(bufP), (Int32)(buflen), (Int32)(iP), dentryP->d_name.name);
1599#define TRACE_TRCID_LINUXOPS_READLINK_EXIT_CALL \
1600    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READLINK_EXIT), (Int32)(iP), (Int32)(tmpUio.uio_resid), (Int32)(tmpUio.uio_offset), (Int32)(rc));
1601#define TRACE_TRCID_LINUXOPS_FOLLOW_LINK_ENTER_CALL \
1602    _STrace(_HOOKWORD(TRCID_LINUXOPS_FOLLOW_LINK_ENTER), 1, 1, (Int32)(dentry->d_inode), dentry->d_name.name);
1603#define TRACE_TRCID_LINUXOPS_FOLLOW_LINK_1_CALL \
1604    _STrace(_HOOKWORD(TRCID_LINUXOPS_FOLLOW_LINK_1), 1, 1, (Int32)(rc), buf);
1605#define TRACE_TRCID_LINUXOPS_FOLLOW_LINK_2_CALL \
1606    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_FOLLOW_LINK_2), (Int32)(dentry->d_inode), (Int32)(rc));
1607#define TRACE_TRCID_LINUXOPS_PUTLINK_CALL \
1608    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_PUTLINK), (Int32)(dentry), (Int32)(nd), (Int32)(!IS_ERR(buf)? buf : NULL));
1609#define TRACE_TRCID_LINUXOPS_BMAP_CALL \
1610    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_BMAP));
1611#define TRACE_TRCID_LINUXOPS_TRUNCATE_CALL \
1612    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TRUNCATE), (Int32)(iP));
1613#define TRACE_TRCID_LINUXOPS_ACCESS_ENTER_CALL \
1614    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_ACCESS_ENTER), (Int32)(iP), (Int32)(mode), (Int32)(current->fsuid), (Int32)(current->fsgid), (Int32)(iP->i_mode), (Int32)(cnP->xinfo));
1615#define TRACE_TRCID_LINUXOPS_ACCESS_EXIT_CALL \
1616    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_ACCESS_EXIT), (Int32)(iP), (Int32)(iP->i_op == &gpfs_iops_stdperm), (Int32)(iP->i_op == &gpfs_dir_iops_stdperm), (Int32)(rc));
1617#define TRACE_TRCID_LINUXOPS_SMAP_CALL \
1618    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_SMAP));
1619#define TRACE_TRCID_LINUXOPS_UPDATEPAGE_CALL \
1620    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_UPDATEPAGE));
1621#define TRACE_TRCID_LINUXOPS_REVALIDATE_ENTER_CALL \
1622    _STrace(_HOOKWORD(TRCID_LINUXOPS_REVALIDATE_ENTER), 3, 3, (Int32)(dentryP), (Int32)(dentryP->d_inode), (Int32)((iP) ? iP->i_ino : -1), dentryP->d_name.name);
1623#define TRACE_TRCID_LINUXOPS_REVALIDATE_STALE_CALL \
1624    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_REVALIDATE_STALE), (Int32)(iP), (Int32)(iP->i_ino));
1625#define TRACE_TRCID_REVAL_DELAY_CALL \
1626    _TRACE1D(_HOOKWORD(TRCID_REVAL_DELAY), (Int32)(howLong));
1627#define TRACE_TRCID_REVAL_DELAY_END_CALL \
1628    _TRACE1D(_HOOKWORD(TRCID_REVAL_DELAY_END), (Int32)(howLong));
1629#define TRACE_TRCID_LINUXOPS_REVALIDATE_EXIT_CALL \
1630    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_REVALIDATE_EXIT), (Int32)(dentryP), (Int32)(code), (Int32)(rc));
1631#define TRACE_TRCID_LINUXOPS_SETATTR_ENTER_CALL \
1632    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETATTR_ENTER), (Int32)(iP), (Int32)(aP->ia_valid));
1633#define TRACE_TRCID_LINUXOPS_SETATTR_EXIT_CALL \
1634    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_SETATTR_EXIT), (Int32)(iP), (Int32)(code), (Int32)(rc));
1635#define TRACE_TRCID_LINUXOPS_GETATTR_ENTER_CALL \
1636    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_GETATTR_ENTER), (Int32)(iP));
1637#define TRACE_TRCID_LINUXOPS_GETATTR_EXIT_CALL \
1638    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETATTR_EXIT), (Int32)(iP), (Int32)(rc));
1639#define TRACE_TRCID_LINUXOPS_GETEXTATTR_ENTER_CALL \
1640    _STrace(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_ENTER), 3, 1, (Int32)(iP), (name) ? name : "NULL", (Int32)(buf), (Int32)(buf_size));
1641#define TRACE_TRCID_LINUXOPS_GETEXTATTR_EXIT0_CALL \
1642    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_EXIT0), (Int32)(iP), (Int32)(xattr.valueLen));
1643#define TRACE_TRCID_LINUXOPS_GETEXTATTR_EXIT_CALL \
1644    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_EXIT), (Int32)(iP), (Int32)(rc));
1645#define TRACE_TRCID_LINUXOPS_GETEXTATTR_EXIT2_CALL \
1646    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETEXTATTR_EXIT2), (Int32)(iP), (Int32)(rc));
1647#define TRACE_TRCID_LINUXOPS_SETEXTATTR_ENTER_CALL \
1648    _STrace(_HOOKWORD(TRCID_LINUXOPS_SETEXTATTR_ENTER), 4, 1, (Int32)(iP), (name) ? name : "NULL", (Int32)(buf), (Int32)(buf_size), (Int32)(ext_flags));
1649#define TRACE_TRCID_LINUXOPS_SETEXTATTR_EXIT_CALL \
1650    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETEXTATTR_EXIT), (Int32)(iP), (Int32)(rc));
1651#define TRACE_TRCID_LINUXOPS_LISTXATTR_IN_CALL \
1652    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_LISTXATTR_IN), (Int32)(iP), (Int32)(buf), (Int32)(buf_size));
1653#define TRACE_TRCID_LINUXOPS_LISTXTATTR_EXIT0_CALL \
1654    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LISTXTATTR_EXIT0), (Int32)(iP), (Int32)(xattr.valueLen));
1655#define TRACE_TRCID_LINUXOPS_LISTXTATTR_EXIT_CALL \
1656    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_LISTXTATTR_EXIT), (Int32)(iP), (Int32)(rc));
1657#define TRACE_TRCID_LINUXOPS_REMOVEXATTR_IN_CALL \
1658    _STrace(_HOOKWORD(TRCID_LINUXOPS_REMOVEXATTR_IN), 1, 1, (Int32)(iP), (name) ? name : "NULL");
1659#define TRACE_TRCID_LINUXOPS_REMOVEXATTR_EXIT_CALL \
1660    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_REMOVEXATTR_EXIT), (Int32)(iP), (Int32)(rc));
1661#define TRACE_TRCID_VNODE_BKL_CALL \
1662    _TRACE2D(_HOOKWORD(TRCID_VNODE_BKL), (Int32)(kernel_locked()), (Int32)(current->lock_depth));
1663#define TRACE_TRCID_LINUXOPS_GPFS_ALLOC_INODE_EXIT_CALL \
1664    _TRACE1D_NB(_HOOKWORD(TRCID_LINUXOPS_GPFS_ALLOC_INODE_EXIT), (Int32)(iP));
1665#define TRACE_TRCID_LINUXOPS_GPFS_DESTROY_INODE_CALL \
1666    _TRACE1D_NB(_HOOKWORD(TRCID_LINUXOPS_GPFS_DESTROY_INODE), (Int32)((void *)iP));
1667#define TRACE_TRCID_LINUXOPS_READINODE_ENTER_CALL \
1668    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_READINODE_ENTER), (Int32)(iP), (Int32)(inum));
1669#define TRACE_TRCID_LINUXOPS_NEW_VNODE_1_CALL \
1670    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_1), (Int32)(iP), (Int32)(cnP), (Int32)(sizeof(iP->u) - sizeof(void *)), (Int32)(CXINODE_SIZE));
1671#define TRACE_TRCID_LINUXOPS_READINODE_EXIT_CALL \
1672    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_READINODE_EXIT), (Int32)(iP), (Int32)(rc));
1673#define TRACE_TRCID_LINUXOPS_READINODE_EXIT_BAD_CALL \
1674    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READINODE_EXIT_BAD), (Int32)(iP));
1675#define TRACE_TRCID_LINUXOPS_READINODE_HUH_CALL \
1676    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_READINODE_HUH));
1677#define TRACE_TRCID_LINUXOPS_DELETE_INODE_CALL \
1678    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_DELETE_INODE), (Int32)(iP), (Int32)(iP->i_ino), (Int32)(isGPFS));
1679#define TRACE_TRCID_LINUXOPS_DELETE_INODE_1_CALL \
1680    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_DELETE_INODE_1), (Int32)(iP), (Int32)(cnP));
1681#define TRACE_TRCID_LINUXOPS_NOTIFY_ENTER_CALL \
1682    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_NOTIFY_ENTER), (Int32)(dentryP->d_inode), (Int32)(attrP));
1683#define TRACE_TRCID_LINUXOPS_NOTIFY_EXIT_CALL \
1684    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_NOTIFY_EXIT), (Int32)(dentryP->d_inode), (Int32)(rc));
1685#define TRACE_TRCID_LINUXOPS_PUTSUPER_ENTER_CALL \
1686    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_PUTSUPER_ENTER), (Int32)(sbP), (Int32)(sbP->s_dev));
1687#define TRACE_TRCID_LINUXOPS_PUTSUPER_EXIT_CALL \
1688    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_PUTSUPER_EXIT), (Int32)(rc));
1689#define TRACE_TRCID_LINUXOPS_STATFS_ENTER_CALL \
1690    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_STATFS_ENTER), (Int32)(sbP), (Int32)(len));
1691#define TRACE_TRCID_LINUXOPS_STATFS_EXIT_CALL \
1692    _TRACE9D(_HOOKWORD(TRCID_LINUXOPS_STATFS_EXIT), High32(statfs.f_blocks), Low32(statfs.f_blocks), High32(statfs.f_bfree), Low32(statfs.f_bfree), (Int32)(bufP->f_files), (Int32)(bufP->f_ffree), (Int32)(bufP->f_bsize), (Int32)(code), (Int32)(rc));
1693#define TRACE_TRCID_LINUXOPS_UMOUNT_ENTER_CALL \
1694    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_UMOUNT_ENTER), (Int32)(sbP), (Int32)(sbP->s_dev), (Int32)(current->fs ? current->fs->rootmnt : NULL), (Int32)(current->fs ? current->fs->pwdmnt : NULL));
1695#define TRACE_TRCID_LINUXOPS_UMOUNT_EXIT_CALL \
1696    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_UMOUNT_EXIT), (Int32)(sbP), (Int32)(privVfsP), (Int32)(dmrc), (Int32)(atomic_read(&sbP->s_active)), (Int32)(sbP->s_count), (Int32)(!list_empty(&sbP->s_files)));
1697#define TRACE_TRCID_LINUXOPS_REMOUNT_CALL \
1698    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_REMOUNT));
1699#define TRACE_TRCID_LINUXOPS_WRITEINODE_CALL \
1700    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_WRITEINODE));
1701#define TRACE_TRCID_LINUXOPS_CLEARINODE_CALL \
1702    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_CLEARINODE), (Int32)(iP), (Int32)(iP->i_ino), (Int32)(iP->PRVINODE));
1703#define TRACE_TRCID_LINUXOPS_CLEARINODE_DETAILS_CALL \
1704    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_CLEARINODE_DETAILS), (Int32)(VP_TO_CNP(iP)), (Int32)(VP_TO_PVP(iP)), (Int32)(NODE_TOO_BIG_FOR_OSNODE(CXINODE_SIZE)));
1705#define TRACE_TRCID_LINUXOPS_CLEARINODE_EXIT_CALL \
1706    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_CLEARINODE_EXIT), (Int32)(iP), (Int32)(iP->PRVINODE), (Int32)(code));
1707#define TRACE_TRCID_LINUXOPS_WRITESUPER_CALL \
1708    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_WRITESUPER), (Int32)(sbP));
1709#define TRACE_TRCID_LINUXOPS_WRITESUPER_3_CALL \
1710    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_WRITESUPER_3));
1711#define TRACE_TRCID_LINUXOPS_WRITESUPER_5_CALL \
1712    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_WRITESUPER_5), (Int32)(sbP), (Int32)(rc));
1713#define TRACE_TRCID_LINUXOPS_GET_SB_CALL \
1714    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_GET_SB), (Int32)(flags), (Int32)(dataP), (Int32)(sbP));
1715#define TRACE_TRCID_LINUXOPS_READSUPER_1_CALL \
1716    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_1), 3, 3, (Int32)(sbP), (Int32)(sbP->s_dev), (Int32)(silent), ((char *)dataP == NULL) ? "" : dataP);
1717#define TRACE_TRCID_LINUXOPS_READSUPER_2_CALL \
1718    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_2), 0, 0, (sbP->s_bdev == NULL) ? "" : SBLOCK_BDEVNAME(sbP,bname));
1719#define TRACE_TRCID_LINUXOPS_READSUPER_3_CALL \
1720    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_3), (Int32)(sbP->s_flags));
1721#define TRACE_TRCID_LINUXOPS_READSUPER_OPTIONS_CALL \
1722    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_OPTIONS), 0, 0, strP ? (char *) strP:"");
1723#define TRACE_TRCID_LINUXOPS_READSUPER_STARTHELPER_CALL \
1724    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_STARTHELPER), 0, 0, mmfs_path);
1725#define TRACE_TRCID_LINUXOPS_READSUPER_STARTHELPER1_CALL \
1726    _STrace(_HOOKWORD(TRCID_LINUXOPS_READSUPER_STARTHELPER1), 2, 2, (Int32)(sbP->s_flags), (Int32)(restricted), mountpointP);
1727#define TRACE_TRCID_LINUXOPS_READSUPER_HELPERRC_CALL \
1728    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_HELPERRC), (Int32)(mountHelperID));
1729#define TRACE_TRCID_LINUXOPS_READSUPER_SUCCEED_CALL \
1730    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_SUCCEED), (Int32)(sbP));
1731#define TRACE_TRCID_LINUXOPS_READSUPER_FAILED_CALL \
1732    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_READSUPER_FAILED), (Int32)(code), (Int32)(rc));
1733#define TRACE_TRCID_LINUXOPS_REGFS_CALL \
1734    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_REGFS), (Int32)(shutdownSuperP), (Int32)(rc));
1735#define TRACE_TRCID_LINUXOPS_UNREGFS_CALL \
1736    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_UNREGFS), (Int32)(rc));
1737#define TRACE_TRCID_LINUXOPS_KILLMMFSD_CALL \
1738    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_KILLMMFSD), (Int32)(mmfsd_id));
1739#define TRACE_TRCID_LINUXOPS_EXECMMFS_EXIT_CALL \
1740    _STrace(_HOOKWORD(TRCID_LINUXOPS_EXECMMFS_EXIT), 1, 1, (Int32)(errno), mmfs_path);
1741#define TRACE_TRCID_LINUXOPS_FORK_MOUNTHELPER_CALL \
1742    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_FORK_MOUNTHELPER), (Int32)(mount_id));
1743#define TRACE_TRCID_SET_MOUNT_INFO_CALL \
1744    _TRACE4D(_HOOKWORD(TRCID_SET_MOUNT_INFO), (Int32)(sbP), (Int32)(rootIP), (Int32)(cnRootP), (Int32)(gnRootP));
1745#define TRACE_TRCID_LINUXOPS_CXIUNMOUNT_ENTER_CALL \
1746    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_CXIUNMOUNT_ENTER), (Int32)(privVfsP), (Int32)(sbP), (Int32)(force), (Int32)(doDMEvents));
1747#define TRACE_TRCID_LINUXOPS_CXIUNMOUNT_EXIT_CALL \
1748    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_CXIUNMOUNT_EXIT), (Int32)(rc), (Int32)(dmrc));
1749#define TRACE_TRCID_LINUXOPS_REACTIVATE_VNODE_CALL \
1750    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_REACTIVATE_VNODE), (Int32)(osVfsP), (Int32)(cnP), (Int32)(osNodePP));
1751#define TRACE_TRCID_LINUXOPS_INODEFINDACTOR_CALL \
1752    _TRACE4D_NB(_HOOKWORD(TRCID_LINUXOPS_INODEFINDACTOR), (Int32)(iP), (Int32)(iP->i_state), (Int32)(VP_TO_CNP(iP)), (Int32)(is_bad_inode(iP)));
1753#define TRACE_TRCID_LINUXOPS_INODEFINDACTOR2_CALL \
1754    _TRACE3D_NB(_HOOKWORD(TRCID_LINUXOPS_INODEFINDACTOR2), (Int32)(iP), (Int32)(iP->i_state), (Int32)(VP_TO_CNP(iP)));
1755#define TRACE_TRCID_LINUXOPS_NEW_VNODE_CALL \
1756    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE), (Int32)(sbP), (Int32)(inum), (Int32)(nodeSize));
1757#define TRACE_TRCID_LINUXOPS_NEW_BAD_CALL \
1758    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_NEW_BAD), (Int32)(iP));
1759#define TRACE_TRCID_LINUXOPS_NEW_VNODE_2_CALL \
1760    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_2), (Int32)(iP), (Int32)(iP->i_ino), (Int32)(iP->i_state), (Int32)(VP_TO_CNP(iP)), (Int32)(is_bad_inode(iP)));
1761#define TRACE_TRCID_LINUXOPS_NEW_VNODE_EXIT_CALL \
1762    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_EXIT), (Int32)(*osNodePP), (Int32)(*cnPP), (Int32)(rc));
1763#define TRACE_TRCID_LINUXOPS_NEW_VNODE_BAD_CALL \
1764    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_NEW_VNODE_BAD), (Int32)(nodeSize), (Int32)(CXINODE_SIZE));
1765#define TRACE_TRCID_LINUXOPS_DELETE_VNODE_CALL \
1766    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_DELETE_VNODE), (Int32)(sbP), (Int32)(cnP), (Int32)(iP), (Int32)(iP ? iP->i_ino : -1), (Int32)(iP ? atomic_read((atomic_t *)&iP->i_count) : 0));
1767#define TRACE_TRCID_LINUXOPS_DELETE_MMAP_CALL \
1768    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_DELETE_MMAP), (Int32)(segid));
1769#define TRACE_TRCID_LINUXOPS_REINIT_VNODE_CALL \
1770    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_REINIT_VNODE), (Int32)(sbP), (Int32)(cnP), (Int32)(iP));
1771#define TRACE_TRCID_LINUXOPS_DUMP_VNODE_CALL \
1772    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_DUMP_VNODE), (Int32)(cnP), (Int32)(iP));
1773#define TRACE_TRCID_LINUXOPS_IGRABINODEFINDACTOR_CALL \
1774    _TRACE3D_NB(_HOOKWORD(TRCID_LINUXOPS_IGRABINODEFINDACTOR), (Int32)(iP), (Int32)(iP->i_state), (Int32)((struct inode *) opaqueP));
1775#define TRACE_TRCID_LINUXOPS_REF_VNODE_CALL \
1776    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_REF_VNODE), (Int32)(osVfsP), (Int32)(cnP), (Int32)(iP), (Int32)(ino), (Int32)(holdCount));
1777#define TRACE_TRCID_LINUXOPS_INACTIVE_VNODE_CALL \
1778    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_INACTIVE_VNODE), (Int32)(sbP), (Int32)(cnP), (Int32)(iP), (Int32)(holdCount), (Int32)(*canCacheP), (Int32)(*hasReferencesP));
1779#define TRACE_TRCID_LINUXOPS_PUT_OSNODE_CALL \
1780    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_PUT_OSNODE), (Int32)(iP), (Int32)(iP->i_ino), (Int32)(holdCount-1));
1781#define TRACE_TRCID_LINUXOPS_DESTROY_OSNODE_CALL \
1782    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_DESTROY_OSNODE), (Int32)(iP), (Int32)(iP->i_ino), (Int32)(holdCount), (Int32)(iP->i_nlink));
1783#define TRACE_TRCID_CXIUPDATE_INODE_3_CALL \
1784    _TRACE4D(_HOOKWORD(TRCID_CXIUPDATE_INODE_3), (Int32)(iP), (Int32)(GET_INODETIME_SEC(iP->i_atime)), (Int32)(GET_INODETIME_SEC(iP->i_mtime)), (Int32)(GET_INODETIME_SEC(iP->i_ctime)));
1785#define TRACE_TRCID_CXIUPDATE_INODE_1_CALL \
1786    _TRACE8D(_HOOKWORD(TRCID_CXIUPDATE_INODE_1), (Int32)(what), (Int32)(iP->i_mode), (Int32)(iP->i_uid), (Int32)(iP->i_gid), (Int32)(iP->i_nlink), High32(iP->i_size), Low32(iP->i_size), (Int32)(iP->i_blocks));
1787#define TRACE_TRCID_LINUXOPS_CANUNCACHE_OSNODE_CALL \
1788    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_CANUNCACHE_OSNODE), (Int32)(cnP), (Int32)(vP), (Int32)(osVfsP), (Int32)((iP ? iP->i_sb : 0)), (Int32)((iP ? iP->i_ino : 0)), (Int32)(count));
1789#define TRACE_TRCID_LINUXOPS_ADD_OSNODE_CALL \
1790    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_ADD_OSNODE), (Int32)(dentryP), (Int32)(vP), (Int32)(d_unhashed(dP)));
1791#define TRACE_TRCID_LINUXOPS_LOCFS_ENTER_CALL \
1792    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_LOCFS_ENTER), (Int32)(sbP));
1793#define TRACE_TRCID_LINUXOPS_LOCFS_EXIT_CALL \
1794    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_LOCFS_EXIT), (Int32)(sbP), (Int32)(code), (Int32)(rc));
1795#define TRACE_TRCID_NFSD_IGET_DENTRY_1_CALL \
1796    _TRACE2D(_HOOKWORD(TRCID_NFSD_IGET_DENTRY_1), (Int32)(inode->i_ino), (Int32)(generation));
1797#define TRACE_TRCID_NFSD_IGET_31_CALL \
1798    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_31), (Int32)(result->d_flags), (Int32)(atomic_read(&result->d_count)), (Int32)(result->d_inode), (Int32)(result->d_time));
1799#define TRACE_TRCID_NFSD_IGET_41_CALL \
1800    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_41), (Int32)(inode->i_ino), (Int32)(inode->i_nlink), (Int32)(atomic_read(&inode->i_count)), (Int32)(inode->i_generation), (Int32)(generation), (Int32)(inode->i_state), (Int32)(inode->i_flags));
1801#define TRACE_TRCID_NFSD_IGET_3_CALL \
1802    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_3), (Int32)(result->d_flags), (Int32)(atomic_read(&result->d_count)), (Int32)(result->d_inode), (Int32)(result->d_time));
1803#define TRACE_TRCID_NFSD_IGET_4_CALL \
1804    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_4), (Int32)(inode->i_ino), (Int32)(inode->i_nlink), (Int32)(atomic_read(&inode->i_count)), (Int32)(inode->i_generation), (Int32)(generation), (Int32)(inode->i_state), (Int32)(inode->i_flags));
1805#define TRACE_TRCID_NFSD_IGET_5_CALL \
1806    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_5), (Int32)(result->d_flags), (Int32)(atomic_read(&result->d_count)), (Int32)(result->d_inode), (Int32)(result->d_time));
1807#define TRACE_TRCID_NFSD_IGET_6_CALL \
1808    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_6), (Int32)(inode->i_ino), (Int32)(inode->i_nlink), (Int32)(atomic_read(&inode->i_count)), (Int32)(inode->i_generation), (Int32)(generation), (Int32)(inode->i_state), (Int32)(inode->i_flags));
1809#define TRACE_TRCID_NFSD_IGET_7_CALL \
1810    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_7), (Int32)(result->d_flags), (Int32)(atomic_read(&result->d_count)), (Int32)(result->d_inode), (Int32)(result->d_time));
1811#define TRACE_TRCID_NFSD_IGET_8_CALL \
1812    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_8), (Int32)(inode->i_ino), (Int32)(inode->i_nlink), (Int32)(atomic_read(&inode->i_count)), (Int32)(inode->i_generation), (Int32)(generation), (Int32)(inode->i_state), (Int32)(inode->i_flags));
1813#define TRACE_TRCID_NFSD_IGET_9_CALL \
1814    _TRACE4D(_HOOKWORD(TRCID_NFSD_IGET_9), (Int32)(result->d_flags), (Int32)(atomic_read(&result->d_count)), (Int32)(result->d_inode), (Int32)(result->d_time));
1815#define TRACE_TRCID_NFSD_IGET_10_CALL \
1816    _TRACE7D(_HOOKWORD(TRCID_NFSD_IGET_10), (Int32)(inode->i_ino), (Int32)(inode->i_nlink), (Int32)(atomic_read(&inode->i_count)), (Int32)(inode->i_generation), (Int32)(generation), (Int32)(inode->i_state), (Int32)(inode->i_flags));
1817#define TRACE_TRCID_NFSD_IGET_1_CALL \
1818    _TRACE6D(_HOOKWORD(TRCID_NFSD_IGET_1), (Int32)(sbP), (Int32)(ino), (Int32)(argP->inodeNum), (Int32)(argP->snapId), (Int32)(argP->filesetId), (Int32)(generation));
1819#define TRACE_TRCID_NFSD_IGET_BAD_CALL \
1820    _TRACE1D(_HOOKWORD(TRCID_NFSD_IGET_BAD), (Int32)(inode));
1821#define TRACE_TRCID_NFSD_IGET_2_CALL \
1822    _TRACE5D(_HOOKWORD(TRCID_NFSD_IGET_2), (Int32)(inode), (Int32)(inode->i_ino), (Int32)(inode->i_state), (Int32)(VP_TO_CNP(inode)), (Int32)(is_bad_inode(inode)));
1823#define TRACE_TRCID_GET_DPARENT_ENTER_CALL \
1824    _TRACE2D(_HOOKWORD(TRCID_GET_DPARENT_ENTER), (Int32)(child), (Int32)(child->d_inode->i_ino));
1825#define TRACE_TRCID_GET_DPARENT_EXIT_CALL \
1826    _TRACE4D(_HOOKWORD(TRCID_GET_DPARENT_EXIT), (Int32)(child), (Int32)(iNum), (Int32)(result), (Int32)(IS_ERR(result)? PTR_ERR(result): 0));
1827#define TRACE_TRCID_DECODE_FH_1_CALL \
1828    _TRACE4D(_HOOKWORD(TRCID_DECODE_FH_1), (Int32)(sbP), (Int32)(fh), (Int32)(len), (Int32)(fhtype));
1829#define TRACE_TRCID_DECODE_FH_2_CALL \
1830    _TRACE4D(_HOOKWORD(TRCID_DECODE_FH_2), (Int32)(sbP), (Int32)(fh), (Int32)(result), (Int32)(IS_ERR(result)? PTR_ERR(result): 0));
1831#define TRACE_TRCID_DECODE_FH_3_CALL \
1832    _TRACE2D(_HOOKWORD(TRCID_DECODE_FH_3), (Int32)(sbP), (Int32)(fh));
1833#define TRACE_TRCID_FH_TO_DENTRY_1_CALL \
1834    _TRACE5D(_HOOKWORD(TRCID_FH_TO_DENTRY_1), (Int32)(sbP), (Int32)(fh), (Int32)(len), (Int32)(fhtype), (Int32)(parent));
1835#define TRACE_TRCID_FH_TO_DENTRY_2_CALL \
1836    _TRACE4D(_HOOKWORD(TRCID_FH_TO_DENTRY_2), (Int32)(sbP), (Int32)(fh), (Int32)(result), (Int32)(IS_ERR(result)? PTR_ERR(result): 0));
1837#define TRACE_TRCID_FH_TO_DENTRY_3_CALL \
1838    _TRACE2D(_HOOKWORD(TRCID_FH_TO_DENTRY_3), (Int32)(sbP), (Int32)(fh));
1839#define TRACE_TRCID_FCNTLLOCK_ENTER_CALL \
1840    _XTrace(_HOOKWORD(TRCID_FCNTLLOCK_ENTER), "cxiFcntlLock posix_lock_file: pid %d owner 0x%X inodeP 0x%X "          "range 0x%lX-%lX cmd %s type %s\n", (Int32)(flP->fl_pid), (Int32)(flP->fl_owner), (Int32)(advObjP), (Int32)(flP->fl_start), (Int32)(flP->fl_end), (cmd == F_GETLK) ? "GETLK" : (cmd == F_SETLK) ? "SETLK" : "SETLKW", (flP->fl_type == F_RDLCK) ? "RDLCK" :          (flP->fl_type == F_WRLCK) ? "WRLCK" : "UNLCK");
1841#define TRACE_TRCID_FCNTLLOCK_GETLK_CALL \
1842    _STrace(_HOOKWORD(TRCID_FCNTLLOCK_GETLK), 5, 5, (Int32)(flP->fl_pid), (Int32)(flP->fl_owner), (Int32)(advObjP), (Int32)(flP->fl_start), (Int32)(flP->fl_end), (flP->fl_type == F_RDLCK) ? "RDLCK" :            (flP->fl_type == F_WRLCK) ? "WRLCK" : "UNLCK");
1843#define TRACE_TRCID_FCNTLLOCK_EXIT_CALL \
1844    _TRACE2D(_HOOKWORD(TRCID_FCNTLLOCK_EXIT), (Int32)(rc), (Int32)(cflP));
1845#define TRACE_TRCID_SLEEP_CALL \
1846    _TRACE1D(_HOOKWORD(TRCID_SLEEP), (Int32)(ms));
1847#define TRACE_TRCID_SLEEP_END_CALL \
1848    _TRACE2D(_HOOKWORD(TRCID_SLEEP_END), (Int32)(ms), (Int32)(HZ));
1849#define TRACE_TRCID_OPENNFS_CALL \
1850    _TRACE7D(_HOOKWORD(TRCID_OPENNFS), (Int32)(inodeP), (Int32)((inodeP) ? inodeP->i_ino : -1), (Int32)((inodeP) ? inodeP->i_ino : -1), (Int32)((inodeP) ? inodeP->i_mode : -1), (Int32)((inodeP) ? inodeP->i_nlink : -1), (Int32)((inodeP) ? inodeP->PRVINODE : NULL), (Int32)(refcount));
1851#define TRACE_TRCID_CXISTART_KPROC_LINUX_CALL \
1852    _STrace(_HOOKWORD(TRCID_CXISTART_KPROC_LINUX), 1, 0, kpdP->nameP, (Int32)(kpdP->pid));
1853#define TRACE_TRCID_CXISTOP_KPROC_LINUX_CALL \
1854    _STrace(_HOOKWORD(TRCID_CXISTOP_KPROC_LINUX), 1, 0, kpdP->nameP, (Int32)(kpdP->pid));
1855#define TRACE_TRCID_PANIC_CALL \
1856    _STrace(_HOOKWORD(TRCID_PANIC), 0, 0, panicStrP);
1857#define TRACE_TRCID_MODULE_LOGASSERT_1_CALL \
1858    _STrace(_HOOKWORD(TRCID_MODULE_LOGASSERT_1), 2, 0, failingExpr, (Int32)(retCode), (Int32)(reasonCode));
1859#define TRACE_TRCID_MODULE_LOGASSERT_2_CALL \
1860    _STrace(_HOOKWORD(TRCID_MODULE_LOGASSERT_2), 1, 0, srcFileName, (Int32)(srcLineNumber));
1861#define TRACE_TRCID_CXISYSTEM_037_CALL \
1862    _TRACE4D(_HOOKWORD(TRCID_CXISYSTEM_037), (Int32)(kBufP), (Int32)(uioP), (Int32)(nBytes), (Int32)(toKernel));
1863#define TRACE_TRCID_CXISYSTEM_039a_CALL \
1864    _TRACE5D(_HOOKWORD(TRCID_CXISYSTEM_039a), (Int32)(rc), (Int32)(trcdata[0]), (Int32)(trcdata[1]), (Int32)(trcdata[2]), (Int32)(trcdata[3]));
1865#define TRACE_TRCID_CXISYSTEM_039_CALL \
1866    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_039), (Int32)(rc));
1867#define TRACE_TRCID_CXISYSTEM_041a_CALL \
1868    _TRACE5D(_HOOKWORD(TRCID_CXISYSTEM_041a), (Int32)(rc), (Int32)(trcdata[0]), (Int32)(trcdata[1]), (Int32)(trcdata[2]), (Int32)(trcdata[3]));
1869#define TRACE_TRCID_CXISYSTEM_041_CALL \
1870    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_041), (Int32)(rc));
1871#define TRACE_TRCID_CXISYSTEM_CHKTYPES_CALL \
1872    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_CHKTYPES), (Int32)(rc));
1873#define TRACE_TRCID_BM_INIT_CALL \
1874    _TRACE2D(_HOOKWORD(TRCID_BM_INIT), (Int32)(mP), (Int32)(bmNameIdx));
1875#define TRACE_TRCID_BM_ACQ_CALL \
1876    _TRACE4D(_HOOKWORD(TRCID_BM_ACQ), (Int32)(mP), (Int32)(mP->lockNameIndex), (Int32)(current), (Int32)(mP->bmOwnerP));
1877#define TRACE_TRCID_BM_ACQ_EXIT_CALL \
1878    _TRACE1D(_HOOKWORD(TRCID_BM_ACQ_EXIT), (Int32)(mP));
1879#define TRACE_TRCID_BM_REL_CALL \
1880    _TRACE4D(_HOOKWORD(TRCID_BM_REL), (Int32)(mP), (Int32)(mP->lockNameIndex), (Int32)(current), (Int32)(mP->bmOwnerP));
1881#define TRACE_TRCID_BM_TERM_CALL \
1882    _TRACE2D(_HOOKWORD(TRCID_BM_TERM), (Int32)(mP), (Int32)(mP->lockNameIndex));
1883#define TRACE_TRCID_CXISYSTEM_017_CALL \
1884    _TRACE2D(_HOOKWORD(TRCID_CXISYSTEM_017), (Int32)(ownerP), (Int32)(result));
1885#define TRACE_TRCID_CXISYSTEM_018_CALL \
1886    _TRACE2D(_HOOKWORD(TRCID_CXISYSTEM_018), (Int32)(mP), (Int32)(result));
1887#define TRACE_TRCID_CXISYSTEM_EVENT_WAIT_ENTER_CALL \
1888    _TRACE3D(_HOOKWORD(TRCID_CXISYSTEM_EVENT_WAIT_ENTER), (Int32)(weP), (Int32)(waitFlags), (Int32)(mutexP));
1889#define TRACE_TRCID_CXISYSTEM_EVENT_WAIT_EXIT_CALL \
1890    _TRACE3D(_HOOKWORD(TRCID_CXISYSTEM_EVENT_WAIT_EXIT), (Int32)(weP), (Int32)(mutexP), (Int32)(waitElement.wakeupRC));
1891#define TRACE_TRCID_CXISYSTEM_SIGNAL_CALL \
1892    _TRACE1D_NB(_HOOKWORD(TRCID_CXISYSTEM_SIGNAL), (Int32)(weP));
1893#define TRACE_TRCID_CXISYSTEM_WAKEUP_ONE_CALL \
1894    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_WAKEUP_ONE), (Int32)(weP));
1895#define TRACE_TRCID_CXISYSTEM_BROADCAST_CALL \
1896    _TRACE1D(_HOOKWORD(TRCID_CXISYSTEM_BROADCAST), (Int32)(weP));
1897#define TRACE_TRCID_CXISYSTEM_BROADCAST_RC_CALL \
1898    _TRACE2D(_HOOKWORD(TRCID_CXISYSTEM_BROADCAST_RC), (Int32)(weP), (Int32)(rc));
1899#define TRACE_TRCID_CXICHECKOPEN_ENTRY_CALL \
1900    _TRACE3D(_HOOKWORD(TRCID_CXICHECKOPEN_ENTRY), (Int32)(count), (Int32)(inodeP->i_ino), (Int32)(inodeP));
1901#define TRACE_TRCID_CXICHECKOPEN_FOUND_CALL \
1902    _TRACE1D(_HOOKWORD(TRCID_CXICHECKOPEN_FOUND), (Int32)(fileP->private_data));
1903#define TRACE_TRCID_SEND_BREAK_CALL \
1904    _TRACE1D(_HOOKWORD(TRCID_SEND_BREAK), (Int32)(ofP));
1905#define TRACE_TRCID_BREAKWAIT_CALL \
1906    _TRACE3D(_HOOKWORD(TRCID_BREAKWAIT), (Int32)(fileArgP), (Int32)(oplockCurrent), (Int32)(timeoutSeconds));
1907#define TRACE_TRCID_BREAKWAIT_EXIT_CALL \
1908    _TRACE0D(_HOOKWORD(TRCID_BREAKWAIT_EXIT));
1909#define TRACE_TRCID_DMS_STARTED_CALL \
1910    _TRACE3D(_HOOKWORD(TRCID_DMS_STARTED), (Int32)(idx), (Int32)(delay), (Int32)(jiffies/HZ));
1911#define TRACE_TRCID_DMS_STOPPED_CALL \
1912    _TRACE2D(_HOOKWORD(TRCID_DMS_STOPPED), (Int32)(idx), (Int32)(jiffies/HZ));
1913#define TRACE_TRCID_CXIREGISTERCLEANUP_EXIT_CALL \
1914    _TRACE4D(_HOOKWORD(TRCID_CXIREGISTERCLEANUP_EXIT), (Int32)(cleanupFD), (Int32)(iP), (Int32)(rc), (Int32)(code));
1915#define TRACE_TRCID_FDDISCARD1_CALL \
1916    _STrace(_HOOKWORD(TRCID_FDDISCARD1), 2, 2, (Int32)(fdP), (Int32)(shP), fdP->fdFuncNameP);
1917#define TRACE_TRCID_FDDISCARD2_CALL \
1918    _STrace(_HOOKWORD(TRCID_FDDISCARD2), 2, 2, (Int32)(fdP), (Int32)(shP), fdP->fdFuncNameP);
1919#define TRACE_TRCID_FDENTRY_CALL \
1920    _STrace(_HOOKWORD(TRCID_FDENTRY), 4, 2, (Int32)(fdP), (Int32)(shP), fdP->fdFuncNameP, (Int32)(shP->shCurrentP), (Int32)(fdP->fdStackUsed));
1921#define TRACE_TRCID_IMPLIED_EXIT_CALL \
1922    _STrace(_HOOKWORD(TRCID_IMPLIED_EXIT), 0, 0, popP->fdFuncNameP);
1923#define TRACE_TRCID_NEWMAX_EXTEND_CALL \
1924    _TRACE2D(_HOOKWORD(TRCID_NEWMAX_EXTEND), (Int32)(fdP->fdStackUsed), (Int32)(fdP));
1925#define TRACE_TRCID_NEWMAX_CALL \
1926    _TRACE2D(_HOOKWORD(TRCID_NEWMAX), (Int32)(fdP->fdStackUsed), (Int32)(fdP));
1927#define TRACE_TRCID_FDEXIT_CALL \
1928    _STrace(_HOOKWORD(TRCID_FDEXIT), 3, 2, (Int32)(p), (Int32)(shP), p->fdFuncNameP, (Int32)(shP->shCurrentP));
1929#define TRACE_TRCID_FDEXIT_NOTFOUND_CALL \
1930    _STrace(_HOOKWORD(TRCID_FDEXIT_NOTFOUND), 0, 0, funcnameP);
1931#define TRACE_TRCID_KTRACE_LINUX_ENTER_CALL \
1932    _XTrace(_HOOKWORD(TRCID_KTRACE_LINUX_ENTER), "-->K %s (%s:%d) level %d stackUsed %d\n", funcnameP, filenameP, (Int32)(lineNum), (Int32)(level), (Int32)(stackUsed));
1933#define TRACE_TRCID_KTRACE_LINUX_EXIT_CALL \
1934    _STrace(_HOOKWORD(TRCID_KTRACE_LINUX_EXIT), 0, 0, funcnameP);
1935#define TRACE_TRCID_KIBD_NEW_CALL \
1936    _TRACE1D(_HOOKWORD(TRCID_KIBD_NEW), (Int32)(kibdP));
1937#define TRACE_TRCID_KIBD_DELETE_CALL \
1938    _TRACE1D(_HOOKWORD(TRCID_KIBD_DELETE), (Int32)(kibdP));
1939#define TRACE_TRCID_DEALLOC_KIBD_1_CALL \
1940    _TRACE4D(_HOOKWORD(TRCID_DEALLOC_KIBD_1), (Int32)(kibdPrevP), (Int32)(kibdPrevP->kibdVaddr), (Int32)(kibdPrevP->kibdPages), (Int32)(kibdP));
1941#define TRACE_TRCID_DEALLOC_KIBD_2_CALL \
1942    _TRACE4D(_HOOKWORD(TRCID_DEALLOC_KIBD_2), (Int32)(kibdPrevP), (Int32)(kibdPrevP->kibdVaddr), (Int32)(kibdPrevP->kibdPages), (Int32)(kibdP));
1943#define TRACE_TRCID_ALLOC_KIBD_1_CALL \
1944    _TRACE3D(_HOOKWORD(TRCID_ALLOC_KIBD_1), (Int32)(kibdP), (Int32)(kibdP->kibdVaddr), (Int32)(kibdPrevP->kibdPages));
1945#define TRACE_TRCID_ALLOC_KIBD_2_CALL \
1946    _TRACE5D(_HOOKWORD(TRCID_ALLOC_KIBD_2), (Int32)(vaddr), (Int32)(mapPages), (Int32)(totalPages), (Int32)(kibdHeadP), (Int32)(rc));
1947#define TRACE_TRCID_KIBD_INIT_CALL \
1948    _TRACE0D(_HOOKWORD(TRCID_KIBD_INIT));
1949#define TRACE_TRCID_KIBD_TERM_CALL \
1950    _TRACE0D(_HOOKWORD(TRCID_KIBD_TERM));
1951#define TRACE_TRCID_BHC_CACHE_DESTROY_CALL \
1952    _TRACE1D(_HOOKWORD(TRCID_BHC_CACHE_DESTROY), (Int32)(rc));
1953#define TRACE_TRCID_KIBD_CACHE_DESTROY_CALL \
1954    _TRACE1D(_HOOKWORD(TRCID_KIBD_CACHE_DESTROY), (Int32)(rc));
1955#define TRACE_TRCID_KIBDPIN_ENTER_CALL \
1956    _TRACE2D(_HOOKWORD(TRCID_KIBDPIN_ENTER), (Int32)(vaddr), (Int32)(len));
1957#define TRACE_TRCID_KIBDPIN_EXIT_CALL \
1958    _TRACE1D(_HOOKWORD(TRCID_KIBDPIN_EXIT), (Int32)(headP));
1959#define TRACE_TRCID_KIBD_UNPIN_ALL_ENTER_CALL \
1960    _TRACE0D(_HOOKWORD(TRCID_KIBD_UNPIN_ALL_ENTER));
1961#define TRACE_TRCID_KIBD_UNPIN_ALL_EXIT_CALL \
1962    _TRACE0D(_HOOKWORD(TRCID_KIBD_UNPIN_ALL_EXIT));
1963#define TRACE_TRCID_ATTACH_ENTER_CALL \
1964    _TRACE1D(_HOOKWORD(TRCID_ATTACH_ENTER), (Int32)(OffsetToDataPtr(iobP,0,0)));
1965#define TRACE_TRCID_ATTACH_KIBD_CALL \
1966    _TRACE2D(_HOOKWORD(TRCID_ATTACH_KIBD), (Int32)(iobP->kernelIOBufferDescP), (Int32)(newPinCount));
1967#define TRACE_TRCID_DETACH_KIBD_CALL \
1968    _TRACE3D(_HOOKWORD(TRCID_DETACH_KIBD), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(attachP->kDescP), (Int32)(iobP->pinCount));
1969#define TRACE_TRCID_UXFER_LINUX_CALL \
1970    _TRACE5D(_HOOKWORD(TRCID_UXFER_LINUX), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(kibdP), (Int32)(toIOBuffer), (Int32)(bufOffset), (Int32)(len));
1971#define TRACE_TRCID_UXFER_UIOMOVE_CALL \
1972    _TRACE4D(_HOOKWORD(TRCID_UXFER_UIOMOVE), (Int32)(pageIndex), (Int32)(kaddr), (Int32)(pageOffset), (Int32)(pageLen));
1973#define TRACE_TRCID_XMEMXFER_LINUX_CALL \
1974    _TRACE5D(_HOOKWORD(TRCID_XMEMXFER_LINUX), (Int32)(userAddrP), (Int32)(len), (Int32)(udataP), (Int32)(kibdP), (Int32)(toXmem));
1975#define TRACE_TRCID_XMEMFER_COPY_CALL \
1976    _TRACE4D(_HOOKWORD(TRCID_XMEMFER_COPY), (Int32)(pageIndex), (Int32)(kaddrP), (Int32)(pageOffset), (Int32)(pageLen));
1977#define TRACE_TRCID_KXFER_LINUX_CALL \
1978    _TRACE6D(_HOOKWORD(TRCID_KXFER_LINUX), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(kibdP), (Int32)(toIOBuffer), (Int32)(bufOffset), (Int32)(len), (Int32)(kBufP));
1979#define TRACE_TRCID_KXFER_MEMCPY_CALL \
1980    _TRACE5D(_HOOKWORD(TRCID_KXFER_MEMCPY), (Int32)(kibdP), (Int32)(pageIndex), (Int32)(kaddr), (Int32)(pageOffset), (Int32)(pageLen));
1981#define TRACE_TRCID_KZERO_LINUX_CALL \
1982    _TRACE4D(_HOOKWORD(TRCID_KZERO_LINUX), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(kibdP), (Int32)(bufOffset), (Int32)(len));
1983#define TRACE_TRCID_KZERO_MEMSET_CALL \
1984    _TRACE4D(_HOOKWORD(TRCID_KZERO_MEMSET), (Int32)(pageIndex), (Int32)(kaddr), (Int32)(pageOffset), (Int32)(pageLen));
1985#define TRACE_TRCID_MAP_DISCONTIG_ENTER_CALL \
1986    _TRACE3D(_HOOKWORD(TRCID_MAP_DISCONTIG_ENTER), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(kibdP), (Int32)(iobP->ioBufLen));
1987#define TRACE_TRCID_MAP_DISCONTIG_KMAP_CALL \
1988    _TRACE4D(_HOOKWORD(TRCID_MAP_DISCONTIG_KMAP), (Int32)(dirIndex), (Int32)(kibdP), (Int32)(pageP), (Int32)(kaddr));
1989#define TRACE_TRCID_UNMAP_DISCONTIG_ENTER_CALL \
1990    _TRACE4D(_HOOKWORD(TRCID_UNMAP_DISCONTIG_ENTER), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(iobP->kernelIOBufferDescP), (Int32)(iobP->ioBufLen), (Int32)(discontigP->mappedLen));
1991#define TRACE_TRCID_UNMAP_DISCONTIG_KUNMAP_CALL \
1992    _TRACE3D(_HOOKWORD(TRCID_UNMAP_DISCONTIG_KUNMAP), (Int32)(pageIndex), (Int32)(pageP), (Int32)(discontigP->userPagePointerArray[pageIndex]));
1993#define TRACE_TRCID_MAP_CONTIG_ENTER_CALL \
1994    _TRACE4D(_HOOKWORD(TRCID_MAP_CONTIG_ENTER), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(kibdP), (Int32)(bufOffset), (Int32)(len));
1995#define TRACE_TRCID_MAP_CONTIG_KMAP_CALL \
1996    _TRACE2D(_HOOKWORD(TRCID_MAP_CONTIG_KMAP), (Int32)(pageP), (Int32)(*contigBasePP));
1997#define TRACE_TRCID_MAP_CONTIG_VMALLOC_CALL \
1998    _TRACE1D(_HOOKWORD(TRCID_MAP_CONTIG_VMALLOC), (Int32)(tempBufP));
1999#define TRACE_TRCID_UNMAP_CONTIG_VFREE_CALL \
2000    _TRACE2D(_HOOKWORD(TRCID_UNMAP_CONTIG_VFREE), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(contigP->mallocedBaseP));
2001#define TRACE_TRCID_UNMAP_CONTIG_KUNMAP_CALL \
2002    _TRACE2D(_HOOKWORD(TRCID_UNMAP_CONTIG_KUNMAP), (Int32)(OffsetToDataPtr(iobP,0,0)), (Int32)(contigP->pageP));
2003#define TRACE_TRCID_KDOIO_LINUX_CALL \
2004    _TRACE7D(_HOOKWORD(TRCID_KDOIO_LINUX), (Int32)(kibdP), (Int32)(isWrite), (Int32)(dev), High32(startSector), Low32(startSector), (Int32)(nSectors), (Int32)(bufOffset));
2005#define TRACE_TRCID_KDOIO_LINUX_BH_PAGENUM_CALL \
2006    _TRACE6D(_HOOKWORD(TRCID_KDOIO_LINUX_BH_PAGENUM), (Int32)(bhP), High32(startSector), Low32(startSector), (Int32)(sectorsThisBH), (Int32)(bhP->b_state), (Int32)((int)(pageP-mem_map)));
2007#define TRACE_TRCID_KDOIO_LINUX_BH_CALL \
2008    _TRACE7D(_HOOKWORD(TRCID_KDOIO_LINUX_BH), (Int32)(bhcP), (Int32)(bhP), High32(startSector), Low32(startSector), (Int32)(sectorsThisBH), (Int32)(bhP->b_state), (Int32)(pageP));
2009#define TRACE_TRCID_DISKINFO_CALL \
2010    _TRACE4D(_HOOKWORD(TRCID_DISKINFO), (Int32)(devId), (Int32)(diskInfoP->sectorSize), High32(diskInfoP->totalSectors), Low32(diskInfoP->totalSectors));
2011#define TRACE_TRCID_KDOIO_LINUX_BIO_CALL \
2012    _TRACE7D(_HOOKWORD(TRCID_KDOIO_LINUX_BIO), (Int32)(kibdP), (Int32)(isWrite), (Int32)(dev), High32(startSector), Low32(startSector), (Int32)(nSectors), (Int32)(bufOffset));
2013#define TRACE_TRCID_KDOIO_LINUX_BIO_PAGENUM_CALL \
2014    _TRACE6D(_HOOKWORD(TRCID_KDOIO_LINUX_BIO_PAGENUM), (Int32)(bioP), (Int32)(iovIndex), High32(startSector), Low32(startSector), (Int32)(sectorsThisPage), (Int32)((int)(pageP-mem_map)));
2015#define TRACE_TRCID_KDOIO_LINUX_BIO_PAGE_CALL \
2016    _TRACE7D(_HOOKWORD(TRCID_KDOIO_LINUX_BIO_PAGE), (Int32)(bhcP), (Int32)(bioP), (Int32)(iovIndex), High32(startSector), Low32(startSector), (Int32)(sectorsThisPage), (Int32)(pageP));
2017#define TRACE_TRCID_GET_DISKINFOX_CALL \
2018    _TRACE4D(_HOOKWORD(TRCID_GET_DISKINFOX), (Int32)(devId), (Int32)(diskInfoP->sectorSize), High32(diskInfoP->totalSectors), Low32(diskInfoP->totalSectors));
2019#define TRACE_TRCID_KWAITIO_BIO_CALL \
2020    _TRACE5D(_HOOKWORD(TRCID_KWAITIO_BIO), (Int32)(bhP), (Int32)(bioP), (Int32)(bioP->bi_sector), (Int32)(bioP->bi_size), (Int32)(bioP->bi_flags));
2021#define TRACE_TRCID_KWAITIO_BH_CALL \
2022    _TRACE4D(_HOOKWORD(TRCID_KWAITIO_BH), (Int32)(bhP), (Int32)(bhP->b_blocknr), (Int32)(bhP->b_size), (Int32)(bhP->b_state));
2023#define TRACE_TRCID_KWAITIO_BIO_ERR_CALL \
2024    _TRACE5D(_HOOKWORD(TRCID_KWAITIO_BIO_ERR), (Int32)(bhP), (Int32)(bioP), (Int32)(bioP->bi_sector), (Int32)(bioP->bi_size), (Int32)(bioP->bi_flags));
2025#define TRACE_TRCID_KWAITIO_BH_ERR_CALL \
2026    _TRACE4D(_HOOKWORD(TRCID_KWAITIO_BH_ERR), (Int32)(bhP), (Int32)(bhP->b_blocknr), (Int32)(bhP->b_size), (Int32)(bhP->b_state));
2027#define TRACE_TRCID_KWAITIO_BH_BUSY_CALL \
2028    _TRACE2D(_HOOKWORD(TRCID_KWAITIO_BH_BUSY), (Int32)(p), (Int32)(atomic_read(&p->nBHActive)));
2029#define TRACE_TRCID_LINUXOPS_TSSTAT_ENTER_CALL \
2030    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSSTAT_ENTER), (Int32)(iP), (Int32)(statP));
2031#define TRACE_TRCID_LINUXOPS_TSSTAT_EXIT_CALL \
2032    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSSTAT_EXIT), (Int32)(code), (Int32)(rc));
2033#define TRACE_TRCID_LINUXOPS_TSFSTAT_ENTER_CALL \
2034    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSFSTAT_ENTER), (Int32)(fileDesc), (Int32)(fP), (Int32)(iP), (Int32)(statP));
2035#define TRACE_TRCID_LINUXOPS_TSFSTAT_EXIT_CALL \
2036    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSFSTAT_EXIT), (Int32)(code), (Int32)(rc));
2037#define TRACE_TRCID_LINUXOPS_TSFATTR_ENTER_CALL \
2038    _TRACE8D(_HOOKWORD(TRCID_LINUXOPS_TSFATTR_ENTER), (Int32)(fileDesc), (Int32)(fP), (Int32)(fP->f_flags), (Int32)(flags), (Int32)(iP), (Int32)(command), (Int32)(argP), (Int32)(rCodeP));
2039#define TRACE_TRCID_LINUXOPS_TSFATTR_EXIT_CALL \
2040    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSFATTR_EXIT), (Int32)(code), (Int32)(rc));
2041#define TRACE_TRCID_LINUXOPS_TSFSATTR_ENTER_CALL \
2042    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSFSATTR_ENTER), (Int32)(tsfsattrcmd_id2name(command)));
2043#define TRACE_TRCID_LINUXOPS_TSFSATTR_EXIT_CALL \
2044    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSFSATTR_EXIT), (Int32)(rc));
2045#define TRACE_TRCID_LINUXOPS_TSATTR_ENTER_CALL \
2046    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSATTR_ENTER), (Int32)(iP), (Int32)(command), (Int32)(argP), (Int32)(rCodeP));
2047#define TRACE_TRCID_LINUXOPS_TSATTR_EXIT_CALL \
2048    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_TSATTR_EXIT), (Int32)(code), (Int32)(rc));
2049#define TRACE_TRCID_LINUXOPS_KXGETACL_EXIT_CALL \
2050    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_KXGETACL_EXIT), (Int32)(code), (Int32)(rc));
2051#define TRACE_TRCID_LINUXOPS_KXPUTACL_EXIT_CALL \
2052    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_KXPUTACL_EXIT), (Int32)(code), (Int32)(rc));
2053#define TRACE_TRCID_SMBOPENLOCKCONTROL_ENTERL_CALL \
2054    _TRACE2D(_HOOKWORD(TRCID_SMBOPENLOCKCONTROL_ENTERL), (Int32)(command), (Int32)(lockmode));
2055#define TRACE_TRCID_SMBOPENLOCKCONTROL_EXITL_CALL \
2056    _TRACE1D(_HOOKWORD(TRCID_SMBOPENLOCKCONTROL_EXITL), (Int32)(rc));
2057#define TRACE_TRCID_LINUXOPS_SETSMBOPLOCK_E_CALL \
2058    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_SETSMBOPLOCK_E), (Int32)(fP), (Int32)(accessWant), (Int32)(oplockWant), (Int32)(breakArgP), (Int32)(isAsync));
2059#define TRACE_TRCID_LINUXOPS_SETSMBOPLOCK_X_CALL \
2060    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETSMBOPLOCK_X), (Int32)(*oplockGrantedP), (Int32)(rc));
2061#define TRACE_TRCID_LINUX_SHARE_ENTER_CALL \
2062    _TRACE6D(_HOOKWORD(TRCID_LINUX_SHARE_ENTER), (Int32)(fd), (Int32)(fP), (Int32)(iP->i_ino), (Int32)(vinfoP), (Int32)(share), (Int32)(deny));
2063#define TRACE_TRCID_SHARE_RESET_CALL \
2064    _TRACE4D(_HOOKWORD(TRCID_SHARE_RESET), (Int32)(fd), (Int32)(fP), (Int32)(vinfoP), (Int32)(iP->i_ino));
2065#define TRACE_TRCID_LINUX_SHARE_EXIT_CALL \
2066    _TRACE1D(_HOOKWORD(TRCID_LINUX_SHARE_EXIT), (Int32)(rc));
2067#define TRACE_TRCID_DELEGATE_ENTER_CALL \
2068    _TRACE5D(_HOOKWORD(TRCID_DELEGATE_ENTER), (Int32)(fd), (Int32)(fP), (Int32)(iP->i_ino), (Int32)(vinfoP), (Int32)(delegate_access));
2069#define TRACE_TRCID_DELEGATE_EXIT_CALL \
2070    _TRACE1D(_HOOKWORD(TRCID_DELEGATE_EXIT), (Int32)(rc));
2071#define TRACE_TRCID_KXUMOUNT_ENT_CALL \
2072    _STrace(_HOOKWORD(TRCID_KXUMOUNT_ENT), 3, 1, (Int32)(type), kxnode, (Int32)(force), (Int32)(*ret_err));
2073#define TRACE_TRCID_KXUMOUNT_EXT_CALL \
2074    _TRACE4D(_HOOKWORD(TRCID_KXUMOUNT_EXT), (Int32)(dmrc), (Int32)(*ret_err), (Int32)(rc), (Int32)(code));
2075#define TRACE_TRCID_SS_019_CALL \
2076    _TRACE2D(_HOOKWORD(TRCID_SS_019), (Int32)(filp), (Int32)(inode));
2077#define TRACE_TRCID_SS_023_CALL \
2078    _TRACE1D(_HOOKWORD(TRCID_SS_023), (Int32)(filp));
2079#define TRACE_TRCID_SS_059_CALL \
2080    _TRACE1D(_HOOKWORD(TRCID_SS_059), (Int32)(nbytes));
2081#define TRACE_TRCID_SS_065_CALL \
2082    _TRACE1D(_HOOKWORD(TRCID_SS_065), (Int32)(nbytes));
2083#define TRACE_TRCID_SS_075_CALL \
2084    _TRACE5D(_HOOKWORD(TRCID_SS_075), (Int32)(op), (Int32)(ss_ioctl_op[op]), (Int32)(kx_args), (Int32)(inode), (Int32)(file));
2085#define TRACE_TRCID_SS_077_CALL \
2086    _TRACE1D(_HOOKWORD(TRCID_SS_077), (Int32)(op));
2087#define TRACE_TRCID_SS_081_CALL \
2088    _TRACE1D(_HOOKWORD(TRCID_SS_081), (Int32)(major));
2089#define TRACE_TRCID_SS_083_CALL \
2090    _TRACE1D(_HOOKWORD(TRCID_SS_083), (Int32)(GPFSIoctlMajorNumber));
2091#define TRACE_TRCID_UNPROT_ENTER_CALL \
2092    _TRACE3D_NB(_HOOKWORD(TRCID_UNPROT_ENTER), (Int32)(vaddr), (Int32)(len), (Int32)(allocating));
2093#define TRACE_TRCID_REPROT_ENTER_CALL \
2094    _TRACE2D(_HOOKWORD(TRCID_REPROT_ENTER), (Int32)(vaddr), (Int32)(len));
2095#define TRACE_TRCID_SHKERN_INIT_CALL \
2096    _TRACE2D(_HOOKWORD(TRCID_SHKERN_INIT), (Int32)(VMALLOC_START), (Int32)(VMALLOC_END));
2097#define TRACE_TRCID_CALC_MAX_SHARED_CALL \
2098    _TRACE5D(_HOOKWORD(TRCID_CALC_MAX_SHARED), (Int32)(actualBytes), (Int32)(desiredBytes), (Int32)(physMemSize), (Int32)(vmUsed), (Int32)(maxBytes));
2099#define TRACE_TRCID_ALLOC_SHARED_VMALLOC_CALL \
2100    _TRACE2D(_HOOKWORD(TRCID_ALLOC_SHARED_VMALLOC), (Int32)(actualBytes), (Int32)(minBytes));
2101#define TRACE_TRCID_ALLOC_SHARED_EXIT_CALL \
2102    _TRACE4D(_HOOKWORD(TRCID_ALLOC_SHARED_EXIT), (Int32)(mappingP->vaddr), (Int32)(mappingP->kBytes), (Int32)(rc), (Int32)(code));
2103#define TRACE_TRCID_FREEALL_VFREE_CALL \
2104    _TRACE2D(_HOOKWORD(TRCID_FREEALL_VFREE), (Int32)(chunkP->vaddrP), (Int32)(chunkP));
2105#define TRACE_TRCID_MAPALL_MULTI_CALL \
2106    _TRACE1D_NB(_HOOKWORD(TRCID_MAPALL_MULTI), (Int32)(chunkP));
2107#define TRACE_TRCID_UNMAPALL_MULTI_CALL \
2108    _TRACE1D_NB(_HOOKWORD(TRCID_UNMAPALL_MULTI), (Int32)(chunkP));
2109#define TRACE_TRCID_SSINIT_003_CALL \
2110    _TRACE1D(_HOOKWORD(TRCID_SSINIT_003), (Int32)(GPFSIoctlMajorNumber));
2111#define TRACE_TRCID_CXI_MAP_PRIVATE_CALL \
2112    _TRACE5D(_HOOKWORD(TRCID_CXI_MAP_PRIVATE), (Int32)(inAddr), (Int32)(len), (Int32)(prot), (Int32)(*outAddr), (Int32)(vmaP));
2113#define TRACE_TRCID_MMAP_DIRTY_PAGE_DUMP_CALL \
2114    _STrace(_HOOKWORD(TRCID_MMAP_DIRTY_PAGE_DUMP), 7, 0, what, (Int32)(page), (Int32)(vma), (Int32)(page_count(page)), (Int32)(CPUToBigEnd32(trcbuf[0])), (Int32)(CPUToBigEnd32(trcbuf[1])), (Int32)(CPUToBigEnd32(trcbuf[2])), (Int32)(CPUToBigEnd32(trcbuf[3])));
2115#define TRACE_TRCID_MMAP_DIRTY_PAGE_DUMP_A_CALL \
2116    _STrace(_HOOKWORD(TRCID_MMAP_DIRTY_PAGE_DUMP_A), 7, 0, what, (Int32)(page), (Int32)(vma), (Int32)(page_count(page)), (Int32)(CPUToBigEnd32(trcbuf[4])), (Int32)(CPUToBigEnd32(trcbuf[5])), (Int32)(CPUToBigEnd32(trcbuf[6])), (Int32)(CPUToBigEnd32(trcbuf[7])));
2117#define TRACE_TRCID_MMAP_DIRTY_PAGE_DUMP_B_CALL \
2118    _STrace(_HOOKWORD(TRCID_MMAP_DIRTY_PAGE_DUMP_B), 7, 0, what, (Int32)(page), (Int32)(vma), (Int32)(page_count(page)), (Int32)(CPUToBigEnd32(trcbuf[8])), (Int32)(CPUToBigEnd32(trcbuf[9])), (Int32)(CPUToBigEnd32(trcbuf[10])), (Int32)(CPUToBigEnd32(trcbuf[11])));
2119#define TRACE_TRCID_MMAP_REG_ENTER_CALL \
2120    _TRACE0D(_HOOKWORD(TRCID_MMAP_REG_ENTER));
2121#define TRACE_TRCID_MMAP_UNREG_ENTER_CALL \
2122    _TRACE0D(_HOOKWORD(TRCID_MMAP_UNREG_ENTER));
2123#define TRACE_TRCID_MMAP_FILEPOS_ENTER_CALL \
2124    _TRACE2D(_HOOKWORD(TRCID_MMAP_FILEPOS_ENTER), High32(pos), Low32(pos));
2125#define TRACE_TRCID_MMAP_IO_ENTER_CALL \
2126    _TRACE5D(_HOOKWORD(TRCID_MMAP_IO_ENTER), (Int32)(bufP->b_flags), (Int32)(pageP), (Int32)(pageP->index), (Int32)(page_count(pageP)), (Int32)(pageP->flags));
2127#define TRACE_TRCID_MMAP_IO_EXIT_CALL \
2128    _TRACE2D(_HOOKWORD(TRCID_MMAP_IO_EXIT), (Int32)(pageP), (Int32)(pageP->flags));
2129#define TRACE_TRCID_MMAP_FLUSH_ENTER_CALL \
2130    _TRACE7D(_HOOKWORD(TRCID_MMAP_FLUSH_ENTER), (Int32)(cnP), (Int32)(inodeP->i_ino), (Int32)(cmopt), High32(start), Low32(start), High32(end), Low32(end));
2131#define TRACE_TRCID_MMAP_FLUSH_EXIT_CALL \
2132    _TRACE1D(_HOOKWORD(TRCID_MMAP_FLUSH_EXIT), (Int32)(rc));
2133#define TRACE_TRCID_CXIGETPAGE_CALL \
2134    _TRACE6D(_HOOKWORD(TRCID_CXIGETPAGE), (Int32)(pageP), (Int32)(pageP->index), (Int32)(page_count(pageP)), (Int32)(pageP->flags), (Int32)(pageP->mapping), (Int32)((rc != 0)));
2135#define TRACE_TRCID_CXIRELPAGE_CALL \
2136    _TRACE4D(_HOOKWORD(TRCID_CXIRELPAGE), (Int32)(pageP), (Int32)(pageP->index), (Int32)(page_count(pageP)), (Int32)(pageP->flags));
2137#define TRACE_TRCID_LINUXOPS_NOPAGE_CALL \
2138    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE), (Int32)(area), (Int32)(address), (Int32)(fileP), (Int32)(area->vm_mm), (Int32)(atomic_read(&area->vm_mm->mm_users)), (Int32)(noShare));
2139#define TRACE_TRCID_LINUXOPS_NOPAGE_1_CALL \
2140    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE_1), (Int32)(area->vm_start), (Int32)(area->vm_end), (Int32)(area->vm_flags), (Int32)(index));
2141#define TRACE_TRCID_LINUXOPS_NOPAGE_2_CALL \
2142    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE_2), (Int32)(pageP), (Int32)(page_count(pageP)), (Int32)(pageP->flags), (Int32)(atomic_read(&area->vm_mm->mm_users)));
2143#define TRACE_TRCID_LINUXOPS_NOPAGE_3_CALL \
2144    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_NOPAGE_3));
2145#define TRACE_TRCID_LINUXOPS_NOPAGEDONE_CALL \
2146    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_NOPAGEDONE), (Int32)(cnP), (Int32)(area), (Int32)(address), (Int32)(status));
2147#define TRACE_TRCID_LINUXOPS_READPAGE_ENTER_CALL \
2148    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READPAGE_ENTER), (Int32)(fileP), (Int32)(cnP), (Int32)(inodeP), (Int32)(inodeP->i_ino));
2149#define TRACE_TRCID_LINUXOPS_READPAGE_ENTER_A_CALL \
2150    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READPAGE_ENTER_A), (Int32)(pageP), (Int32)(index), (Int32)(page_count(pageP)), (Int32)(pageP->flags));
2151#define TRACE_TRCID_LINUXOPS_READPAGE1_CALL \
2152    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_READPAGE1), (Int32)(bufPageP), (Int32)(bufPageP->index), (Int32)(page_count(bufPageP)), (Int32)(bufPageP->flags));
2153#define TRACE_TRCID_LINUXOPS_READPAGE_EXIT_CALL \
2154    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_READPAGE_EXIT), (Int32)(inodeP), (Int32)(rc), (Int32)(code));
2155#define TRACE_TRCID_LINUXOPS_WRPAGE_ENTER_CALL \
2156    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_WRPAGE_ENTER), (Int32)(cnP), (Int32)(inodeP), (Int32)(inodeP->i_ino));
2157#define TRACE_TRCID_LINUXOPS_WRPAGE_ENTER_A_CALL \
2158    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_WRPAGE_ENTER_A), (Int32)(pageP), (Int32)(pageP->index), (Int32)(page_count(pageP)), (Int32)(pageP->flags));
2159#define TRACE_TRCID_LINUXOPS_WRPAGE_EXIT_CALL \
2160    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_WRPAGE_EXIT), (Int32)(inodeP), (Int32)(rc));
2161#define TRACE_TRCID_LINUXOPS_ACL2POSIX_ENTER_CALL \
2162    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX_ENTER), (Int32)(tmpaclP->aclLength), (Int32)(buf_size));
2163#define TRACE_TRCID_LINUXOPS_ACL2POSIX_2_CALL \
2164    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX_2), (Int32)(i), (Int32)(len), (Int32)(buf_size));
2165#define TRACE_TRCID_LINUXOPS_ACL2POSIX_CALL \
2166    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX), (Int32)(i), (Int32)(aclP->a_entries[i].e_tag), (Int32)(aceP->aceTagType), (Int32)(aclP->a_entries[i].e_id), (Int32)(aceP->aceQualifier), (Int32)(aclP->a_entries[i].e_perm), (Int32)(aceP->acePermissions));
2167#define TRACE_TRCID_LINUXOPS_ACL2POSIX_EXIT_CALL \
2168    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_ACL2POSIX_EXIT), (Int32)(rc));
2169#define TRACE_TRCID_LINUXOPS_POSIX2ACL_CALL \
2170    _TRACE6D(_HOOKWORD(TRCID_LINUXOPS_POSIX2ACL), (Int32)(i), (Int32)(aclP->a_entries[i].e_tag), (Int32)(aceP->aceTagType), (Int32)(aceP->aceQualifier), (Int32)(aclP->a_entries[i].e_perm), (Int32)(aceP->acePermissions));
2171#define TRACE_TRCID_LINUXOPS_SETACLATTR_ENTER_CALL \
2172    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_SETACLATTR_ENTER), (Int32)(iP), (Int32)(iP->i_ino), (Int32)(type), (Int32)(buf), (Int32)(buf_size));
2173#define TRACE_TRCID_LINUXOPS_SETACLATTR_EXIT_CALL \
2174    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SETACLATTR_EXIT), (Int32)(iP), (Int32)(rc));
2175#define TRACE_TRCID_LINUXOPS_GETACLATTR_ENTER_CALL \
2176    _TRACE3D(_HOOKWORD(TRCID_LINUXOPS_GETACLATTR_ENTER), (Int32)(iP), (Int32)(type), (Int32)(buf_size));
2177#define TRACE_TRCID_LINUXOPS_GETACLATTR_EXIT_CALL \
2178    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GETACLATTR_EXIT), (Int32)(iP), (Int32)(rc));
2179#define TRACE_TRCID_KTRACE_LINUX_EXIT_RC_CALL \
2180    _STrace(_HOOKWORD(TRCID_KTRACE_LINUX_EXIT_RC), 1, 0, funcnameP, (Int32)(rc));
2181#define TRACE_TRCID_PRINTSUPER_1_CALL \
2182    _TRACE4D_NB(_HOOKWORD(TRCID_PRINTSUPER_1), (Int32)(sbP), (Int32)(sbP->s_magic), (Int32)(sbP->s_type), (Int32)(SBLOCK_PRIVATE(sbP)));
2183#define TRACE_TRCID_PRINTSUPER_5_CALL \
2184    _TRACE4D_NB(_HOOKWORD(TRCID_PRINTSUPER_5), (Int32)(sbP->s_dev), (Int32)(sbP->s_count), (Int32)(atomic_read(&sbP->s_active)), (Int32)(sbP->s_umount.count));
2185#define TRACE_TRCID_PRINTALLSUPER_1_CALL \
2186    _TRACE0D_NB(_HOOKWORD(TRCID_PRINTALLSUPER_1));
2187#define TRACE_TRCID_PRINTALLSUPER_5_CALL \
2188    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTALLSUPER_5), (Int32)(sP->s_count), (Int32)(atomic_read(&sP->s_active)), (Int32)(sP->s_umount.count));
2189#define TRACE_TRCID_PRINTSUPER_3_CALL \
2190    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTSUPER_3), (Int32)(sbP->s_dev), (Int32)(sbP->s_count), (Int32)(atomic_read(&sbP->s_active)));
2191#define TRACE_TRCID_CXISYSTEM_EVENT_WAIT_INTERRUPTED_CALL \
2192    _TRACE3D_NB(_HOOKWORD(TRCID_CXISYSTEM_EVENT_WAIT_INTERRUPTED), (Int32)(weP), (Int32)(mutexP), (Int32)(waitElement.wakeupRC));
2193#define TRACE_TRCID_LINUXOPS_SENDFILE_ENTER_CALL \
2194    _TRACE5D(_HOOKWORD(TRCID_LINUXOPS_SENDFILE_ENTER), (Int32)(fP), High32(*offsetP), Low32(*offsetP), (Int32)(count), (Int32)(targetP));
2195#define TRACE_TRCID_LINUXOPS_SENDFILE_EXIT_CALL \
2196    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_SENDFILE_EXIT), (Int32)(rc), (Int32)(code));
2197#define TRACE_TRCID_LINUXOPS_GET_DEVICELIST_ENTER_CALL \
2198    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GET_DEVICELIST_ENTER), (Int32)(sbP), (Int32)(p));
2199#define TRACE_TRCID_GET_DEVICELIST_EXIT_CALL \
2200    _TRACE1D(_HOOKWORD(TRCID_GET_DEVICELIST_EXIT), (Int32)(rc));
2201#define TRACE_TRCID_LINUXOPS_GET_LAYOUT_ENTER_CALL \
2202    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GET_LAYOUT_ENTER), (Int32)(iP), (Int32)(p));
2203#define TRACE_TRCID_GET_LAYOUT_EXIT_CALL \
2204    _TRACE2D(_HOOKWORD(TRCID_GET_LAYOUT_EXIT), (Int32)(code), (Int32)(rc));
2205#define TRACE_TRCID_LINUXOPS_SET_STATEID_ENTER_CALL \
2206    _TRACE7D(_HOOKWORD(TRCID_LINUXOPS_SET_STATEID_ENTER), (Int32)(iP), (Int32)(nodeId), (Int32)(osP->devid), (Int32)(p), (Int32)(len), (Int32)(osP->verifier[0]), (Int32)(osP->verifier[1]));
2207#define TRACE_TRCID_SET_STETEID_EXIT_CALL \
2208    _TRACE2D(_HOOKWORD(TRCID_SET_STETEID_EXIT), (Int32)(code), (Int32)(rc));
2209#define TRACE_TRCID_LINUXOPS_LAYOUT_RET_ENTER_CALL \
2210    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_LAYOUT_RET_ENTER), (Int32)(iP));
2211#define TRACE_TRCID_LAYOUT_RET_EXIT_CALL \
2212    _TRACE2D(_HOOKWORD(TRCID_LAYOUT_RET_EXIT), (Int32)(rc), (Int32)(iP));
2213#define TRACE_TRCID_LINUXOPS_GET_DEVICEINFO_ENTER_CALL \
2214    _TRACE2D(_HOOKWORD(TRCID_LINUXOPS_GET_DEVICEINFO_ENTER), (Int32)(sbP), (Int32)(p));
2215#define TRACE_TRCID_GET_DEVICEINFO_EXIT_CALL \
2216    _TRACE1D(_HOOKWORD(TRCID_GET_DEVICEINFO_EXIT), (Int32)(rc));
2217#define TRACE_TRCID_PRINTDENTRY_3C_CALL \
2218    _TRACE3D_NB(_HOOKWORD(TRCID_PRINTDENTRY_3C), (Int32)(&dP->d_child), (Int32)(dP->d_child.next), (Int32)(dP->d_child.prev));
2219#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K_CALL \
2220    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K), (Int32)(cmd), (Int32)(qid), (Int32)(pathname), (Int32)(current->euid));
2221#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K1_CALL \
2222    _TRACE0D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K1));
2223#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K2_CALL \
2224    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K2), (Int32)(rc));
2225#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K6_CALL \
2226    _TRACE4D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K6), (Int32)(cmd), (Int32)(qid), (Int32)(credP), (Int32)(bufferP));
2227#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_K7_CALL \
2228    _TRACE1D(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_K7), (Int32)(rc));
2229#define TRACE_TRCID_LINUXOPS_TSQUOTACTL_EXIT_CALL \
2230    _STrace(_HOOKWORD(TRCID_LINUXOPS_TSQUOTACTL_EXIT), 2, 2, (Int32)(code), (Int32)(rc), pathname ? pathname : "?");
2231#define TRACE_TRCID_MMAP_REG_5_CALL \
2232    _TRACE2D(_HOOKWORD(TRCID_MMAP_REG_5), (Int32)(&Page_queue[0]), (Int32)(&Page_queue[MAX_PAGEQUE_ENTRIES - 1]));
2233#define TRACE_TRCID_CXI_GET_DEVICELIST_P1_CALL \
2234    _STrace(_HOOKWORD(TRCID_CXI_GET_DEVICELIST_P1), 3, 2, (Int32)(i), (Int32)(dev->r_addr.len), dev->r_addr.data, (Int32)(left));
2235#define TRACE_TRCID_CXI_GET_DEVICELIST_EXIT_CALL \
2236    _TRACE2D(_HOOKWORD(TRCID_CXI_GET_DEVICELIST_EXIT), (Int32)(rc), (Int32)(len));
2237#define TRACE_TRCID_GPFSOPS_GET_DEVICELINFO_P1_CALL \
2238    _STrace(_HOOKWORD(TRCID_GPFSOPS_GET_DEVICELINFO_P1), 1, 1, (Int32)(dev->r_addr.len), dev->r_addr.data);
2239#define TRACE_TRCID_CXI_GET_DEVICELINFO_EXIT_CALL \
2240    _TRACE1D(_HOOKWORD(TRCID_CXI_GET_DEVICELINFO_EXIT), (Int32)(rc));
2241#define TRACE_TRCID_CXI_GET_LAYOUT_ENTER_CALL \
2242    _TRACE2D(_HOOKWORD(TRCID_CXI_GET_LAYOUT_ENTER), (Int32)(nDests), (Int32)(myAddr));
2243#define TRACE_TRCID_CXI_GET_LAYOUT_P1_CALL \
2244    _TRACE3D(_HOOKWORD(TRCID_CXI_GET_LAYOUT_P1), (Int32)(i), (Int32)(idList[i]), (Int32)(len));
2245#define TRACE_TRCID_CXI_GET_LAYOUT_EXIT_CALL \
2246    _TRACE3D(_HOOKWORD(TRCID_CXI_GET_LAYOUT_EXIT), (Int32)(rc), (Int32)(len), (Int32)(p));
2247#define TRACE_TRCID_LINUXOPS_LEASE_ENTER_CALL \
2248    _XTrace(_HOOKWORD(TRCID_LINUXOPS_LEASE_ENTER), "gpfs_f_set_lease: fP 0x%lX iP 0x%lX type %s by %s\n", (Int32)(fP), (Int32)(iP), (arg == F_RDLCK) ? "RD" :(arg == F_WRLCK) ? "WR" : "UNLCK", (cxiIsNFSThread()) ? "NFS" : "SAMBA");
2249#define TRACE_TRCID_LINUXOPS_LEASE_EXIT_CALL \
2250    _STrace(_HOOKWORD(TRCID_LINUXOPS_LEASE_EXIT), 5, 5, (Int32)(fP), (Int32)(flP), (Int32)(rc), (Int32)(oplockWant), (Int32)(oplockGot), (oplockGot == smbOplockShared) ? "RD" :     (oplockGot == smbOplockExclusive) ? "WR" : "NONE");
2251#define TRACE_TRCID_CXIBREAKOPLOCK_CALL \
2252    _TRACE3D(_HOOKWORD(TRCID_CXIBREAKOPLOCK), (Int32)(rc), (Int32)(breakArgP), (Int32)(oplockNew));
2253#define TRACE_TRCID_NFS_ERROR_CALL \
2254    _STrace(_HOOKWORD(TRCID_NFS_ERROR), 1, 0, str, (Int32)(rc));
2255#define TRACE_TRCID_NFS_ERROR_1_CALL \
2256    _STrace(_HOOKWORD(TRCID_NFS_ERROR_1), 1, 1, (Int32)(rc), str);
2257#define TRACE_TRCID_PRODVER_MISMATCH_CALL \
2258    _XTrace(_HOOKWORD(TRCID_PRODVER_MISMATCH), "mmfslinux product version %s does not match mmfs version %s", PRODUCT_VERSION, mmfsProductVersion);
2259#define TRACE_TRCID_STEMCRVER_MISMATCH_CALL \
2260    _XTrace(_HOOKWORD(TRCID_STEMCRVER_MISMATCH), "mmfslinux was built with site.mcr rev %s which does not match "            "the site.mcr version %s used to build mmfs", SITEMCRREV, siteMcrVersion);
2261#define TRACE_TRCID_SS_DMAPI_COMPAT_ENTER_CALL \
2262    _STrace(_HOOKWORD(TRCID_SS_DMAPI_COMPAT_ENTER), 1, 1, (Int32)(op), kxOp_tostring(op));
2263#define TRACE_TRCID_SS_DMAPI_COMPAT_EXIT_CALL \
2264    _TRACE1D(_HOOKWORD(TRCID_SS_DMAPI_COMPAT_EXIT), (Int32)(rc));
2265
2266#endif /* __64BIT__ */
Note: See TracBrowser for help on using the repository browser.