/external/linux-kselftest/tools/testing/selftests/net/ |
D | reuseport_bpf_numa.c | 78 int bpf_fd; in attach_bpf() local 96 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_bpf() 97 if (bpf_fd < 0) in attach_bpf() 100 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_REUSEPORT_EBPF, &bpf_fd, in attach_bpf() 101 sizeof(bpf_fd))) in attach_bpf() 104 close(bpf_fd); in attach_bpf()
|
D | reuseport_bpf.c | 99 int bpf_fd; in attach_ebpf() local 122 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_ebpf() 123 if (bpf_fd < 0) in attach_ebpf() 126 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_REUSEPORT_EBPF, &bpf_fd, in attach_ebpf() 127 sizeof(bpf_fd))) in attach_ebpf() 130 close(bpf_fd); in attach_ebpf() 351 int fd, bpf_fd; in test_filter_no_reuseport() local 367 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &eprog, sizeof(eprog)); in test_filter_no_reuseport() 368 if (bpf_fd < 0) in test_filter_no_reuseport() 378 if (!setsockopt(fd, SOL_SOCKET, SO_ATTACH_REUSEPORT_EBPF, &bpf_fd, in test_filter_no_reuseport() [all …]
|
/external/strace/ |
D | bpf.c | 339 PRINT_FIELD_FD(", ", attr, bpf_fd, tcp); in BEGIN_BPF_CMD_DECODER() 427 uint32_t bpf_fd, 443 print_bpf_map_info(struct tcb * const tcp, uint32_t bpf_fd, in print_bpf_map_info() argument 486 print_bpf_prog_info(struct tcb * const tcp, uint32_t bpf_fd, in print_bpf_prog_info() argument 590 print_bpf_obj_info(struct tcb * const tcp, uint32_t bpf_fd, uint64_t info, in print_bpf_obj_info() argument 609 if (getfdpath(tcp, bpf_fd, path, sizeof(path)) > 0) { in print_bpf_obj_info() 628 saved->print_fn(tcp, bpf_fd, info_buf, size, saved); in print_bpf_obj_info() 642 PRINT_FIELD_FD("{info={", attr, bpf_fd, tcp); in BEGIN_BPF_CMD_DECODER() 653 print_bpf_obj_info(tcp, attr.bpf_fd, attr.info, attr.info_len, saved); in BEGIN_BPF_CMD_DECODER()
|
D | bpf_attr_check.c | 267 static_assert(SoM(struct BPF_OBJ_PIN_struct, bpf_fd) == SoM(union bpf_attr, bpf_fd), 269 static_assert(offsetof(struct BPF_OBJ_PIN_struct, bpf_fd) == offsetof(union bpf_attr, bpf_fd), 470 …static_assert(SoM(struct BPF_OBJ_GET_INFO_BY_FD_struct, bpf_fd) == SoM(union bpf_attr, info.bpf_fd… 472 …ssert(offsetof(struct BPF_OBJ_GET_INFO_BY_FD_struct, bpf_fd) == offsetof(union bpf_attr, info.bpf_…
|
D | bpf_attr.h | 135 uint32_t bpf_fd; member 216 uint32_t bpf_fd; member
|
D | config.h.in | 1447 /* Define to 1 if `bpf_fd' is a member of `union bpf_attr'. */ 1462 /* Define to 1 if `info.bpf_fd' is a member of `union bpf_attr'. */
|
D | configure | 10975 ac_fn_c_check_member "$LINENO" "union bpf_attr" "bpf_fd" "ac_cv_member_union_bpf_attr_bpf_fd" "#inc… 11025 ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.bpf_fd" "ac_cv_member_union_bpf_attr_info_bpf…
|
D | ChangeLog | 2631 (BEGIN_BPF_CMD_DECODER(BPF_OBJ_GET_INFO_BY_FD)): Print bpf_fd and info_len 5725 end of the bpf_fd field, print file_flags field otherwise. 19520 * configure.ac: Check for union bpf_attr.bpf_fd and union
|
/external/strace/tests/ |
D | bpf.c | 692 .data = { .BPF_OBJ_PIN_data = { .bpf_fd = -1 } }, 693 .size = offsetofend(struct BPF_OBJ_PIN_struct, bpf_fd), 699 .bpf_fd = -1, 878 .data = { .BPF_OBJ_GET_INFO_BY_FD_data = { .bpf_fd = -1 } }, 879 .size = offsetofend(struct BPF_OBJ_GET_INFO_BY_FD_struct, bpf_fd), 884 .bpf_fd = -1,
|
D | bpf-obj_get_info_by_fd.c | 299 .bpf_fd = map_fd, in main() 357 .bpf_fd = prog_fd, in main()
|
/external/strace/tests-m32/ |
D | bpf.c | 692 .data = { .BPF_OBJ_PIN_data = { .bpf_fd = -1 } }, 693 .size = offsetofend(struct BPF_OBJ_PIN_struct, bpf_fd), 699 .bpf_fd = -1, 878 .data = { .BPF_OBJ_GET_INFO_BY_FD_data = { .bpf_fd = -1 } }, 879 .size = offsetofend(struct BPF_OBJ_GET_INFO_BY_FD_struct, bpf_fd), 884 .bpf_fd = -1,
|
D | bpf-obj_get_info_by_fd.c | 299 .bpf_fd = map_fd, in main() 357 .bpf_fd = prog_fd, in main()
|
/external/strace/tests-mx32/ |
D | bpf.c | 692 .data = { .BPF_OBJ_PIN_data = { .bpf_fd = -1 } }, 693 .size = offsetofend(struct BPF_OBJ_PIN_struct, bpf_fd), 699 .bpf_fd = -1, 878 .data = { .BPF_OBJ_GET_INFO_BY_FD_data = { .bpf_fd = -1 } }, 879 .size = offsetofend(struct BPF_OBJ_GET_INFO_BY_FD_struct, bpf_fd), 884 .bpf_fd = -1,
|
D | bpf-obj_get_info_by_fd.c | 299 .bpf_fd = map_fd, in main() 357 .bpf_fd = prog_fd, in main()
|
/external/strace/m4/ |
D | bpf_attr.m4 | 28 union bpf_attr.bpf_fd, 33 union bpf_attr.info.bpf_fd,
|
/external/kernel-headers/original/uapi/linux/ |
D | kcm.h | 20 int bpf_fd; member
|
D | bpf.h | 374 __u32 bpf_fd; member 411 __u32 bpf_fd; member
|
/external/iproute2/include/uapi/linux/ |
D | bpf.h | 218 __u32 bpf_fd; member 249 __u32 bpf_fd; member
|
/external/syzkaller/sys/linux/ |
D | socket_kcm.txt | 24 bpf_fd fd_bpf_prog
|
/external/bcc/src/cc/includes/compat/linux/ |
D | bpf.h | 342 __u32 bpf_fd; member 376 __u32 bpf_fd; member
|
/external/bcc/src/cc/compat/linux/ |
D | bpf.h | 342 __u32 bpf_fd; member 376 __u32 bpf_fd; member
|
/external/bcc/src/cc/ |
D | libbpf.c | 369 attr.info.bpf_fd = prog_map_fd; in bpf_obj_get_info() 1422 attr.bpf_fd = fd; in bpf_obj_pin()
|
/external/iproute2/lib/ |
D | bpf.c | 171 attr.info.bpf_fd = fd; in bpf_prog_info_by_fd() 1199 attr.bpf_fd = fd; in bpf_obj_pin()
|