Home | History | Annotate | Download | only in strace

Lines Matching refs:tcp

40 bpf_map_create(struct tcb *tcp, const long addr, unsigned int size)
52 if (umoven_or_printaddr(tcp, addr, size, &attr))
64 bpf_map_update_elem(struct tcb *tcp, const long addr, unsigned int size)
79 if (umoven_or_printaddr(tcp, addr, size, &attr))
83 printfd(tcp, attr.map_fd);
91 bpf_map_delete_elem(struct tcb *tcp, const long addr, unsigned int size)
104 if (umoven_or_printaddr(tcp, addr, size, &attr))
108 printfd(tcp, attr.map_fd);
113 bpf_map_io(struct tcb *tcp, const long addr, unsigned int size, const char *text)
121 if (exiting(tcp)) {
122 if (!syserror(tcp) && !umove_or_printaddr(tcp, addr, &attr))
134 if (umoven_or_printaddr(tcp, addr, size, &attr))
138 printfd(tcp, attr.map_fd);
145 bpf_prog_load(struct tcb *tcp, const long addr, unsigned int size)
161 if (umoven_or_printaddr(tcp, addr, size, &attr))
168 printstr(tcp, attr.license, -1);
177 const int cmd = tcp->u_arg[0];
178 const long addr = tcp->u_arg[1];
179 const unsigned int size = tcp->u_arg[2];
182 if (entering(tcp)) {
189 rc = bpf_map_create(tcp, addr, size);
192 rc = bpf_map_io(tcp, addr, size, "value");
195 bpf_map_update_elem(tcp, addr, size);
198 bpf_map_delete_elem(tcp, addr, size);
201 rc = bpf_map_io(tcp, addr, size, "next_key");
204 rc = bpf_prog_load(tcp, addr, size);