/external/strace/ |
D | mem.c | 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() [all …]
|
D | ipc.c | 78 if (tcp->u_arg[0]) in sys_msgget() 79 tprintf("%#lx, ", tcp->u_arg[0]); in sys_msgget() 82 if (printflags(resource_flags, tcp->u_arg[1] & ~0777, NULL) != 0) in sys_msgget() 84 tprintf("%#lo", tcp->u_arg[1] & 0777); in sys_msgget() 115 tprintf("%lu, ", tcp->u_arg[0]); in sys_msgctl() 116 PRINTCTL(msgctl_flags, tcp->u_arg[1], "MSG_???"); in sys_msgctl() 117 tprintf(", %#lx", tcp->u_arg[indirect_ipccall(tcp) ? 3 : 2]); in sys_msgctl() 142 tprintf("%d, ", (int) tcp->u_arg[0]); in sys_msgsnd() 144 tprint_msgsnd(tcp, tcp->u_arg[3], tcp->u_arg[1], in sys_msgsnd() 145 tcp->u_arg[2]); in sys_msgsnd() [all …]
|
D | io.c | 41 printfd(tcp, tcp->u_arg[0]); in sys_read() 45 tprintf("%#lx", tcp->u_arg[1]); in sys_read() 47 printstr(tcp, tcp->u_arg[1], tcp->u_rval); in sys_read() 48 tprintf(", %lu", tcp->u_arg[2]); in sys_read() 57 printfd(tcp, tcp->u_arg[0]); in sys_write() 59 printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in sys_write() 60 tprintf(", %lu", tcp->u_arg[2]); in sys_write() 152 printfd(tcp, tcp->u_arg[0]); in sys_readv() 157 tcp->u_arg[1], tcp->u_arg[2]); in sys_readv() 160 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], 1); in sys_readv() [all …]
|
D | file.c | 297 printpath(tcp, tcp->u_arg[offset]); in decode_open() 300 tprint_open_modes(tcp->u_arg[offset + 1]); in decode_open() 301 if (tcp->u_arg[offset + 1] & O_CREAT) { in decode_open() 303 tprintf(", %#lo", tcp->u_arg[offset + 2]); in decode_open() 319 print_dirfd(tcp, tcp->u_arg[0]); in sys_openat() 330 printpath(tcp, tcp->u_arg[0]); in solaris_open() 333 printflags(openmodessol, tcp->u_arg[1] + 1, "O_???"); in solaris_open() 334 if (tcp->u_arg[1] & 0x100) { in solaris_open() 336 tprintf(", %#lo", tcp->u_arg[2]); in solaris_open() 348 printpath(tcp, tcp->u_arg[0]); in sys_creat() [all …]
|
D | keyctl.c | 24 printstr(tcp, tcp->u_arg[0], -1); in sys_add_key() 27 printstr(tcp, tcp->u_arg[1], -1); in sys_add_key() 30 printstr(tcp, tcp->u_arg[2], tcp->u_arg[3]); in sys_add_key() 32 tprintf(", %lu, ", tcp->u_arg[3]); in sys_add_key() 34 print_keyring_serial_number(tcp->u_arg[4]); in sys_add_key() 44 printstr(tcp, tcp->u_arg[0], -1); in sys_request_key() 47 printstr(tcp, tcp->u_arg[1], -1); in sys_request_key() 50 printstr(tcp, tcp->u_arg[2], -1); in sys_request_key() 53 print_keyring_serial_number(tcp->u_arg[3]); in sys_request_key() 299 int cmd = tcp->u_arg[0]; in sys_keyctl() [all …]
|
D | net.c | 468 tprintf("%#lx", tcp->u_arg[1]); in decode_mmsg() 477 printmmsghdr(tcp, tcp->u_arg[1], i, msg_len); in decode_mmsg() 482 tprintf(", %u, ", (unsigned int) tcp->u_arg[2]); in decode_mmsg() 484 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in decode_mmsg() 512 printxval(domains, tcp->u_arg[0], "PF_???"); in sys_socket() 514 tprint_sock_type(tcp, tcp->u_arg[1]); in sys_socket() 516 switch (tcp->u_arg[0]) { in sys_socket() 521 printxval(inet_protocols, tcp->u_arg[2], "IPPROTO_???"); in sys_socket() 527 printxval(domains, tcp->u_arg[2], "PF_???"); in sys_socket() 533 printxval(netlink_protocols, tcp->u_arg[2], "NETLINK_???"); in sys_socket() [all …]
|
D | bjm.c | 80 printstr(tcp, tcp->u_arg[0], -1); in sys_query_module() 82 printxval(qm_which, tcp->u_arg[1], "QM_???"); in sys_query_module() 88 umove(tcp, tcp->u_arg[4], &ret) < 0) { in sys_query_module() 89 tprintf("%#lx, %lu, %#lx", tcp->u_arg[2], in sys_query_module() 90 tcp->u_arg[3], tcp->u_arg[4]); in sys_query_module() 91 } else if (tcp->u_arg[1]==QM_INFO) { in sys_query_module() 93 if (umove(tcp, tcp->u_arg[2], &mi) < 0) { in sys_query_module() 94 tprintf("%#lx, ", tcp->u_arg[2]); in sys_query_module() 102 } else if ((tcp->u_arg[1]==QM_MODULES) || in sys_query_module() 103 (tcp->u_arg[1]==QM_DEPS) || in sys_query_module() [all …]
|
D | system.c | 91 unsigned long flags = tcp->u_arg[3]; in sys_mount() 102 printpath(tcp, tcp->u_arg[0]); in sys_mount() 105 printpath(tcp, tcp->u_arg[1]); in sys_mount() 108 if (ignore_type && tcp->u_arg[2]) in sys_mount() 109 tprintf("%#lx", tcp->u_arg[2]); in sys_mount() 111 printstr(tcp, tcp->u_arg[2], -1); in sys_mount() 114 printflags(mount_flags, tcp->u_arg[3], "MS_???"); in sys_mount() 117 if (ignore_data && tcp->u_arg[4]) in sys_mount() 118 tprintf("%#lx", tcp->u_arg[4]); in sys_mount() 120 printstr(tcp, tcp->u_arg[4], -1); in sys_mount() [all …]
|
D | process.c | 137 printxval(prctl_options, tcp->u_arg[0], "PR_???"); in sys_prctl() 138 switch (tcp->u_arg[0]) { in sys_prctl() 145 tprintf(", %lu", tcp->u_arg[1]); in sys_prctl() 154 tprintf(", %lu", tcp->u_arg[1]); in sys_prctl() 163 tprintf(", %s", unalignctl_string(tcp->u_arg[1])); in sys_prctl() 168 tprintf(", %#lx", tcp->u_arg[1]); in sys_prctl() 173 tprintf(", %lu", tcp->u_arg[1]); in sys_prctl() 182 tprintf(", %#lx", tcp->u_arg[i]); in sys_prctl() 186 switch (tcp->u_arg[0]) { in sys_prctl() 189 if (umove(tcp, tcp->u_arg[1], &i) < 0) in sys_prctl() [all …]
|
D | time.c | 165 printnum(tcp, tcp->u_arg[0], "%ld"); in sys_time() 174 printnum(tcp, tcp->u_arg[0], "%ld"); in sys_stime() 185 tcp->u_arg[0], tcp->u_arg[1]); in sys_gettimeofday() 188 printtv(tcp, tcp->u_arg[0]); in sys_gettimeofday() 190 printtv(tcp, tcp->u_arg[1]); in sys_gettimeofday() 201 tprintf("%#lx, %#lx", tcp->u_arg[0], tcp->u_arg[1]); in sys_osf_gettimeofday() 204 printtv_bitness(tcp, tcp->u_arg[0], BITNESS_32, 0); in sys_osf_gettimeofday() 206 printtv_bitness(tcp, tcp->u_arg[1], BITNESS_32, 0); in sys_osf_gettimeofday() 216 printtv(tcp, tcp->u_arg[0]); in sys_settimeofday() 218 printtv(tcp, tcp->u_arg[1]); in sys_settimeofday() [all …]
|
D | stream.c | 96 tprintf("%ld, ", tcp->u_arg[0]); in sys_putmsg() 99 printstrbufarg(tcp, tcp->u_arg[i], 0); in sys_putmsg() 101 printflags(msgflags, tcp->u_arg[3], "RS_???"); in sys_putmsg() 113 tprintf("%lu, ", tcp->u_arg[0]); in sys_getmsg() 117 tcp->u_arg[1], tcp->u_arg[2], tcp->u_arg[3]); in sys_getmsg() 122 printstrbufarg(tcp, tcp->u_arg[i], 1); in sys_getmsg() 124 if (tcp->u_arg[3] == 0) in sys_getmsg() 126 else if (umove(tcp, tcp->u_arg[3], &flags) < 0) in sys_getmsg() 162 tprintf("%ld, ", tcp->u_arg[0]); in sys_putpmsg() 165 printstrbufarg(tcp, tcp->u_arg[i], 0); in sys_putpmsg() [all …]
|
D | desc.c | 152 printfd(tcp, tcp->u_arg[0]); in sys_fcntl() 154 printxval(fcntlcmds, tcp->u_arg[1], "F_???"); in sys_fcntl() 155 switch (tcp->u_arg[1]) { in sys_fcntl() 158 printflags(fdflags, tcp->u_arg[2], "FD_???"); in sys_fcntl() 164 tprintf(", %ld", tcp->u_arg[2]); in sys_fcntl() 168 tprint_open_modes(tcp->u_arg[2]); in sys_fcntl() 172 printflock(tcp, tcp->u_arg[2], 0); in sys_fcntl() 177 printflock64(tcp, tcp->u_arg[2], 0); in sys_fcntl() 183 printflags(notifyflags, tcp->u_arg[2], "DN_???"); in sys_fcntl() 189 printxval(lockfcmds, tcp->u_arg[2], "F_???"); in sys_fcntl() [all …]
|
D | pathtrace.c | 176 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 177 fdmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 195 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 196 upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 203 return upathmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 204 upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 210 return upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 217 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 218 fdmatch(tcp, tcp->u_arg[2]) || in pathtrace_match() 219 upathmatch(tcp, tcp->u_arg[1]) || in pathtrace_match() [all …]
|
D | signal.c | 530 tprintsigmask_val("", tcp->u_arg[0]); in sys_sigsetmask() 634 printsignal(tcp->u_arg[0]); in sys_sigaction() 636 decode_old_sigaction(tcp, tcp->u_arg[1]); in sys_sigaction() 639 decode_old_sigaction(tcp, tcp->u_arg[2]); in sys_sigaction() 647 printsignal(tcp->u_arg[0]); in sys_signal() 649 switch (tcp->u_arg[1]) { in sys_signal() 660 tprintf("%#lx", tcp->u_arg[1]); in sys_signal() 955 tprintsigmask_val("", tcp->u_arg[2]); in sys_sigsuspend() 1010 print_stack_t(tcp, tcp->u_arg[0]); in sys_sigaltstack() 1014 print_stack_t(tcp, tcp->u_arg[1]); in sys_sigaltstack() [all …]
|
D | ldt.c | 46 tprintf("%ld, ", tcp->u_arg[0]); in sys_modify_ldt() 47 if (tcp->u_arg[1] == 0 in sys_modify_ldt() 48 || tcp->u_arg[2] != sizeof(struct user_desc)) { in sys_modify_ldt() 49 tprintf("%lx", tcp->u_arg[1]); in sys_modify_ldt() 51 print_user_desc(tcp, tcp->u_arg[1]); in sys_modify_ldt() 53 tprintf(", %lu", tcp->u_arg[2]); in sys_modify_ldt() 62 print_user_desc(tcp, tcp->u_arg[0]); in sys_set_thread_area() 66 if (syserror(tcp) || umove(tcp, tcp->u_arg[0], &desc) < 0) { in sys_set_thread_area() 84 tprintf("%lx", tcp->u_arg[0]); in sys_get_thread_area() 86 print_user_desc(tcp, tcp->u_arg[0]); in sys_get_thread_area() [all …]
|
D | resource.c | 149 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in sys_getrlimit() 153 decode_rlimit(tcp, tcp->u_arg[1]); in sys_getrlimit() 162 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in sys_setrlimit() 164 decode_rlimit(tcp, tcp->u_arg[1]); in sys_setrlimit() 173 tprintf("%ld, ", tcp->u_arg[0]); in sys_prlimit64() 174 printxval(resources, tcp->u_arg[1], "RLIMIT_???"); in sys_prlimit64() 176 decode_rlimit64(tcp, tcp->u_arg[2]); in sys_prlimit64() 179 decode_rlimit64(tcp, tcp->u_arg[3]); in sys_prlimit64() 283 printxval(usagewho, tcp->u_arg[0], "RUSAGE_???"); in sys_getrusage() 287 printrusage(tcp, tcp->u_arg[1]); in sys_getrusage() [all …]
|
D | fanotify.c | 15 flags = tcp->u_arg[0]; in sys_fanotify_init() 23 tprint_open_modes((unsigned) tcp->u_arg[1]); in sys_fanotify_init() 37 printfd(tcp, tcp->u_arg[0]); in sys_fanotify_mark() 39 printflags(fan_mark_flags, (unsigned) tcp->u_arg[1], "FAN_MARK_???"); in sys_fanotify_mark() 41 printflags(fan_event_flags, tcp->u_arg[2], "FAN_???"); in sys_fanotify_mark() 43 if ((int) tcp->u_arg[3] == FAN_NOFD) in sys_fanotify_mark() 46 print_dirfd(tcp, tcp->u_arg[3]); in sys_fanotify_mark() 47 printpath(tcp, tcp->u_arg[4]); in sys_fanotify_mark()
|
D | aio.c | 159 tprintf("%ld, ", tcp->u_arg[0]); in sys_io_setup() 162 tprintf("0x%0lx", tcp->u_arg[1]); in sys_io_setup() 165 if (umove(tcp, tcp->u_arg[1], &user_id) == 0) in sys_io_setup() 178 tprintf("%lu", tcp->u_arg[0]); in sys_io_destroy() 230 long nr = tcp->u_arg[1]; in sys_io_submit() 232 tprintf("%lu, %ld, {", tcp->u_arg[0], tcp->u_arg[1]); in sys_io_submit() 235 struct iocb **iocbs = (void *)tcp->u_arg[2]; in sys_io_submit() 297 tprintf("%lu, %ld, %#lx", tcp->u_arg[0], tcp->u_arg[1], tcp->u_arg[2]); in sys_io_submit() 310 tprintf("%lu, ", tcp->u_arg[0]); in sys_io_cancel() 312 if (umove(tcp, tcp->u_arg[1], &iocb) == 0) { in sys_io_cancel() [all …]
|
D | inotify.c | 13 printfd(tcp, tcp->u_arg[0]); in sys_inotify_add_watch() 16 printpath(tcp, tcp->u_arg[1]); in sys_inotify_add_watch() 19 printflags(inotify_flags, tcp->u_arg[2], "IN_???"); in sys_inotify_add_watch() 29 printfd(tcp, tcp->u_arg[0]); in sys_inotify_rm_watch() 31 tprintf(", %d", (int) tcp->u_arg[1]); in sys_inotify_rm_watch() 40 printflags(inotify_init_flags, tcp->u_arg[0], "IN_???"); in sys_inotify_init1()
|
D | syscall.c | 583 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= SYS_socket_nsubcalls) in decode_socket_subcall() 586 tcp->scno = SYS_socket_subcall + tcp->u_arg[0]; in decode_socket_subcall() 589 addr = tcp->u_arg[1]; in decode_socket_subcall() 597 tcp->u_arg[i] = arg; in decode_socket_subcall() 603 tcp->u_arg[i] = arg; in decode_socket_subcall() 616 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= SYS_ipc_nsubcalls) in decode_ipc_subcall() 619 tcp->scno = SYS_ipc_subcall + tcp->u_arg[0]; in decode_ipc_subcall() 624 tcp->u_arg[i] = tcp->u_arg[i + 1]; in decode_ipc_subcall() 635 tprintf("%s%#lx", i ? ", " : "", tcp->u_arg[i]); in printargs() 647 tprintf("%s%lu", i ? ", " : "", tcp->u_arg[i]); in printargs_lu() [all …]
|
D | reboot.c | 14 printflags(bootflags1, tcp->u_arg[0], "LINUX_REBOOT_MAGIC_???"); in sys_reboot() 16 printflags(bootflags2, tcp->u_arg[1], "LINUX_REBOOT_MAGIC_???"); in sys_reboot() 18 printflags(bootflags3, tcp->u_arg[2], "LINUX_REBOOT_CMD_???"); in sys_reboot() 19 if (tcp->u_arg[2] == LINUX_REBOOT_CMD_RESTART2) { in sys_reboot() 21 printstr(tcp, tcp->u_arg[3], -1); in sys_reboot()
|
D | ioprio.c | 50 printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???"); in sys_ioprio_get() 52 tprintf(", %d", (int) tcp->u_arg[1]); in sys_ioprio_get() 68 printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???"); in sys_ioprio_set() 70 tprintf(", %d, ", (int) tcp->u_arg[1]); in sys_ioprio_set() 72 tprints(sprint_ioprio(tcp->u_arg[2])); in sys_ioprio_set()
|
D | kexec.c | 74 tprintf("%#lx, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_kexec_load() 77 print_kexec_segments(tcp, tcp->u_arg[2], tcp->u_arg[1]); in sys_kexec_load() 81 n = tcp->u_arg[3]; in sys_kexec_load()
|
D | sock.c | 64 if (umove(tcp, tcp->u_arg[2], &ifc) >= 0 in sock_ioctl() 128 if (umove(tcp, tcp->u_arg[2], &ifr) < 0) in sock_ioctl() 129 tprintf(", %#lx", tcp->u_arg[2]); in sock_ioctl() 164 print_addr(tcp, ((long) tcp->u_arg[2] in sock_ioctl() 217 if (umove(tcp, tcp->u_arg[2], &ifc) < 0) { in sock_ioctl() 247 print_addr(tcp, ((long) tcp->u_arg[2] in sock_ioctl()
|
/external/llvm/test/CodeGen/Generic/ |
D | 2005-10-21-longlonggtu.ll | 3 define float @t(i64 %u_arg) { 4 %u = bitcast i64 %u_arg to i64 ; <i64> [#uses=1]
|