/linux-master/tools/testing/selftests/bpf/ |
H A D | trace_helpers.c | 346 int fd, err = -EINVAL; local
|
H A D | test_sockmap.c | 414 static int msg_loop_sendpage(int fd, int iov_length, int cnt, argument 551 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, argument [all...] |
H A D | test_cpp.cpp | 104 int fd; local
|
H A D | network_helpers.c | 57 int settimeo(int fd, int timeout_ms) argument 86 int fd; local 136 reuseport_cb(int fd, const struct post_socket_opts *opts) argument 210 int fd, ret; local 241 connect_fd_to_addr(int fd, const struct sockaddr_storage *addr, socklen_t addrlen, const bool must_fail) argument 271 int fd; local 300 int fd, type, protocol; local 573 int fd; member in struct:send_recv_arg 583 int err = 0, fd; local 626 send_recv_data(int lfd, int fd, uint32_t total_bytes) argument [all...] |
H A D | cgroup_helpers.c | 64 int fd, cfd; local 132 int fd; local 254 int fd, rc = 0; local 365 int fd; local 407 int fd; local 578 int fd, rc = 0; local [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_do_redirect.c | 41 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) argument 68 static void test_max_pkt_size(int fd) argument
|
H A D | tc_redirect.c | 472 static int __rcv_tstamp(int fd, const char *expected, size_t s, __u64 *tstamp) argument 520 static void rcv_tstamp(int fd, const char *expected, size_t s) argument 573 static void snd_tstamp(int fd, char *b, size_t s) argument 1075 int fd, err; local [all...] |
H A D | tcp_rtt.c | 18 static void send_byte(int fd) argument 25 static int wait_for_ack(int fd, int retries) argument
|
H A D | test_struct_ops_module.c | 15 int err, fd; local
|
H A D | sockopt.c | 974 int fd, insns_cnt = 0; local 992 static int uring_sockopt(int op, int fd, int level, int optname, argument 1028 static int uring_setsockopt(int fd, int level, int optname, const void *optval, argument 1035 static int uring_getsockopt(int fd, int level, int optname, void *optval, argument 1052 call_setsockopt(bool use_io_uring, int fd, int level, int optname, const void *optval, socklen_t optlen) argument 1062 call_getsockopt(bool use_io_uring, int fd, int level, int optname, void *optval, socklen_t *optlen) argument [all...] |
H A D | sockopt_inherit.c | 13 static int verify_sockopt(int fd, int optname, const char *msg, char expected) argument 43 int fd = *(int *)arg; local 73 static int custom_cb(int fd, const struct post_socket_opts *opts) argument [all...] |
H A D | sock_addr.c | 130 static int kernel_close_sock(int fd) argument 195 static int kernel_bind(int fd, struct sockaddr *addr, socklen_t addrlen) argument 205 static int kernel_sendmsg(int fd, struct sockaddr *addr, socklen_t addrlen, argument 211 static int sock_sendmsg(int fd, struct sockaddr *addr, socklen_t addrlen, argument 217 static int kernel_getsockname(int fd, struct sockaddr *addr, socklen_t *addrlen) argument 222 static int kernel_getpeername(int fd, struct sockaddr *addr, socklen_t *addrlen) argument 295 user_sendmsg(int fd, struct sockaddr *addr, socklen_t addrlen, char *msg, int msglen) argument 314 user_bind(int fd, struct sockaddr *addr, socklen_t addrlen) argument [all...] |
H A D | sk_assign.c | 76 get_port(int fd) argument
|
H A D | mptcp.c | 122 int fd; local 244 static void send_byte(int fd) argument
|
H A D | module_attach.c | 13 int fd, err; local
|
H A D | flow_dissector.c | 454 int fd, ret; local 469 static int tx_tap(int fd, void *pkt, size_t len) argument
|
H A D | dummy_st_ops.c | 36 int fd, err; local 63 int fd, err; local 108 int fd, err; local 137 int fd, err; local 162 int fd, err; local [all...] |
H A D | bpf_tcp_ca.c | 26 static int settcpca(int fd, const char *tcp_ca) argument 39 int lfd = -1, fd = -1; local [all...] |
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_trigger.c | 118 int fd = ctx.driver_prog_fd ?: bpf_program__fd(ctx.skel->progs.trigger_driver); local
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf_probes.c | 112 int fd, err, exp_err = 0; local 287 int fd = -1, btf_fd = -1, fd_inner = -1, exp_err = 0, err = 0; local [all...] |
H A D | libbpf_internal.h | 182 int fd; /* hook FD, -1 if not applicable */ member in struct:bpf_link 570 static inline int dup_good_fd(int fd) argument 581 static inline int ensure_good_fd(int fd) argument [all...] |
H A D | libbpf.c | 451 int fd; member in struct:bpf_program 530 int fd; member in struct:bpf_map 609 int fd; member in struct:module_btf 629 int fd; member in struct:elf_state 1692 int fd; local 4749 bpf_get_map_info_from_fdinfo(int fd, struct bpf_map_info *info) argument 4799 bpf_map__reuse_fd(struct bpf_map *map, int fd) argument 5233 int fd, err = 0; local 5269 int fd, err; local 5546 int err, fd; local 10294 bpf_map__set_inner_map_fd(struct bpf_map *map, int fd) argument 10583 int fd; local 10895 int fd, n, err = 0; local 12878 int err, fd; local 13036 int fd; member in struct:perf_cpu_buf 13621 int fd, err = 0, len; local [all...] |
H A D | bpf.c | 81 int fd; local 89 int fd; local 177 int fd; local 246 int fd, attempts; local 387 bpf_map_update_elem(int fd, const void *key, const void *value, __u64 flags) argument 404 bpf_map_lookup_elem(int fd, const void *key, void *value) argument 419 bpf_map_lookup_elem_flags(int fd, const void *key, void *value, __u64 flags) argument 435 bpf_map_lookup_and_delete_elem(int fd, const void *key, void *value) argument 450 bpf_map_lookup_and_delete_elem_flags(int fd, const void *key, void *value, __u64 flags) argument 466 bpf_map_delete_elem(int fd, const void *key) argument 480 bpf_map_delete_elem_flags(int fd, const void *key, __u64 flags) argument 495 bpf_map_get_next_key(int fd, const void *key, void *next_key) argument 510 bpf_map_freeze(int fd) argument 523 bpf_map_batch_common(int cmd, int fd, void *in_batch, void *out_batch, void *keys, void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument 551 bpf_map_delete_batch(int fd, const void *keys, __u32 *count, const struct bpf_map_batch_opts *opts) argument 558 bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, void *keys, void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument 566 bpf_map_lookup_and_delete_batch(int fd, void *in_batch, void *out_batch, void *keys, void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument 575 bpf_map_update_batch(int fd, const void *keys, const void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument 582 bpf_obj_pin_opts(int fd, const char *pathname, const struct bpf_obj_pin_opts *opts) argument 601 bpf_obj_pin(int fd, const char *pathname) argument 615 int fd; local 730 int fd, err, relative_fd; local 921 int fd; local 1054 int fd; local 1077 int fd; local 1100 int fd; local 1123 int fd; local 1182 int fd; local 1210 int fd; local 1257 bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, __u64 *probe_addr) argument 1287 int fd; local 1319 int fd; local [all...] |
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1693 __u32 fd; /* input: fd */ member in struct:bpf_attr::__anon3513 6461 int fd; /* prog fd on map write */ member in union:bpf_devmap_val::__anon3566 6474 int fd; /* prog fd on map write */ member in union:bpf_cpumap_val::__anon3567 [all...] |
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 204 int sys_close(int fd) argument 210 int close(int fd) argument 221 int sys_dup(int fd) argument 227 int dup(int fd) argument 344 sys_fsync(int fd) argument 350 fsync(int fd) argument 361 sys_getdents64(int fd, struct linux_dirent64 *dirp, int count) argument 367 getdents64(int fd, struct linux_dirent64 *dirp, int count) argument 538 sys_ioctl(int fd, unsigned long req, void *value) argument 544 ioctl(int fd, unsigned long req, void *value) argument 594 sys_lseek(int fd, off_t offset, int whence) argument 604 lseek(int fd, off_t offset, int whence) argument 679 sys_mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) argument 701 mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) argument 873 sys_read(int fd, void *buf, size_t count) argument 879 read(int fd, void *buf, size_t count) argument 1035 sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) argument 1045 statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) argument 1233 sys_write(int fd, const void *buf, size_t count) argument 1239 write(int fd, const void *buf, size_t count) argument [all...] |