Lines Matching refs:tcp
49 printxval(ipc_private, (unsigned int) tcp->u_arg[0], NULL); in SYS_FUNC()
51 if (printflags(resource_flags, tcp->u_arg[1] & ~0777, NULL) != 0) in SYS_FUNC()
53 print_numeric_umode_t(tcp->u_arg[1] & 0777); in SYS_FUNC()
58 tprint_msgsnd(struct tcb *const tcp, const kernel_ulong_t addr, 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 *const tcp, const kernel_ulong_t addr, in tprint_msgrcv() argument
82 tprint_msgbuf(tcp, addr, count); in tprint_msgrcv()
87 fetch_msgrcv_args(struct tcb *const tcp, const kernel_ulong_t addr, in fetch_msgrcv_args() argument
91 if (umoven_or_printaddr(tcp, addr, 2 * sizeof(*pair), pair)) in fetch_msgrcv_args()
96 if (umove_or_printaddr(tcp, addr, &tmp)) in fetch_msgrcv_args()
106 if (entering(tcp)) { in SYS_FUNC()
107 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
109 if (indirect_ipccall(tcp)) { in SYS_FUNC()
114 get_tcb_priv_ulong(tcp) != 0; in SYS_FUNC()
116 tprint_msgrcv(tcp, tcp->u_arg[3], in SYS_FUNC()
117 tcp->u_arg[1], tcp->u_arg[4]); in SYS_FUNC()
121 if (fetch_msgrcv_args(tcp, tcp->u_arg[3], pair)) in SYS_FUNC()
122 tprintf(", %" PRI_klu ", ", tcp->u_arg[1]); in SYS_FUNC()
124 tprint_msgrcv(tcp, pair[0], in SYS_FUNC()
125 tcp->u_arg[1], pair[1]); in SYS_FUNC()
127 printflags(ipc_msg_flags, tcp->u_arg[2], "MSG_???"); in SYS_FUNC()
129 tprint_msgrcv(tcp, tcp->u_arg[1], in SYS_FUNC()
130 tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
131 printflags(ipc_msg_flags, tcp->u_arg[4], "MSG_???"); in SYS_FUNC()