/external/strace/ |
D | io.c | 53 printfd(tcp, tcp->u_arg[0]); in sys_read() 57 tprintf("%#lx", tcp->u_arg[1]); in sys_read() 59 printstr(tcp, tcp->u_arg[1], tcp->u_rval); in sys_read() 60 tprintf(", %lu", tcp->u_arg[2]); in sys_read() 69 printfd(tcp, tcp->u_arg[0]); in sys_write() 71 printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in sys_write() 72 tprintf(", %lu", tcp->u_arg[2]); in sys_write() 153 printfd(tcp, tcp->u_arg[0]); in sys_readv() 158 tcp->u_arg[1], tcp->u_arg[2]); in sys_readv() 161 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1]); in sys_readv() [all …]
|
D | mem.c | 64 tprintf("%#lx", tcp->u_arg[0]); 79 tprintf("%lu", tcp->u_arg[0]); 236 print_mmap(struct tcb *tcp, long *u_arg, long long offset) in print_mmap() argument 240 if (!u_arg[0]) in print_mmap() 243 tprintf("%#lx, ", u_arg[0]); in print_mmap() 245 tprintf("%lu, ", u_arg[1]); in print_mmap() 247 printflags(mmap_prot, u_arg[2], "PROT_???"); in print_mmap() 251 printxval(mmap_flags, u_arg[3] & MAP_TYPE, "MAP_???"); in print_mmap() 253 addflags(mmap_flags, addtileflags(u_arg[3] & ~MAP_TYPE)); in print_mmap() 255 addflags(mmap_flags, u_arg[3] & ~MAP_TYPE); in print_mmap() [all …]
|
D | ipc.c | 171 if (tcp->u_arg[0]) 172 tprintf("%#lx", tcp->u_arg[0]); 176 if (printflags(resource_flags, tcp->u_arg[1] & ~0777, NULL) != 0) 178 tprintf("%#lo", tcp->u_arg[1] & 0777); 213 tprintf("%lu, ", tcp->u_arg[0]); 214 PRINTCTL(msgctl_flags, tcp->u_arg[1], "MSG_???"); 215 tprintf(", %#lx", tcp->u_arg[indirect_ipccall(tcp) ? 3 : 2]); 240 tprintf("%d, ", (int) tcp->u_arg[0]); in sys_msgsnd() 242 tprint_msgsnd(tcp, tcp->u_arg[3], tcp->u_arg[1], in sys_msgsnd() 243 tcp->u_arg[2]); in sys_msgsnd() [all …]
|
D | file.c | 443 printpath(tcp, tcp->u_arg[offset]); in decode_open() 446 tprint_open_modes(tcp->u_arg[offset + 1]); in decode_open() 447 if (tcp->u_arg[offset + 1] & O_CREAT) { in decode_open() 449 tprintf(", %#lo", tcp->u_arg[offset + 2]); in decode_open() 466 print_dirfd(tcp, tcp->u_arg[0]); in sys_openat() 494 printpath(tcp, tcp->u_arg[0]); in solaris_open() 497 printflags(openmodessol, tcp->u_arg[1] + 1, "O_???"); in solaris_open() 498 if (tcp->u_arg[1] & 0x100) { in solaris_open() 500 tprintf(", %#lo", tcp->u_arg[2]); in solaris_open() 512 printpath(tcp, tcp->u_arg[0]); in sys_creat() [all …]
|
D | system.c | 132 unsigned long flags = tcp->u_arg[3]; in sys_mount() 143 printpath(tcp, tcp->u_arg[0]); in sys_mount() 146 printpath(tcp, tcp->u_arg[1]); in sys_mount() 149 if (ignore_type && tcp->u_arg[2]) in sys_mount() 150 tprintf("%#lx", tcp->u_arg[2]); in sys_mount() 152 printstr(tcp, tcp->u_arg[2], -1); in sys_mount() 155 printflags(mount_flags, tcp->u_arg[3], "MS_???"); in sys_mount() 158 if (ignore_data && tcp->u_arg[4]) in sys_mount() 159 tprintf("%#lx", tcp->u_arg[4]); in sys_mount() 161 printstr(tcp, tcp->u_arg[4], -1); in sys_mount() [all …]
|
D | bjm.c | 106 printstr(tcp, tcp->u_arg[0], -1); in sys_query_module() 108 printxval(which, tcp->u_arg[1], "QM_???"); in sys_query_module() 114 umove(tcp, tcp->u_arg[4], &ret) < 0) { in sys_query_module() 115 tprintf("%#lx, %lu, %#lx", tcp->u_arg[2], in sys_query_module() 116 tcp->u_arg[3], tcp->u_arg[4]); in sys_query_module() 117 } else if (tcp->u_arg[1]==QM_INFO) { in sys_query_module() 119 if (umove(tcp, tcp->u_arg[2], &mi) < 0) { in sys_query_module() 120 tprintf("%#lx, ", tcp->u_arg[2]); in sys_query_module() 128 } else if ((tcp->u_arg[1]==QM_MODULES) || in sys_query_module() 129 (tcp->u_arg[1]==QM_DEPS) || in sys_query_module() [all …]
|
D | signal.c | 964 printsignal(tcp->u_arg[0]); 966 addr = tcp->u_arg[1]; 968 addr = tcp->u_arg[2]; 985 if (tcp->u_arg[0] == SIGTRAP) { 992 if (tcp->u_arg[0] == SIGTRAP) { 999 if (tcp->u_arg[0] == SIGTRAP) { 1021 long_to_sigset(tcp->u_arg[0], &sigm); 1035 addr = tcp->u_arg[0]; 1037 addr = tcp->u_arg[1]; 1068 long_to_sigset(tcp->u_arg[0], &sigm); [all …]
|
D | process.c | 290 printxval(prctl_options, tcp->u_arg[0], "PR_???"); 291 switch (tcp->u_arg[0]) { 298 tprintf(", %lu", tcp->u_arg[1]); 307 tprintf(", %lu", tcp->u_arg[1]); 316 tprintf(", %s", unalignctl_string(tcp->u_arg[1])); 321 tprintf(", %#lx", tcp->u_arg[1]); 326 tprintf(", %lu", tcp->u_arg[1]); 335 tprintf(", %#lx", tcp->u_arg[i]); 339 switch (tcp->u_arg[0]) { 342 if (umove(tcp, tcp->u_arg[1], &i) < 0) [all …]
|
D | net.c | 1487 printxval(domains, tcp->u_arg[0], "PF_???"); in sys_socket() 1489 tprint_sock_type(tcp, tcp->u_arg[1]); in sys_socket() 1491 switch (tcp->u_arg[0]) { in sys_socket() 1496 printxval(protocols, tcp->u_arg[2], "IPPROTO_???"); in sys_socket() 1502 printxval(domains, tcp->u_arg[2], "PF_???"); in sys_socket() 1507 tprintf("%lu", tcp->u_arg[2]); in sys_socket() 1524 tcp->u_arg[0], tcp->u_arg[1], tcp->u_arg[2]); 1525 printpath(tcp, tcp->u_arg[3]); 1526 tprintf(", %ld", tcp->u_arg[4]); 1537 tprintf("0x%lx", tcp->u_arg[0]); [all …]
|
D | time.c | 219 printnum(tcp, tcp->u_arg[0], "%ld"); 230 printnum(tcp, tcp->u_arg[0], "%ld"); 242 tcp->u_arg[0], tcp->u_arg[1]); 245 printtv(tcp, tcp->u_arg[0]); 248 printtv(tcp, tcp->u_arg[1]); 262 tprintf("%#lx, %#lx", tcp->u_arg[0], tcp->u_arg[1]); 265 printtv_bitness(tcp, tcp->u_arg[0], BITNESS_32, 0); 268 printtv_bitness(tcp, tcp->u_arg[1], BITNESS_32, 0); 280 printtv(tcp, tcp->u_arg[0]); 283 printtv(tcp, tcp->u_arg[1]); [all …]
|
D | desc.c | 312 printfd(tcp, tcp->u_arg[0]); in sys_fcntl() 314 printxval(fcntlcmds, tcp->u_arg[1], "F_???"); in sys_fcntl() 315 switch (tcp->u_arg[1]) { in sys_fcntl() 318 printflags(fdflags, tcp->u_arg[2], "FD_???"); in sys_fcntl() 324 tprintf(", %ld", tcp->u_arg[2]); in sys_fcntl() 328 tprint_open_modes(tcp->u_arg[2]); in sys_fcntl() 335 printflock(tcp, tcp->u_arg[2], 0); in sys_fcntl() 350 printflock64(tcp, tcp->u_arg[2], 0); in sys_fcntl() 356 printflags(notifyflags, tcp->u_arg[2], "DN_???"); in sys_fcntl() 362 printxval(lockfcmds, tcp->u_arg[2], "F_???"); in sys_fcntl() [all …]
|
D | resource.c | 134 if (umove(tcp, tcp->u_arg[1], &rlim) < 0) in print_rlimit32() 153 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in sys_getrlimit() 158 tprintf("%#lx", tcp->u_arg[1]); in sys_getrlimit() 163 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0) in sys_getrlimit() 179 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in sys_setrlimit() 182 tprintf("%#lx", tcp->u_arg[1]); in sys_setrlimit() 187 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0) in sys_setrlimit() 219 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in sys_getrlimit64() 224 tprintf("%#lx", tcp->u_arg[1]); in sys_getrlimit64() 225 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0) in sys_getrlimit64() [all …]
|
D | syscall.c | 482 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= MAX_QUALS) in dumpio() 488 if (qual_flags[tcp->u_arg[0]] & QUAL_READ) { in dumpio() 494 dumpstr(tcp, tcp->u_arg[1], tcp->u_rval); in dumpio() 496 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]); in dumpio() 499 if (qual_flags[tcp->u_arg[0]] & QUAL_WRITE) { in dumpio() 505 dumpstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in dumpio() 507 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]); in dumpio() 549 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= nsubcalls) 551 tcp->scno = subcall + tcp->u_arg[0]; 557 tcp->u_arg[i] = tcp->u_arg[i + 1]; [all …]
|
D | stream.c | 122 tprintf("%ld, ", tcp->u_arg[0]); 125 printstrbufarg(tcp, tcp->u_arg[i], 0); 127 printflags(msgflags, tcp->u_arg[3], "RS_???"); 141 tprintf("%lu, ", tcp->u_arg[0]); 145 tcp->u_arg[1], tcp->u_arg[2], tcp->u_arg[3]); 150 printstrbufarg(tcp, tcp->u_arg[i], 1); 152 if (tcp->u_arg[3] == 0) 154 else if (umove(tcp, tcp->u_arg[3], &flags) < 0) 205 tprintf("%ld, ", tcp->u_arg[0]); 208 printstrbufarg(tcp, tcp->u_arg[i], 0); [all …]
|
D | sock.c | 94 if (umove(tcp, tcp->u_arg[2], &ifc) >= 0 in sock_ioctl() 159 if (umove(tcp, tcp->u_arg[2], &ifr) < 0) in sock_ioctl() 160 tprintf(", %#lx", tcp->u_arg[2]); in sock_ioctl() 195 print_addr(tcp, ((long) tcp->u_arg[2] in sock_ioctl() 248 if (umove(tcp, tcp->u_arg[2], &ifc) < 0) { in sock_ioctl() 278 print_addr(tcp, ((long) tcp->u_arg[2] in sock_ioctl()
|
D | quota.c | 638 u_int32_t qcmd = tcp->u_arg[0]; in sys_quotactl() 641 u_int32_t id = tcp->u_arg[2]; in sys_quotactl() 652 printstr(tcp, tcp->u_arg[1], -1); in sys_quotactl() 674 tprintf("%#lx", tcp->u_arg[2]); in sys_quotactl() 680 if (!tcp->u_arg[3]) in sys_quotactl() 683 decode_cmd_data(tcp, cmd, tcp->u_arg[3]); in sys_quotactl() 722 printxval(quotacmds, tcp->u_arg[0], "Q_???"); in sys_quotactl() 724 printstr(tcp, tcp->u_arg[1], -1); in sys_quotactl() 727 printpath(tcp, tcp->u_arg[0]); in sys_quotactl() 729 printxval(quotacmds, tcp->u_arg[1], "Q_???"); in sys_quotactl() [all …]
|
D | util.c | 267 tprintf(format, tcp->u_arg[llarg]); in printllval() 274 tprintf(format, LONG_LONG(tcp->u_arg[llarg], tcp->u_arg[llarg + 1])); in printllval() 278 tprintf(format, tcp->u_arg[llarg]); in printllval() 284 tprintf(format, LONG_LONG(tcp->u_arg[llarg], tcp->u_arg[llarg + 1])); in printllval() 1525 tcp->u_arg[arg0_index] = CLONE_PTRACE|SIGCHLD; in setbpt() 1526 tcp->u_arg[arg1_index] = 0; in setbpt() 1545 (tcp->u_arg[arg0_index] | CLONE_PTRACE) in setbpt() 1546 & ~(tcp->u_arg[arg0_index] & CLONE_VFORK in setbpt() 1551 tcp->inst[0] = tcp->u_arg[arg0_index]; in setbpt() 1552 tcp->inst[1] = tcp->u_arg[arg1_index]; in setbpt()
|
D | defs.h | 348 long u_arg[MAX_ARGS]; /* System call arguments */ member
|
D | ChangeLog-CVS | 82 tcp->u_arg is not a size_t, it is a long. 2975 (setbpt): Use them for u_arg indices.
|
/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]
|