Lines Matching refs:tcp

57 printflock64(struct tcb *tcp, const long addr, const int getlk)  in printflock64()  argument
61 if (fetch_struct_flock64(tcp, addr, &fl)) in printflock64()
66 printflock(struct tcb *tcp, const long addr, const int getlk) in printflock() argument
70 if (fetch_struct_flock(tcp, addr, &fl)) in printflock()
75 print_f_owner_ex(struct tcb *tcp, const long addr) in print_f_owner_ex() argument
79 if (umove_or_printaddr(tcp, addr, &owner)) in print_f_owner_ex()
88 print_fcntl(struct tcb *tcp) in print_fcntl() argument
90 switch (tcp->u_arg[1]) { in print_fcntl()
93 printflags(fdflags, tcp->u_arg[2], "FD_???"); in print_fcntl()
97 tprintf(", %ld", tcp->u_arg[2]); in print_fcntl()
101 tprintf(", %ld", tcp->u_arg[2]); in print_fcntl()
105 tprint_open_modes(tcp->u_arg[2]); in print_fcntl()
110 printflock(tcp, tcp->u_arg[2], 0); in print_fcntl()
115 printflock64(tcp, tcp->u_arg[2], 0); in print_fcntl()
119 print_f_owner_ex(tcp, tcp->u_arg[2]); in print_fcntl()
123 printflags(notifyflags, tcp->u_arg[2], "DN_???"); in print_fcntl()
127 printxval(lockfcmds, tcp->u_arg[2], "F_???"); in print_fcntl()
131 printflags(f_seals, tcp->u_arg[2], "F_SEAL_???"); in print_fcntl()
135 tprints(signame(tcp->u_arg[2])); in print_fcntl()
141 if (entering(tcp) || syserror(tcp) || tcp->u_rval == 0) in print_fcntl()
143 tcp->auxstr = sprintflags("flags ", fdflags, tcp->u_rval); in print_fcntl()
146 if (entering(tcp) || syserror(tcp)) in print_fcntl()
148 tcp->auxstr = sprint_open_modes(tcp->u_rval); in print_fcntl()
151 if (entering(tcp)) in print_fcntl()
154 printflock(tcp, tcp->u_arg[2], 1); in print_fcntl()
157 if (entering(tcp)) in print_fcntl()
160 printflock64(tcp, tcp->u_arg[2], 1); in print_fcntl()
163 if (entering(tcp)) in print_fcntl()
166 print_f_owner_ex(tcp, tcp->u_arg[2]); in print_fcntl()
169 if (entering(tcp) || syserror(tcp)) in print_fcntl()
171 tcp->auxstr = xlookup(lockfcmds, tcp->u_rval); in print_fcntl()
174 if (entering(tcp) || syserror(tcp) || tcp->u_rval == 0) in print_fcntl()
176 tcp->auxstr = sprintflags("seals ", f_seals, tcp->u_rval); in print_fcntl()
179 if (entering(tcp) || syserror(tcp) || tcp->u_rval == 0) in print_fcntl()
181 tcp->auxstr = signame(tcp->u_rval); in print_fcntl()
184 tprintf(", %#lx", tcp->u_arg[2]); in print_fcntl()
192 if (entering(tcp)) { in SYS_FUNC()
193 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
195 const char *str = xlookup(fcntlcmds, tcp->u_arg[1]); in SYS_FUNC()
204 printxval(fcntl64cmds, tcp->u_arg[1], "F_???"); in SYS_FUNC()
207 return print_fcntl(tcp); in SYS_FUNC()
212 if (entering(tcp)) { in SYS_FUNC()
213 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
215 const char *str = xlookup(fcntl64cmds, tcp->u_arg[1]); in SYS_FUNC()
219 printxval(fcntlcmds, tcp->u_arg[1], "F_???"); in SYS_FUNC()
222 switch (tcp->u_arg[1]) { in SYS_FUNC()
226 printflock64(tcp, tcp->u_arg[2], 0); in SYS_FUNC()
229 if (exiting(tcp)) { in SYS_FUNC()
231 printflock64(tcp, tcp->u_arg[2], 1); in SYS_FUNC()
235 return print_fcntl(tcp); in SYS_FUNC()