Lines Matching refs:u_arg

49 	printaddr(tcp->u_arg[0]);  in SYS_FUNC()
58 print_mmap(struct tcb *tcp, long *u_arg, unsigned long long offset) in print_mmap() argument
61 printaddr(u_arg[0]); in print_mmap()
63 tprintf(", %lu, ", u_arg[1]); in print_mmap()
65 printflags(mmap_prot, u_arg[2], "PROT_???"); in print_mmap()
69 printxval(mmap_flags, u_arg[3] & MAP_TYPE, "MAP_???"); in print_mmap()
70 addflags(mmap_flags, u_arg[3] & ~MAP_TYPE); in print_mmap()
72 printflags(mmap_flags, u_arg[3], "MAP_???"); in print_mmap()
76 printfd(tcp, u_arg[4]); in print_mmap()
92 long u_arg[6]; in SYS_FUNC() local
100 if (umoven(tcp, tcp->u_arg[0], sizeof(narrow_arg), narrow_arg) == -1) in SYS_FUNC()
103 u_arg[i] = (unsigned long) narrow_arg[i]; in SYS_FUNC()
108 if (umoven(tcp, tcp->u_arg[0], sizeof(narrow_arg), narrow_arg) == -1) in SYS_FUNC()
111 u_arg[i] = (unsigned long) narrow_arg[i]; in SYS_FUNC()
113 if (umoven(tcp, tcp->u_arg[0], sizeof(u_arg), u_arg) == -1) in SYS_FUNC()
116 print_mmap(tcp, u_arg, (unsigned long) u_arg[5]); in SYS_FUNC()
125 long u_arg[5]; in SYS_FUNC() local
129 if (umoven(tcp, tcp->u_arg[0], sizeof(narrow_arg), narrow_arg) == -1) in SYS_FUNC()
132 u_arg[i] = (unsigned long) narrow_arg[i]; in SYS_FUNC()
135 print_mmap(tcp, u_arg, offset); in SYS_FUNC()
144 unsigned long long offset = (unsigned long) tcp->u_arg[5]; in SYS_FUNC()
154 print_mmap(tcp, tcp->u_arg, offset); in SYS_FUNC()
164 offset = (unsigned long) tcp->u_arg[5]; in SYS_FUNC()
166 print_mmap(tcp, tcp->u_arg, offset); in SYS_FUNC()
175 offset = (unsigned long) tcp->u_arg[5]; in SYS_FUNC()
177 print_mmap(tcp, tcp->u_arg, offset); in SYS_FUNC()
184 printaddr(tcp->u_arg[0]); in SYS_FUNC()
185 tprintf(", %lu", tcp->u_arg[1]); in SYS_FUNC()
192 printaddr(tcp->u_arg[0]); in SYS_FUNC()
193 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
194 printflags(mmap_prot, tcp->u_arg[2], "PROT_???"); in SYS_FUNC()
203 printaddr(tcp->u_arg[0]); in SYS_FUNC()
204 tprintf(", %lu, %lu, ", tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
205 printflags(mremap_flags, tcp->u_arg[3], "MREMAP_???"); in SYS_FUNC()
207 if ((tcp->u_arg[3] & (MREMAP_MAYMOVE | MREMAP_FIXED)) == in SYS_FUNC()
210 printaddr(tcp->u_arg[4]); in SYS_FUNC()
220 printaddr(tcp->u_arg[0]); in SYS_FUNC()
221 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
222 printxval(madvise_cmds, tcp->u_arg[2], "MADV_???"); in SYS_FUNC()
231 printflags(mlockall_flags, tcp->u_arg[0], "MCL_???"); in SYS_FUNC()
241 printaddr(tcp->u_arg[0]); in SYS_FUNC()
243 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
245 printflags(mctl_sync, tcp->u_arg[2], "MS_???"); in SYS_FUNC()
254 printaddr(tcp->u_arg[0]); in SYS_FUNC()
255 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
256 printflags(mlock_flags, tcp->u_arg[2], "MLOCK_???"); in SYS_FUNC()
264 printaddr(tcp->u_arg[0]); in SYS_FUNC()
265 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
270 len = tcp->u_arg[1]; in SYS_FUNC()
272 !tcp->u_arg[2] || !(vec = malloc(len)) || in SYS_FUNC()
273 umoven(tcp, tcp->u_arg[2], len, vec) < 0) in SYS_FUNC()
274 printaddr(tcp->u_arg[2]); in SYS_FUNC()
303 printaddr(tcp->u_arg[0]); in SYS_FUNC()
304 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
305 printflags(mmap_prot, tcp->u_arg[2], "PROT_???"); in SYS_FUNC()
306 tprintf(", %lu, ", tcp->u_arg[3]); in SYS_FUNC()
308 printxval(mmap_flags, tcp->u_arg[4] & MAP_TYPE, "MAP_???"); in SYS_FUNC()
309 addflags(mmap_flags, tcp->u_arg[4] & ~MAP_TYPE); in SYS_FUNC()
311 printflags(mmap_flags, tcp->u_arg[4], "MAP_???"); in SYS_FUNC()
383 printaddr(tcp->u_arg[0]); in SYS_FUNC()
384 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC()
385 printxval(policies, tcp->u_arg[2], "MPOL_???"); in SYS_FUNC()
386 get_nodes(tcp, tcp->u_arg[3], tcp->u_arg[4], 0); in SYS_FUNC()
388 printflags(mbindflags, tcp->u_arg[5], "MPOL_???"); in SYS_FUNC()
395 printxval(policies, tcp->u_arg[0], "MPOL_???"); in SYS_FUNC()
396 get_nodes(tcp, tcp->u_arg[1], tcp->u_arg[2], 0); in SYS_FUNC()
405 if (!umove_or_printaddr(tcp, tcp->u_arg[0], &pol)) in SYS_FUNC()
407 get_nodes(tcp, tcp->u_arg[1], tcp->u_arg[2], syserror(tcp)); in SYS_FUNC()
409 printaddr(tcp->u_arg[3]); in SYS_FUNC()
411 printflags(mempolicyflags, tcp->u_arg[4], "MPOL_???"); in SYS_FUNC()
418 tprintf("%ld, ", (long) (pid_t) tcp->u_arg[0]); in SYS_FUNC()
419 get_nodes(tcp, tcp->u_arg[2], tcp->u_arg[1], 0); in SYS_FUNC()
421 get_nodes(tcp, tcp->u_arg[3], tcp->u_arg[1], 0); in SYS_FUNC()
429 unsigned long npages = tcp->u_arg[1]; in SYS_FUNC()
430 tprintf("%ld, %lu, ", tcp->u_arg[0], npages); in SYS_FUNC()
431 if (tcp->u_arg[2] == 0) in SYS_FUNC()
435 long puser = tcp->u_arg[2]; in SYS_FUNC()
450 if (tcp->u_arg[3] == 0) in SYS_FUNC()
454 long nodeuser = tcp->u_arg[3]; in SYS_FUNC()
470 unsigned long npages = tcp->u_arg[1]; in SYS_FUNC()
471 if (tcp->u_arg[4] == 0) in SYS_FUNC()
475 long statususer = tcp->u_arg[4]; in SYS_FUNC()
490 printflags(move_pages_flags, tcp->u_arg[5], "MPOL_???"); in SYS_FUNC()
501 printaddr(tcp->u_arg[0]); in SYS_FUNC()
503 printaddr(tcp->u_arg[1]); in SYS_FUNC()
505 entries = tcp->u_arg[1] >> 16; in SYS_FUNC()
506 if (!entries || !tcp->u_arg[2]) { in SYS_FUNC()
510 cur = tcp->u_arg[2]; in SYS_FUNC()
512 if (!verbose(tcp) || end < (unsigned long) tcp->u_arg[2]) { in SYS_FUNC()
513 printaddr(tcp->u_arg[2]); in SYS_FUNC()
525 if (cur > (unsigned long) tcp->u_arg[2]) in SYS_FUNC()