fd_prog 618 tools/testing/selftests/bpf/test_align.c int fd_prog; fd_prog 622 tools/testing/selftests/bpf/test_align.c fd_prog = bpf_verify_program(prog_type ? : BPF_PROG_TYPE_SOCKET_FILTER, fd_prog 625 tools/testing/selftests/bpf/test_align.c if (fd_prog < 0 && test->result != REJECT) { fd_prog 629 tools/testing/selftests/bpf/test_align.c } else if (fd_prog >= 0 && test->result == REJECT) { fd_prog 633 tools/testing/selftests/bpf/test_align.c close(fd_prog); fd_prog 666 tools/testing/selftests/bpf/test_align.c if (fd_prog >= 0) fd_prog 667 tools/testing/selftests/bpf/test_align.c close(fd_prog); fd_prog 57 tools/testing/selftests/bpf/test_tag.c int fd_prog; fd_prog 60 tools/testing/selftests/bpf/test_tag.c fd_prog = bpf_load_program(BPF_PROG_TYPE_SCHED_CLS, prog, insns, "", 0, fd_prog 62 tools/testing/selftests/bpf/test_tag.c assert(fd_prog > 0); fd_prog 65 tools/testing/selftests/bpf/test_tag.c return fd_prog; fd_prog 91 tools/testing/selftests/bpf/test_tag.c static void tag_from_fdinfo(int fd_prog, uint8_t *tag, uint32_t len) fd_prog 99 tools/testing/selftests/bpf/test_tag.c fd_prog); fd_prog 168 tools/testing/selftests/bpf/test_tag.c int i, fd_prog; fd_prog 173 tools/testing/selftests/bpf/test_tag.c fd_prog = bpf_try_load_prog(i, fd_map, bpf_filler); fd_prog 174 tools/testing/selftests/bpf/test_tag.c tag_from_fdinfo(fd_prog, ftag, sizeof(ftag)); fd_prog 179 tools/testing/selftests/bpf/test_tag.c close(fd_prog); fd_prog 837 tools/testing/selftests/bpf/test_verifier.c static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, fd_prog 847 tools/testing/selftests/bpf/test_verifier.c err = bpf_prog_test_run(fd_prog, 1, data, size_data, fd_prog 897 tools/testing/selftests/bpf/test_verifier.c int fd_prog, expected_ret, alignment_prevented_execution; fd_prog 948 tools/testing/selftests/bpf/test_verifier.c fd_prog = bpf_load_program_xattr(&attr, bpf_vlog, sizeof(bpf_vlog)); fd_prog 949 tools/testing/selftests/bpf/test_verifier.c if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) { fd_prog 958 tools/testing/selftests/bpf/test_verifier.c if (fd_prog < 0) { fd_prog 964 tools/testing/selftests/bpf/test_verifier.c if (fd_prog >= 0 && fd_prog 972 tools/testing/selftests/bpf/test_verifier.c if (fd_prog >= 0) { fd_prog 1001 tools/testing/selftests/bpf/test_verifier.c if (!alignment_prevented_execution && fd_prog >= 0) { fd_prog 1014 tools/testing/selftests/bpf/test_verifier.c err = do_prog_test_run(fd_prog, unpriv, expected_val, fd_prog 1041 tools/testing/selftests/bpf/test_verifier.c close(fd_prog);