| /prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /external/strace/ |
| pathtrace.c | 61 upathmatch(struct tcb *tcp, unsigned long upath) 65 return umovestr(tcp, upath, sizeof path, path) > 0 && 73 fdmatch(struct tcb *tcp, int fd) 76 int n = getfdpath(tcp, fd, path, sizeof(path)); 104 getfdpath(struct tcb *tcp, int fd, char *buf, unsigned bufsize) 112 sprintf(linkpath, "/proc/%u/fd/%u", tcp->pid, fd); 155 pathtrace_match(struct tcb *tcp) 159 s = tcp->s_ent; 176 return fdmatch(tcp, tcp->u_arg[0]) | [all...] |
| process.c | 132 sys_prctl(struct tcb *tcp) 136 if (entering(tcp)) { 137 printxval(prctl_options, tcp->u_arg[0], "PR_???"); 138 switch (tcp->u_arg[0]) { 145 tprintf(", %lu", tcp->u_arg[1]); 154 tprintf(", %lu", tcp->u_arg[1]); 163 tprintf(", %s", unalignctl_string(tcp->u_arg[1])); 168 tprintf(", %#lx", tcp->u_arg[1]); 173 tprintf(", %lu", tcp->u_arg[1]); 181 for (i = 1; i < tcp->s_ent->nargs; i++ [all...] |
| signal.c | 129 * memcpy(&tcp->u_arg[1], &something, sizeof(sigset_t)) 131 * it may overflow tcp->u_arg[] array, and it may try to copy more data 134 * umoven(tcp, addr, sizeof(sigset_t), &sigset) 250 print_sigset_addr_len(struct tcb *tcp, long addr, long len) 271 if (umoven(tcp, addr, len, mask) < 0) 508 printsiginfo_at(struct tcb *tcp, long addr) 515 if (syserror(tcp)) { 519 if (umove(tcp, addr, &si) < 0) { 523 printsiginfo(&si, verbose(tcp)); 527 sys_sigsetmask(struct tcb *tcp) [all...] |
| unwind.c | 89 static void delete_mmap_cache(struct tcb *tcp, const char *caller); 104 unwind_tcb_init(struct tcb *tcp) 106 tcp->libunwind_ui = _UPT_create(tcp->pid); 107 if (!tcp->libunwind_ui) 110 tcp->queue = malloc(sizeof(*tcp->queue)); 111 if (!tcp->queue) 113 tcp->queue->head = NULL; 114 tcp->queue->tail = NULL [all...] |
| ioctl.c | 73 ioctl_decode(struct tcb *tcp, long code, long arg) 81 return term_ioctl(tcp, code, arg); 83 return sock_ioctl(tcp, code, arg); 85 return rtc_ioctl(tcp, code, arg); 88 return block_ioctl(tcp, code, arg); 91 return scsi_ioctl(tcp, code, arg); 94 return loop_ioctl(tcp, code, arg); 96 return mtd_ioctl(tcp, code, arg); 99 return ubi_ioctl(tcp, code, arg); 101 return ptp_ioctl(tcp, code, arg) [all...] |
| ptp.c | 7 int ptp_ioctl(struct tcb *tcp, long code, long arg) 9 if (!verbose(tcp)) 17 if (entering(tcp) || syserror(tcp) || 18 umove(tcp, arg, &caps) < 0) 31 if (exiting(tcp)) 33 if (umove(tcp, arg, &extts) < 0) { 47 if (exiting(tcp)) 49 if (umove(tcp, arg, &perout) < 0) { 66 if (entering(tcp)) [all...] |
| syscall.c | 326 update_personality(struct tcb *tcp, int personality) 332 if (personality == tcp->currpers) 334 tcp->currpers = personality; 340 tcp->pid, names[personality]); 346 tcp->pid, names[personality]); 352 tcp->pid, names[personality]); 358 tcp->pid, names[personality]); 364 tcp->pid, names[personality]); 578 decode_socket_subcall(struct tcb *tcp) 583 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= SYS_socket_nsubcalls [all...] |
| scsi.c | 39 print_sg_io_buffer(struct tcb *tcp, unsigned char *addr, int len) 49 umoven(tcp, (unsigned long) addr, allocated, (char *) buf) < 0) { 63 print_sg_io_req(struct tcb *tcp, struct sg_io_hdr *sg_io) 69 print_sg_io_buffer(tcp, sg_io->cmdp, sg_io->cmd_len); 79 printstr(tcp, (unsigned long) sg_io->dxferp, 86 print_sg_io_res(struct tcb *tcp, struct sg_io_hdr *sg_io) 91 printstr(tcp, (unsigned long) sg_io->dxferp, 98 print_sg_io_buffer(tcp, sg_io->sbp, sg_io->sb_len_wr); 107 scsi_ioctl(struct tcb *tcp, long code, long arg) 111 if (entering(tcp)) { [all...] |
| block.c | 85 print_blkpg_req(struct tcb *tcp, struct blkpg_ioctl_arg *blkpg) 95 if (umove(tcp, (long) blkpg->data, &p) < 0) 106 block_ioctl(struct tcb *tcp, long code, long arg) 112 if (entering(tcp)) 119 if (entering(tcp)) { 121 if (umove(tcp, arg, &val) < 0) 130 if (exiting(tcp)) { 132 if (syserror(tcp) || umove(tcp, arg, &val) < 0) 144 if (exiting(tcp)) { [all...] |
| mtd.c | 50 int mtd_ioctl(struct tcb *tcp, long code, long arg) 65 if (entering(tcp)) 71 if (!verbose(tcp) || umove(tcp, arg, &minfo) < 0) 90 if (!verbose(tcp) || umove(tcp, arg, &einfo) < 0) 98 if (!verbose(tcp) || umove(tcp, arg, &einfo64) < 0) 107 if (!verbose(tcp) || umove(tcp, arg, &mbuf) < 0 [all...] |
| util.c | 228 printllval(struct tcb *tcp, const char *format, int arg_no, bool align) 234 tprintf(format, tcp->u_arg[arg_no]); 244 tprintf(format, LONG_LONG(tcp->u_arg[arg_no], tcp->u_arg[arg_no + 1])); 251 tprintf(format, tcp->ext_arg[arg_no]); 255 tprintf(format, tcp->ext_arg[arg_no]); 258 tprintf(format, LONG_LONG(tcp->u_arg[arg_no], tcp->u_arg[arg_no + 1])); 271 tprintf(format, LONG_LONG(tcp->u_arg[arg_no], tcp->u_arg[arg_no + 1])) [all...] |
| aio.c | 156 sys_io_setup(struct tcb *tcp) 158 if (entering(tcp)) 159 tprintf("%ld, ", tcp->u_arg[0]); 161 if (syserror(tcp)) 162 tprintf("0x%0lx", tcp->u_arg[1]); 165 if (umove(tcp, tcp->u_arg[1], &user_id) == 0) 175 sys_io_destroy(struct tcb *tcp) 177 if (entering(tcp)) 178 tprintf("%lu", tcp->u_arg[0]) [all...] |
| loop.c | 37 int loop_ioctl(struct tcb *tcp, long code, long arg) 43 if (entering(tcp)) 50 if (!verbose(tcp) || umove(tcp, arg, &info) < 0) 55 if (!abbrev(tcp)) { 64 if (!abbrev(tcp) || info.lo_encrypt_type != LO_CRYPT_NONE) { 77 if (!abbrev(tcp) || info.lo_encrypt_type != LO_CRYPT_NONE) { 82 if (!abbrev(tcp)) 95 if (!verbose(tcp) || umove(tcp, arg, &info64) < 0 [all...] |
| kexec.c | 8 print_kexec_segments(struct tcb *tcp, unsigned long addr, unsigned long len) 50 if (umoven(tcp, addr + i * sizeof_seg, sizeof_seg, 66 sys_kexec_load(struct tcb *tcp) 70 if (exiting(tcp)) 74 tprintf("%#lx, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); 77 print_kexec_segments(tcp, tcp->u_arg[2], tcp->u_arg[1]); 81 n = tcp->u_arg[3] [all...] |
| term.c | 47 int term_ioctl(struct tcb *tcp, long code, long arg) 57 if (entering(tcp)) 66 if (syserror(tcp)) 71 if (!verbose(tcp) || umove(tcp, arg, &tios) < 0) 73 if (abbrev(tcp)) { 100 if (syserror(tcp)) 105 if (!verbose(tcp) || umove(tcp, arg, &tio) < 0) 107 if (abbrev(tcp)) { [all...] |
| strace.c | 165 static void detach(struct tcb *tcp); 367 ptrace_restart(int op, struct tcb *tcp, int sig) 373 ptrace(op, tcp->pid, (void *) 0, (long) sig); 403 perror_msg("ptrace(PTRACE_%s,pid:%d,sig:%d)", msg, tcp->pid, sig); 586 printleader(struct tcb *tcp) 592 printing_tcp = tcp; 596 if (printing_tcp->curcol != 0 && (followfork < 2 || printing_tcp == tcp)) { 608 printing_tcp = tcp; 609 current_tcp = tcp; 613 tprintf("%-5d ", tcp->pid) 693 struct tcb *tcp; local 958 struct tcb *tcp; local 1165 struct tcb *tcp; local 1635 struct tcb *tcp; local 1987 struct tcb *tcp = tcbtab[i]; local 1999 struct tcb *tcp; local 2054 struct tcb *tcp; local [all...] |
| /development/ndk/platforms/android-3/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /prebuilts/ndk/9/platforms/android-12/arch-arm/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /prebuilts/ndk/9/platforms/android-12/arch-mips/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /prebuilts/ndk/9/platforms/android-12/arch-x86/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /prebuilts/ndk/9/platforms/android-13/arch-arm/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /prebuilts/ndk/9/platforms/android-13/arch-mips/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|
| /prebuilts/ndk/9/platforms/android-13/arch-x86/usr/include/netinet/ |
| tcp.h | 31 #include <endian.h> /* Include *before* linux/tcp.h */ 32 #include <linux/tcp.h>
|