Lines Matching refs:tcp

47 	if (tcp->u_arg[0])  in SYS_FUNC()
48 tprintf("%#lx, ", tcp->u_arg[0]); in SYS_FUNC()
51 if (printflags(resource_flags, tcp->u_arg[1] & ~0777, NULL) != 0) in SYS_FUNC()
53 tprintf("%#lo", tcp->u_arg[1] & 0777); in SYS_FUNC()
58 tprint_msgsnd(struct tcb *tcp, const long addr, const unsigned long count, in tprint_msgsnd() argument
61 tprint_msgbuf(tcp, addr, count); in tprint_msgsnd()
67 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
68 if (indirect_ipccall(tcp)) { in SYS_FUNC()
69 tprint_msgsnd(tcp, tcp->u_arg[3], tcp->u_arg[1], in SYS_FUNC()
70 tcp->u_arg[2]); in SYS_FUNC()
72 tprint_msgsnd(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC()
73 tcp->u_arg[3]); in SYS_FUNC()
79 tprint_msgrcv(struct tcb *tcp, const long addr, const unsigned long count, in tprint_msgrcv() argument
82 tprint_msgbuf(tcp, addr, count); in tprint_msgrcv()
87 fetch_msgrcv_args(struct tcb *tcp, const long addr, long *pair) in fetch_msgrcv_args() argument
90 if (umoven_or_printaddr(tcp, addr, 2 * sizeof(long), pair)) in fetch_msgrcv_args()
95 if (umove_or_printaddr(tcp, addr, &tmp)) in fetch_msgrcv_args()
105 if (entering(tcp)) { in SYS_FUNC()
106 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
108 if (indirect_ipccall(tcp)) { in SYS_FUNC()
111 if (fetch_msgrcv_args(tcp, tcp->u_arg[3], pair)) in SYS_FUNC()
112 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
114 tprint_msgrcv(tcp, pair[0], tcp->u_arg[1], pair[1]); in SYS_FUNC()
115 printflags(ipc_msg_flags, tcp->u_arg[2], "MSG_???"); in SYS_FUNC()
117 tprint_msgrcv(tcp, tcp->u_arg[1], in SYS_FUNC()
118 tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
119 printflags(ipc_msg_flags, tcp->u_arg[4], "MSG_???"); in SYS_FUNC()