Home
last modified time | relevance | path

Searched refs:tcp (Results 1 – 25 of 807) sorted by relevance

12345678910>>...33

/external/strace/
Dtime.c37 print_timezone(struct tcb *const tcp, const kernel_ulong_t addr) in print_timezone() argument
41 if (umove_or_printaddr(tcp, addr, &tz)) in print_timezone()
50 if (exiting(tcp)) { in SYS_FUNC()
51 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC()
53 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC()
61 if (exiting(tcp)) { in SYS_FUNC()
62 print_timeval32(tcp, tcp->u_arg[0]); in SYS_FUNC()
64 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC()
72 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC()
74 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC()
[all …]
Dsyscall.c277 update_personality(struct tcb *tcp, unsigned int personality) in update_personality() argument
284 if (personality == tcp->currpers) in update_personality()
286 tcp->currpers = personality; in update_personality()
290 tcp->pid, personality_names[personality]); in update_personality()
304 decode_socket_subcall(struct tcb *tcp) in decode_socket_subcall() argument
306 const int call = tcp->u_arg[0]; in decode_socket_subcall()
315 if (umoven(tcp, tcp->u_arg[1], nargs * current_wordsize, buf) < 0) in decode_socket_subcall()
318 tcp->scno = scno; in decode_socket_subcall()
319 tcp->qual_flg = qual_flags(scno); in decode_socket_subcall()
320 tcp->s_ent = &sysent[scno]; in decode_socket_subcall()
[all …]
Dio.c38 if (entering(tcp)) { in SYS_FUNC()
39 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
42 if (syserror(tcp)) in SYS_FUNC()
43 printaddr(tcp->u_arg[1]); in SYS_FUNC()
45 printstrn(tcp, tcp->u_arg[1], tcp->u_rval); in SYS_FUNC()
46 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC()
53 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
55 printstrn(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
56 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC()
67 print_iovec(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data) in print_iovec() argument
[all …]
Dxattr.c43 print_xattr_val(struct tcb *const tcp, in print_xattr_val() argument
53 printstr_ex(tcp, addr, size, QUOTE_OMIT_TRAILING_0); in print_xattr_val()
59 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC()
61 printstr(tcp, tcp->u_arg[1]); in SYS_FUNC()
62 print_xattr_val(tcp, tcp->u_arg[2], tcp->u_arg[3], tcp->u_arg[3]); in SYS_FUNC()
64 printflags(xattrflags, tcp->u_arg[4], "XATTR_???"); in SYS_FUNC()
70 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
72 printstr(tcp, tcp->u_arg[1]); in SYS_FUNC()
73 print_xattr_val(tcp, tcp->u_arg[2], tcp->u_arg[3], tcp->u_arg[3]); in SYS_FUNC()
75 printflags(xattrflags, tcp->u_arg[4], "XATTR_???"); in SYS_FUNC()
[all …]
Dnet.c105 decode_sockbuf(struct tcb *const tcp, const int fd, const kernel_ulong_t addr, in decode_sockbuf() argument
109 switch (verbose(tcp) ? getfdproto(tcp, fd) : SOCK_PROTO_UNKNOWN) { in decode_sockbuf()
111 decode_netlink(tcp, fd, addr, addrlen); in decode_sockbuf()
114 printstrn(tcp, addr, addrlen); in decode_sockbuf()
139 printxval(addrfams, tcp->u_arg[0], "AF_???"); in SYS_FUNC()
141 tprint_sock_type(tcp->u_arg[1]); in SYS_FUNC()
143 switch (tcp->u_arg[0]) { in SYS_FUNC()
146 printxval_search(inet_protocols, tcp->u_arg[2], "IPPROTO_???"); in SYS_FUNC()
151 printxval_searchn_ex(ARRSZ_PAIR(ax25_protocols), tcp->u_arg[2], in SYS_FUNC()
156 printxval(netlink_protocols, tcp->u_arg[2], "NETLINK_???"); in SYS_FUNC()
[all …]
Dfcntl.c57 printflock64(struct tcb *const tcp, const kernel_ulong_t addr, const int getlk) in printflock64() argument
61 if (fetch_struct_flock64(tcp, addr, &fl)) in printflock64()
66 printflock(struct tcb *const tcp, const kernel_ulong_t addr, const int getlk) in printflock() argument
70 if (fetch_struct_flock(tcp, addr, &fl)) in printflock()
75 print_f_owner_ex(struct tcb *const tcp, const kernel_ulong_t addr) in print_f_owner_ex() argument
79 if (umove_or_printaddr(tcp, addr, &owner)) in print_f_owner_ex()
88 print_fcntl(struct tcb *tcp) in print_fcntl() argument
90 const unsigned int cmd = tcp->u_arg[1]; in print_fcntl()
95 printflags(fdflags, tcp->u_arg[2], "FD_???"); in print_fcntl()
99 tprintf(", %" PRI_kld, tcp->u_arg[2]); in print_fcntl()
[all …]
Dsignal.c255 print_sigset_addr_len_limit(struct tcb *const tcp, const kernel_ulong_t addr, in print_sigset_addr_len_limit() argument
267 if (umoven_or_printaddr(tcp, addr, len, mask)) in print_sigset_addr_len_limit()
273 print_sigset_addr_len(struct tcb *const tcp, const kernel_ulong_t addr, in print_sigset_addr_len() argument
276 print_sigset_addr_len_limit(tcp, addr, len, current_wordsize); in print_sigset_addr_len()
280 print_sigset_addr(struct tcb *const tcp, const kernel_ulong_t addr) in print_sigset_addr() argument
282 print_sigset_addr_len_limit(tcp, addr, NSIG_BYTES, NSIG_BYTES); in print_sigset_addr()
287 if (entering(tcp)) { in SYS_FUNC()
288 tprint_old_sigmask_val("", (unsigned) tcp->u_arg[0]); in SYS_FUNC()
289 } else if (!syserror(tcp)) { in SYS_FUNC()
290 tcp->auxstr = sprint_old_sigmask_val("old mask ", in SYS_FUNC()
[all …]
Dmq.c35 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC()
38 tprint_open_modes(tcp->u_arg[1]); in SYS_FUNC()
39 if (tcp->u_arg[1] & O_CREAT) { in SYS_FUNC()
42 print_numeric_umode_t(tcp->u_arg[2]); in SYS_FUNC()
44 printmqattr(tcp, tcp->u_arg[3], false); in SYS_FUNC()
51 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
53 printstrn(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
54 tprintf(", %" PRI_klu ", %u, ", tcp->u_arg[2], in SYS_FUNC()
55 (unsigned int) tcp->u_arg[3]); in SYS_FUNC()
56 print_timespec(tcp, tcp->u_arg[4]); in SYS_FUNC()
[all …]
Dmmsghdr.c38 fetch_struct_mmsghdr_for_print(struct tcb *const tcp, in fetch_struct_mmsghdr_for_print() argument
42 return (entering(tcp) || !syserror(tcp)) && in fetch_struct_mmsghdr_for_print()
43 fetch_struct_mmsghdr(tcp, addr, mh); in fetch_struct_mmsghdr_for_print()
54 print_struct_mmsghdr(struct tcb *tcp, void *elem_buf, in print_struct_mmsghdr() argument
67 print_struct_msghdr(tcp, &mmsg->msg_hdr, c->p_user_msg_namelen, in print_struct_mmsghdr()
98 save_mmsgvec_namelen(struct tcb *const tcp, kernel_ulong_t addr, in save_mmsgvec_namelen() argument
114 fetched = fetch_struct_mmsghdr(tcp, addr, &mh); in save_mmsgvec_namelen()
121 set_tcb_priv_data(tcp, data, free_mmsgvec_data); in save_mmsgvec_namelen()
125 decode_mmsgvec(struct tcb *const tcp, const kernel_ulong_t addr, in decode_mmsgvec() argument
135 const struct mmsgvec_data *const data = get_tcb_priv_data(tcp); in decode_mmsgvec()
[all …]
Dmem.c60 printaddr(tcp->u_arg[0]); in SYS_FUNC()
97 print_mmap(struct tcb *tcp, kernel_ulong_t *u_arg, unsigned long long offset) in print_mmap() argument
111 printfd(tcp, fd); in print_mmap()
128 fetch_indirect_syscall_args(tcp, tcp->u_arg[0], 6); in SYS_FUNC()
131 print_mmap(tcp, args, args[5]); in SYS_FUNC()
133 printaddr(tcp->u_arg[0]); in SYS_FUNC()
143 fetch_indirect_syscall_args(tcp, tcp->u_arg[0], 6); in SYS_FUNC()
151 print_mmap(tcp, args, offset); in SYS_FUNC()
153 printaddr(tcp->u_arg[0]); in SYS_FUNC()
169 print_mmap(tcp, tcp->u_arg, tcp->u_arg[5]); in SYS_FUNC()
[all …]
Dkeyctl.c53 printstr(tcp, tcp->u_arg[0]); in SYS_FUNC()
56 printstr(tcp, tcp->u_arg[1]); in SYS_FUNC()
59 printstrn(tcp, tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
61 tprintf(", %" PRI_klu ", ", tcp->u_arg[3]); in SYS_FUNC()
63 print_keyring_serial_number(tcp->u_arg[4]); in SYS_FUNC()
71 printstr(tcp, tcp->u_arg[0]); in SYS_FUNC()
74 printstr(tcp, tcp->u_arg[1]); in SYS_FUNC()
77 printstr(tcp, tcp->u_arg[2]); in SYS_FUNC()
80 print_keyring_serial_number(tcp->u_arg[3]); in SYS_FUNC()
86 keyctl_get_keyring_id(struct tcb *tcp, key_serial_t id, int create) in keyctl_get_keyring_id() argument
[all …]
Dprctl.c80 print_prctl_args(struct tcb *tcp, const unsigned int first) in print_prctl_args() argument
84 for (i = first; i < tcp->s_ent->nargs; ++i) in print_prctl_args()
85 tprintf(", %#" PRI_klx, tcp->u_arg[i]); in print_prctl_args()
106 const unsigned int option = tcp->u_arg[0]; in SYS_FUNC()
107 const kernel_ulong_t arg2 = tcp->u_arg[1]; in SYS_FUNC()
108 const kernel_ulong_t arg3 = tcp->u_arg[2]; in SYS_FUNC()
114 const kernel_ulong_t arg4 = tcp->u_arg[3]; in SYS_FUNC()
115 const kernel_ulong_t arg5 = tcp->u_arg[4]; in SYS_FUNC()
119 if (entering(tcp)) in SYS_FUNC()
133 if (entering(tcp)) in SYS_FUNC()
[all …]
Dpathtrace.c58 upathmatch(struct tcb *const tcp, const kernel_ulong_t upath, in upathmatch() argument
63 return umovestr(tcp, upath, sizeof(path), path) > 0 && in upathmatch()
71 fdmatch(struct tcb *tcp, int fd, struct path_set *set) in fdmatch() argument
74 int n = getfdpath(tcp, fd, path, sizeof(path)); in fdmatch()
101 getfdpath(struct tcb *tcp, int fd, char *buf, unsigned bufsize) in getfdpath() argument
109 xsprintf(linkpath, "/proc/%u/fd/%u", tcp->pid, fd); in getfdpath()
147 match_xselect_args(struct tcb *tcp, const kernel_ulong_t *args, in match_xselect_args() argument
164 if (umoven(tcp, args[i], fdsize, fds) < 0) in match_xselect_args()
170 if (fdmatch(tcp, j, set)) { in match_xselect_args()
186 pathtrace_match_set(struct tcb *tcp, struct path_set *set) in pathtrace_match_set() argument
[all …]
Dsched.c41 if (entering(tcp)) { in SYS_FUNC()
42 tprintf("%d", (int) tcp->u_arg[0]); in SYS_FUNC()
43 } else if (!syserror(tcp)) { in SYS_FUNC()
44 tcp->auxstr = xlookup(schedulers, (kernel_ulong_t) tcp->u_rval); in SYS_FUNC()
52 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
53 printxval(schedulers, tcp->u_arg[1], "SCHED_???"); in SYS_FUNC()
55 printnum_int(tcp, tcp->u_arg[2], "%d"); in SYS_FUNC()
62 if (entering(tcp)) in SYS_FUNC()
63 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
65 printnum_int(tcp, tcp->u_arg[1], "%d"); in SYS_FUNC()
[all …]
Dipc_msg.c49 printxval(ipc_private, (unsigned int) tcp->u_arg[0], NULL); in SYS_FUNC()
51 if (printflags(resource_flags, tcp->u_arg[1] & ~0777, NULL) != 0) in SYS_FUNC()
53 print_numeric_umode_t(tcp->u_arg[1] & 0777); in SYS_FUNC()
58 tprint_msgsnd(struct tcb *const tcp, const kernel_ulong_t addr, in tprint_msgsnd() argument
61 tprint_msgbuf(tcp, addr, count); in tprint_msgsnd()
67 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
68 if (indirect_ipccall(tcp)) { in SYS_FUNC()
69 tprint_msgsnd(tcp, tcp->u_arg[3], tcp->u_arg[1], in SYS_FUNC()
70 tcp->u_arg[2]); in SYS_FUNC()
72 tprint_msgsnd(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC()
[all …]
Dnuma.c33 print_node(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data) in print_node() argument
47 print_nodemask(struct tcb *const tcp, const kernel_ulong_t addr, in print_nodemask() argument
61 print_array(tcp, addr, nmemb, &buf, current_wordsize, in print_nodemask()
67 tprintf("%d, %" PRI_klu ", ", (int) tcp->u_arg[0], tcp->u_arg[1]); in SYS_FUNC()
68 print_nodemask(tcp, tcp->u_arg[2], tcp->u_arg[1]); in SYS_FUNC()
70 print_nodemask(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC()
80 printaddr(tcp->u_arg[0]); in SYS_FUNC()
81 tprintf(", %" PRI_klu ", ", tcp->u_arg[1]); in SYS_FUNC()
82 printxval64(policies, tcp->u_arg[2], "MPOL_???"); in SYS_FUNC()
84 print_nodemask(tcp, tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
[all …]
Dipc_sem.c48 print_sembuf(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data) in print_sembuf() argument
61 tprint_sembuf_array(struct tcb *const tcp, const kernel_ulong_t addr, in tprint_sembuf_array() argument
66 print_array(tcp, addr, count, &sb, sizeof(sb), in tprint_sembuf_array()
76 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
77 if (indirect_ipccall(tcp)) { in SYS_FUNC()
78 tprint_sembuf_array(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC()
80 tprint_sembuf_array(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
87 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
88 if (indirect_ipccall(tcp)) { in SYS_FUNC()
89 tprint_sembuf_array(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC()
[all …]
Dkvm.c53 vcpu_find(struct tcb *const tcp, int fd) in vcpu_find() argument
55 for (struct vcpu_info *vcpu_info = tcp->vcpu_info_list; in vcpu_find()
65 vcpu_alloc(struct tcb *const tcp, int fd, int cpuid) in vcpu_alloc() argument
72 vcpu_info->next = tcp->vcpu_info_list; in vcpu_alloc()
73 tcp->vcpu_info_list = vcpu_info; in vcpu_alloc()
79 kvm_vcpu_info_free(struct tcb *tcp) in kvm_vcpu_info_free() argument
83 for (head = tcp->vcpu_info_list; head; head = next) { in kvm_vcpu_info_free()
88 tcp->vcpu_info_list = NULL; in kvm_vcpu_info_free()
92 vcpu_register(struct tcb *const tcp, int fd, int cpuid) in vcpu_register() argument
97 struct vcpu_info *vcpu_info = vcpu_find(tcp, fd); in vcpu_register()
[all …]
Dmx32_printer_decls.h2 extern int mx32_block_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t ar…
3 extern int mx32_btrfs_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t ar…
4 extern int mx32_evdev_write_ioctl_mpers(struct tcb *const tcp, const unsigned int code, const kerne…
6 extern _Bool mx32_fetch_bpf_fprog(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
7 extern _Bool mx32_fetch_struct_flock(struct tcb *const tcp, const kernel_ulong_t addr, void *const …
8 extern _Bool mx32_fetch_struct_flock64(struct tcb *const tcp, const kernel_ulong_t addr, void *cons…
9 extern int mx32_fetch_keyctl_kdf_params(struct tcb *const tcp, kernel_ulong_t addr, struct strace_k…
10 extern int mx32_fetch_struct_mmsghdr(struct tcb *const tcp, const kernel_ulong_t addr, void *const …
12 extern int mx32_fetch_struct_msghdr(struct tcb *const tcp, const kernel_ulong_t addr, void *const p…
13 extern _Bool mx32_fetch_struct_stat(struct tcb *const tcp, const kernel_ulong_t addr, struct strace…
[all …]
Dm32_printer_decls.h2 extern int m32_block_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg…
3 extern int m32_btrfs_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg…
4 extern int m32_evdev_write_ioctl_mpers(struct tcb *const tcp, const unsigned int code, const kernel…
6 extern _Bool m32_fetch_bpf_fprog(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
7 extern _Bool m32_fetch_struct_flock(struct tcb *const tcp, const kernel_ulong_t addr, void *const p…
8 extern _Bool m32_fetch_struct_flock64(struct tcb *const tcp, const kernel_ulong_t addr, void *const…
9 extern int m32_fetch_keyctl_kdf_params(struct tcb *const tcp, kernel_ulong_t addr, struct strace_ke…
10 extern int m32_fetch_struct_mmsghdr(struct tcb *const tcp, const kernel_ulong_t addr, void *const p…
12 extern int m32_fetch_struct_msghdr(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
13 extern _Bool m32_fetch_struct_stat(struct tcb *const tcp, const kernel_ulong_t addr, struct strace_…
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_posix.cc196 static void drop_uncovered(grpc_tcp* tcp) { in drop_uncovered() argument
207 static void cover_self(grpc_tcp* tcp) { in cover_self() argument
235 gpr_log(GPR_INFO, "BACKUP_POLLER:%p add %p", p, tcp); in cover_self()
237 grpc_pollset_add_fd(BACKUP_POLLER_POLLSET(p), tcp->em_fd); in cover_self()
239 drop_uncovered(tcp); in cover_self()
243 static void notify_on_read(grpc_tcp* tcp) { in notify_on_read() argument
245 gpr_log(GPR_INFO, "TCP:%p notify_on_read", tcp); in notify_on_read()
247 GRPC_CLOSURE_INIT(&tcp->read_done_closure, tcp_handle_read, tcp, in notify_on_read()
249 grpc_fd_notify_on_read(tcp->em_fd, &tcp->read_done_closure); in notify_on_read()
252 static void notify_on_write(grpc_tcp* tcp) { in notify_on_write() argument
[all …]
Dtcp_custom.cc76 custom_tcp_endpoint* tcp = (custom_tcp_endpoint*)s->endpoint; in tcp_free() local
77 grpc_resource_user_unref(tcp->resource_user); in tcp_free()
78 gpr_free(tcp->peer_string); in tcp_free()
79 gpr_free(tcp); in tcp_free()
88 #define TCP_UNREF(tcp, reason) tcp_unref((tcp), (reason), __FILE__, __LINE__) argument
89 #define TCP_REF(tcp, reason) tcp_ref((tcp), (reason), __FILE__, __LINE__) argument
90 static void tcp_unref(custom_tcp_endpoint* tcp, const char* reason, in tcp_unref() argument
93 gpr_atm val = gpr_atm_no_barrier_load(&tcp->refcount.count); in tcp_unref()
95 "TCP unref %p : %s %" PRIdPTR " -> %" PRIdPTR, tcp->socket, reason, in tcp_unref()
98 if (gpr_unref(&tcp->refcount)) { in tcp_unref()
[all …]
Dtcp_windows.cc130 static void tcp_free(grpc_tcp* tcp) { in tcp_free() argument
131 grpc_winsocket_destroy(tcp->socket); in tcp_free()
132 gpr_mu_destroy(&tcp->mu); in tcp_free()
133 gpr_free(tcp->peer_string); in tcp_free()
134 grpc_resource_user_unref(tcp->resource_user); in tcp_free()
135 if (tcp->shutting_down) GRPC_ERROR_UNREF(tcp->shutdown_error); in tcp_free()
136 gpr_free(tcp); in tcp_free()
140 #define TCP_UNREF(tcp, reason) tcp_unref((tcp), (reason), __FILE__, __LINE__) argument
141 #define TCP_REF(tcp, reason) tcp_ref((tcp), (reason), __FILE__, __LINE__) argument
142 static void tcp_unref(grpc_tcp* tcp, const char* reason, const char* file, in tcp_unref() argument
[all …]
/external/iptables/extensions/
Dlibxt_tcp.t2 -p tcp -m tcp --sport 1;=;OK
3 -p tcp -m tcp --sport 65535;=;OK
4 -p tcp -m tcp --dport 1;=;OK
5 -p tcp -m tcp --dport 65535;=;OK
6 -p tcp -m tcp --sport 1:1023;=;OK
7 -p tcp -m tcp --sport 1024:65535;=;OK
8 -p tcp -m tcp --sport 1024:;-p tcp -m tcp --sport 1024:65535;OK
9 -p tcp -m tcp ! --sport 1;=;OK
10 -p tcp -m tcp ! --sport 65535;=;OK
11 -p tcp -m tcp ! --dport 1;=;OK
[all …]
/external/ltp/runtest/
Dnet.nfs6 nfs3t_01 nfs01 -v 3 -t tcp
7 nfs4_01 nfs01 -v 4 -t tcp
8 nfs41_01 nfs01 -v 4.1 -t tcp
9 nfs42_01 nfs01 -v 4.2 -t tcp
11 nfs3t_ipv6_01 nfs01 -6 -v 3 -t tcp
12 nfs4_ipv6_01 nfs01 -6 -v 4 -t tcp
13 nfs41_ipv6_01 nfs01 -6 -v 4.1 -t tcp
14 nfs42_ipv6_01 nfs01 -6 -v 4.2 -t tcp
17 nfs3t_02 nfs02 -v 3 -t tcp
18 nfs4_02 nfs02 -v 4 -t tcp
[all …]

12345678910>>...33