• Home
  • Raw
  • Download

Lines Matching refs:u_arg

51 		tprintf("%#lx", tcp->u_arg[0]);  in sys_brk()
60 print_mmap(struct tcb *tcp, long *u_arg, unsigned long long offset) in print_mmap() argument
64 if (!u_arg[0]) in print_mmap()
67 tprintf("%#lx, ", u_arg[0]); in print_mmap()
69 tprintf("%lu, ", u_arg[1]); in print_mmap()
71 printflags(mmap_prot, u_arg[2], "PROT_???"); in print_mmap()
75 printxval(mmap_flags, u_arg[3] & MAP_TYPE, "MAP_???"); in print_mmap()
76 addflags(mmap_flags, u_arg[3] & ~MAP_TYPE); in print_mmap()
78 printflags(mmap_flags, u_arg[3], "MAP_???"); in print_mmap()
82 printfd(tcp, u_arg[4]); in print_mmap()
101 long u_arg[6]; in sys_old_mmap() local
109 if (umoven(tcp, tcp->u_arg[0], sizeof(narrow_arg), (char *) narrow_arg) == -1) in sys_old_mmap()
112 u_arg[i] = (unsigned long) narrow_arg[i]; in sys_old_mmap()
117 if (umoven(tcp, tcp->u_arg[0], sizeof(narrow_arg), (char *) narrow_arg) == -1) in sys_old_mmap()
120 u_arg[i] = (unsigned long) narrow_arg[i]; in sys_old_mmap()
122 if (umoven(tcp, tcp->u_arg[0], sizeof(u_arg), (char *) u_arg) == -1) in sys_old_mmap()
125 return print_mmap(tcp, u_arg, (unsigned long) u_arg[5]); in sys_old_mmap()
133 long u_arg[5]; in sys_old_mmap_pgoff() local
137 if (umoven(tcp, tcp->u_arg[0], sizeof(narrow_arg), (char *) narrow_arg) == -1) in sys_old_mmap_pgoff()
140 u_arg[i] = (unsigned long) narrow_arg[i]; in sys_old_mmap_pgoff()
143 return print_mmap(tcp, u_arg, offset); in sys_old_mmap_pgoff()
151 unsigned long long offset = (unsigned long) tcp->u_arg[5]; in sys_mmap()
161 return print_mmap(tcp, tcp->u_arg, offset); in sys_mmap()
170 offset = (unsigned long) tcp->u_arg[5]; in sys_mmap_pgoff()
172 return print_mmap(tcp, tcp->u_arg, offset); in sys_mmap_pgoff()
180 offset = (unsigned long) tcp->u_arg[5]; in sys_mmap_4koff()
182 return print_mmap(tcp, tcp->u_arg, offset); in sys_mmap_4koff()
190 tcp->u_arg[0], tcp->u_arg[1]); in sys_munmap()
200 tcp->u_arg[0], tcp->u_arg[1]); in sys_mprotect()
201 printflags(mmap_prot, tcp->u_arg[2], "PROT_???"); in sys_mprotect()
212 tprintf("%#lx, %lu, %lu, ", tcp->u_arg[0], tcp->u_arg[1], in sys_mremap()
213 tcp->u_arg[2]); in sys_mremap()
214 printflags(mremap_flags, tcp->u_arg[3], "MREMAP_???"); in sys_mremap()
216 if ((tcp->u_arg[3] & (MREMAP_MAYMOVE | MREMAP_FIXED)) == in sys_mremap()
218 tprintf(", %#lx", tcp->u_arg[4]); in sys_mremap()
230 tprintf("%#lx, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_madvise()
231 printxval(madvise_cmds, tcp->u_arg[2], "MADV_???"); in sys_madvise()
242 printflags(mlockall_flags, tcp->u_arg[0], "MCL_???"); in sys_mlockall()
256 tprintf("%#lx", tcp->u_arg[0]); in sys_msync()
258 tprintf(", %lu, ", tcp->u_arg[1]); in sys_msync()
260 printflags(mctl_sync, tcp->u_arg[2], "MS_???"); in sys_msync()
279 tprintf("%#lx", tcp->u_arg[0]); in sys_mctl()
281 tprintf(", %lu, ", tcp->u_arg[1]); in sys_mctl()
283 function = tcp->u_arg[2]; in sys_mctl()
286 arg = tcp->u_arg[3]; in sys_mctl()
309 tprintf("%#lx, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_mincore()
314 len = tcp->u_arg[1]; in sys_mincore()
315 if (syserror(tcp) || tcp->u_arg[2] == 0 || in sys_mincore()
317 umoven(tcp, tcp->u_arg[2], len, vec) < 0) in sys_mincore()
318 tprintf("%#lx", tcp->u_arg[2]); in sys_mincore()
349 tprintf("%#lx, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_remap_file_pages()
350 printflags(mmap_prot, tcp->u_arg[2], "PROT_???"); in sys_remap_file_pages()
351 tprintf(", %lu, ", tcp->u_arg[3]); in sys_remap_file_pages()
353 printxval(mmap_flags, tcp->u_arg[4] & MAP_TYPE, "MAP_???"); in sys_remap_file_pages()
354 addflags(mmap_flags, tcp->u_arg[4] & ~MAP_TYPE); in sys_remap_file_pages()
356 printflags(mmap_flags, tcp->u_arg[4], "MAP_???"); in sys_remap_file_pages()
426 tprintf("%#lx, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_mbind()
427 printxval(policies, tcp->u_arg[2], "MPOL_???"); in sys_mbind()
428 get_nodes(tcp, tcp->u_arg[3], tcp->u_arg[4], 0); in sys_mbind()
430 printflags(mbindflags, tcp->u_arg[5], "MPOL_???"); in sys_mbind()
439 printxval(policies, tcp->u_arg[0], "MPOL_???"); in sys_set_mempolicy()
440 get_nodes(tcp, tcp->u_arg[1], tcp->u_arg[2], 0); in sys_set_mempolicy()
450 if (tcp->u_arg[0] == 0) in sys_get_mempolicy()
452 else if (syserror(tcp) || umove(tcp, tcp->u_arg[0], &pol) < 0) in sys_get_mempolicy()
453 tprintf("%#lx", tcp->u_arg[0]); in sys_get_mempolicy()
456 get_nodes(tcp, tcp->u_arg[1], tcp->u_arg[2], syserror(tcp)); in sys_get_mempolicy()
457 tprintf(", %#lx, ", tcp->u_arg[3]); in sys_get_mempolicy()
458 printflags(mempolicyflags, tcp->u_arg[4], "MPOL_???"); in sys_get_mempolicy()
467 tprintf("%ld, ", (long) (pid_t) tcp->u_arg[0]); in sys_migrate_pages()
468 get_nodes(tcp, tcp->u_arg[2], tcp->u_arg[1], 0); in sys_migrate_pages()
470 get_nodes(tcp, tcp->u_arg[3], tcp->u_arg[1], 0); in sys_migrate_pages()
479 unsigned long npages = tcp->u_arg[1]; in sys_move_pages()
480 tprintf("%ld, %lu, ", tcp->u_arg[0], npages); in sys_move_pages()
481 if (tcp->u_arg[2] == 0) in sys_move_pages()
485 long puser = tcp->u_arg[2]; in sys_move_pages()
500 if (tcp->u_arg[3] == 0) in sys_move_pages()
504 long nodeuser = tcp->u_arg[3]; in sys_move_pages()
521 unsigned long npages = tcp->u_arg[1]; in sys_move_pages()
522 if (tcp->u_arg[4] == 0) in sys_move_pages()
526 long statususer = tcp->u_arg[4]; in sys_move_pages()
541 printflags(move_pages_flags, tcp->u_arg[5], "MPOL_???"); in sys_move_pages()
554 tprintf("%#lx, %#lx, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_subpage_prot()
555 entries = tcp->u_arg[1] >> 16; in sys_subpage_prot()
556 if (!entries || !tcp->u_arg[2]) { in sys_subpage_prot()
560 cur = tcp->u_arg[2]; in sys_subpage_prot()
562 if (!verbose(tcp) || end < tcp->u_arg[2]) { in sys_subpage_prot()
563 tprintf("%#lx", tcp->u_arg[2]); in sys_subpage_prot()
575 if (cur > tcp->u_arg[2]) in sys_subpage_prot()