bpf_fd 16 include/net/tc_act/tc_bpf.h u32 bpf_fd; bpf_fd 427 include/uapi/linux/bpf.h __u32 bpf_fd; bpf_fd 471 include/uapi/linux/bpf.h __u32 bpf_fd; bpf_fd 20 include/uapi/linux/kcm.h int bpf_fd; bpf_fd 1779 kernel/bpf/syscall.c return bpf_obj_pin_user(attr->bpf_fd, u64_to_user_ptr(attr->pathname)); bpf_fd 1784 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_OBJ) || attr->bpf_fd != 0 || bpf_fd 2663 kernel/bpf/syscall.c int ufd = attr->info.bpf_fd; bpf_fd 1485 net/kcm/kcmsock.c prog = bpf_prog_get_type(info->bpf_fd, BPF_PROG_TYPE_SOCKET_FILTER); bpf_fd 224 net/sched/act_bpf.c u32 bpf_fd; bpf_fd 226 net/sched/act_bpf.c bpf_fd = nla_get_u32(tb[TCA_ACT_BPF_FD]); bpf_fd 228 net/sched/act_bpf.c fp = bpf_prog_get_type(bpf_fd, BPF_PROG_TYPE_SCHED_ACT); bpf_fd 381 net/sched/cls_bpf.c u32 bpf_fd; bpf_fd 383 net/sched/cls_bpf.c bpf_fd = nla_get_u32(tb[TCA_BPF_FD]); bpf_fd 386 net/sched/cls_bpf.c fp = bpf_prog_get_type_dev(bpf_fd, BPF_PROG_TYPE_SCHED_CLS, skip_sw); bpf_fd 427 tools/include/uapi/linux/bpf.h __u32 bpf_fd; bpf_fd 471 tools/include/uapi/linux/bpf.h __u32 bpf_fd; bpf_fd 447 tools/lib/bpf/bpf.c attr.bpf_fd = fd; bpf_fd 637 tools/lib/bpf/bpf.c attr.info.bpf_fd = prog_fd; bpf_fd 249 tools/perf/util/evsel.c evsel->bpf_fd = -1; bpf_fd 1691 tools/perf/util/evsel.c if (evsel->bpf_fd >= 0) { bpf_fd 1693 tools/perf/util/evsel.c int bpf_fd = evsel->bpf_fd; bpf_fd 1697 tools/perf/util/evsel.c bpf_fd); bpf_fd 1700 tools/perf/util/evsel.c bpf_fd, strerror(errno)); bpf_fd 88 tools/perf/util/evsel.h int bpf_fd; bpf_fd 676 tools/perf/util/parse-events.c pos->bpf_fd = fd; bpf_fd 10 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c int bpf_fd = -1, tp_fd = -1; bpf_fd 29 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c bpf_fd = bpf_load_program_xattr(&load_attr, error, sizeof(error)); bpf_fd 30 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c if (CHECK(bpf_fd < 0, "bpf_raw_tracepoint_writable load", bpf_fd 31 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c "failed: %d errno %d\n", bpf_fd, errno)) bpf_fd 34 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c tp_fd = bpf_raw_tracepoint_open("nbd_send_request", bpf_fd); bpf_fd 41 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c close(bpf_fd); bpf_fd 27 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c int bpf_fd = bpf_load_program_xattr(&load_attr, error, sizeof(error)); bpf_fd 28 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c if (CHECK(bpf_fd < 0, "bpf_raw_tracepoint_writable loaded", bpf_fd 29 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c "failed: %d errno %d\n", bpf_fd, errno)) bpf_fd 50 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c int tp_fd = bpf_raw_tracepoint_open("bpf_test_finish", bpf_fd); bpf_fd 79 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c close(bpf_fd); bpf_fd 99 tools/testing/selftests/net/reuseport_bpf.c int bpf_fd; bpf_fd 122 tools/testing/selftests/net/reuseport_bpf.c bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); bpf_fd 123 tools/testing/selftests/net/reuseport_bpf.c if (bpf_fd < 0) bpf_fd 126 tools/testing/selftests/net/reuseport_bpf.c if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_REUSEPORT_EBPF, &bpf_fd, bpf_fd 127 tools/testing/selftests/net/reuseport_bpf.c sizeof(bpf_fd))) bpf_fd 130 tools/testing/selftests/net/reuseport_bpf.c close(bpf_fd); bpf_fd 351 tools/testing/selftests/net/reuseport_bpf.c int fd, bpf_fd; bpf_fd 367 tools/testing/selftests/net/reuseport_bpf.c bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &eprog, sizeof(eprog)); bpf_fd 368 tools/testing/selftests/net/reuseport_bpf.c if (bpf_fd < 0) bpf_fd 378 tools/testing/selftests/net/reuseport_bpf.c if (!setsockopt(fd, SOL_SOCKET, SO_ATTACH_REUSEPORT_EBPF, &bpf_fd, bpf_fd 379 tools/testing/selftests/net/reuseport_bpf.c sizeof(bpf_fd)) || errno != EINVAL) bpf_fd 78 tools/testing/selftests/net/reuseport_bpf_numa.c int bpf_fd; bpf_fd 96 tools/testing/selftests/net/reuseport_bpf_numa.c bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); bpf_fd 97 tools/testing/selftests/net/reuseport_bpf_numa.c if (bpf_fd < 0) bpf_fd 100 tools/testing/selftests/net/reuseport_bpf_numa.c if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_REUSEPORT_EBPF, &bpf_fd, bpf_fd 101 tools/testing/selftests/net/reuseport_bpf_numa.c sizeof(bpf_fd))) bpf_fd 104 tools/testing/selftests/net/reuseport_bpf_numa.c close(bpf_fd);