Home
last modified time | relevance | path

Searched refs:prog_flags (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_lirc_mode2_user.c54 u32 prog_ids[10], prog_flags[10], prog_cnt; in main() local
88 ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids, in main()
156 ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids, in main()
Dtest_stub.c19 attr.prog_flags = BPF_F_TEST_RND_HI32; in bpf_prog_test_load()
40 load_attr.prog_flags = BPF_F_TEST_RND_HI32; in bpf_test_load_program()
Dtest_socket_cookie.c145 attr.prog_flags = BPF_F_TEST_RND_HI32; in run_test()
Dtest_verifier.c996 attr.prog_flags = pflags; in do_test_single()
Dtest_sock_addr.c857 attr.prog_flags = BPF_F_TEST_RND_HI32; in load_path()
/kernel/linux/linux-5.10/tools/build/feature/
Dtest-bpf.c35 attr.prog_flags = 0; in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dtest_global_funcs.c41 attr.prog_flags = BPF_F_TEST_RND_HI32; in check_load()
Dbpf_verif_scale.c30 attr.prog_flags = BPF_F_TEST_RND_HI32; in check_load()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf.h97 __u32 prog_flags; member
114 size_t insns_cnt, __u32 prog_flags,
Dbpf.c269 attr.prog_flags = load_attr->prog_flags; in bpf_load_program_xattr()
349 size_t insns_cnt, __u32 prog_flags, const char *license, in bpf_verify_program() argument
365 attr.prog_flags = prog_flags; in bpf_verify_program()
Dlibbpf.h491 int prog_flags; member
Dlibbpf.c288 __u32 prog_flags; member
6731 load_attr.prog_flags = prog->prog_flags; in load_program()
6990 prog->prog_flags |= BPF_F_SLEEPABLE; in __bpf_object__open()
9099 prog->prog_flags |= attr->prog_flags; in bpf_prog_load_xattr()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbpf.h219 __u32 prog_flags; member
/kernel/linux/linux-5.10/kernel/bpf/
Doffload.c90 if (attr->prog_flags) in bpf_prog_offload_init()
Dsyscall.c2128 if (attr->prog_flags & ~(BPF_F_STRICT_ALIGNMENT | in bpf_prog_load()
2136 (attr->prog_flags & BPF_F_ANY_ALIGNMENT) && in bpf_prog_load()
2187 prog->aux->sleepable = attr->prog_flags & BPF_F_SLEEPABLE; in bpf_prog_load()
Dverifier.c10882 rnd_hi32 = attr->prog_flags & BPF_F_TEST_RND_HI32; in opt_subreg_zext_lo32_rnd_hi32()
12405 env->strict_alignment = !!(attr->prog_flags & BPF_F_STRICT_ALIGNMENT); in bpf_check()
12408 if (attr->prog_flags & BPF_F_ANY_ALIGNMENT) in bpf_check()
12419 env->test_state_freq = attr->prog_flags & BPF_F_TEST_STATE_FREQ; in bpf_check()
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h543 __u32 prog_flags; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h543 __u32 prog_flags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h329 __u32 prog_flags; member