Searched defs:prog_type (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsignal_pending.c10 static void test_signal_pending_by_type(enum bpf_prog_type prog_type) argument
H A Dsection_names.c11 enum bpf_prog_type prog_type; member in struct:sec_name_test::__anon3690
211 enum bpf_prog_type prog_type; local
H A Dlibbpf_probes.c28 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; local
99 enum bpf_prog_type prog_type; member in struct:case_def
H A Dlibbpf_str.c187 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; local
H A Dalign.c21 enum bpf_prog_type prog_type; member in struct:bpf_align_test
605 int prog_type = test->prog_type; local
[all...]
H A Dctx_rewrite.c33 enum bpf_prog_type prog_type; member in struct:test_case
688 enum bpf_prog_type prog_type; member in struct:prog_info
H A Dbtf.c5636 __u32 prog_type; member in struct:prog_info_raw_test
[all...]
/linux-master/kernel/bpf/
H A Dtoken.c269 bpf_token_allow_prog_type(const struct bpf_token *token, enum bpf_prog_type prog_type, enum bpf_attach_type attach_type) argument
H A Dcore.c2288 enum bpf_prog_type prog_type = resolve_prog_type(fp); local
H A Dsyscall.c2525 bpf_prog_load_check_attach(enum bpf_prog_type prog_type, argument
2631 static bool is_net_admin_prog_type(enum bpf_prog_type prog_type) argument
2662 static bool is_perfmon_prog_type(enum bpf_prog_type prog_type) argument
[all...]
H A Dbtf.c5679 static const struct btf_type *find_canonical_prog_ctx_type(enum bpf_prog_type prog_type) argument
5695 static int find_kern_ctx_type_id(enum bpf_prog_type prog_type) argument
5711 btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, const struct btf_type *t, enum bpf_prog_type prog_type, int arg) argument
5799 btf_validate_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, const struct btf_type *t, int arg, enum bpf_prog_type prog_type, enum bpf_attach_type attach_type) argument
5933 btf_translate_to_vmlinux(struct bpf_verifier_log *log, struct btf *btf, const struct btf_type *t, enum bpf_prog_type prog_type, int arg) argument
5944 get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type) argument
7135 enum bpf_prog_type prog_type = prog->type; local
8108 bpf_prog_type_to_kfunc_hook(enum bpf_prog_type prog_type) argument
8156 enum bpf_prog_type prog_type = resolve_prog_type(prog); local
8201 register_btf_kfunc_id_set(enum bpf_prog_type prog_type, const struct btf_kfunc_id_set *kset) argument
[all...]
/linux-master/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c352 int prog_type = HID_BPF_PROG_TYPE_UNDEF; local
397 __hid_bpf_attach_prog(struct hid_device *hdev, enum hid_bpf_prog_type prog_type, argument
H A Dhid_bpf_dispatch.c251 int fd, err, prog_type; local
/linux-master/tools/lib/bpf/
H A Dlibbpf_probes.c103 static int probe_prog_load(enum bpf_prog_type prog_type, argument
205 int libbpf_probe_bpf_prog_type(enum bpf_prog_type prog_type, const void *opts) argument
416 int libbpf_probe_bpf_helper(enum bpf_prog_type prog_type, enum bpf_func_id helper_id, argument
H A Dgen_loader.c934 bpf_gen__prog_load(struct bpf_gen *gen, enum bpf_prog_type prog_type, const char *prog_name, const char *license, struct bpf_insn *insns, size_t insn_cnt, struct bpf_prog_load_opts *load_attr, int prog_idx) argument
H A Dbpf.c236 int bpf_prog_load(enum bpf_prog_type prog_type, argument
/linux-master/tools/bpf/bpftool/
H A Dfeature.c513 probe_prog_load_ifindex(enum bpf_prog_type prog_type, argument
534 static bool probe_prog_type_ifindex(enum bpf_prog_type prog_type, __u32 ifindex) argument
547 probe_prog_type(enum bpf_prog_type prog_type, const char *prog_type_str, argument
655 probe_helper_ifindex(enum bpf_func_id id, enum bpf_prog_type prog_type, argument
682 probe_helper_for_progtype(enum bpf_prog_type prog_type, bool supported_type, const char *define_prefix, unsigned int id, const char *ptype_name, __u32 ifindex) argument
719 probe_helpers_for_progtype(enum bpf_prog_type prog_type, const char *prog_type_str, bool supported_type, const char *define_prefix, __u32 ifindex) argument
934 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; local
982 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; local
[all...]
H A Dmap.c495 unsigned int prog_type = atoi(owner_prog_type); local
584 unsigned int prog_type = atoi(owner_prog_type); local
H A Dprog.c1447 get_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, argument
1697 enum bpf_prog_type prog_type = common_prog_type; local
/linux-master/include/linux/
H A Dbtf.h558 static inline int register_btf_kfunc_id_set(enum bpf_prog_type prog_type, argument
577 btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, const struct btf_type *t, enum bpf_prog_type prog_type, int arg) argument
583 get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type) argument
/linux-master/tools/testing/selftests/bpf/
H A Dtest_sockmap.c1800 int prog_type[] = { variable
H A Dtest_verifier.c147 enum bpf_prog_type prog_type; member in struct:bpf_test
579 static int create_prog_dummy_simple(enum bpf_prog_type prog_type, int ret) argument
589 static int create_prog_dummy_loop(enum bpf_prog_type prog_type, int mfd, argument
604 static int create_prog_array(enum bpf_prog_type prog_type, uint32_t max_elem, argument
1011 static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, argument
1517 int prog_len, prog_type = test->prog_type; local
[all...]
H A Dveristat.c868 enum bpf_prog_type prog_type; member in struct:__anon4460
937 enum bpf_prog_type prog_type; local
853 guess_prog_type_by_ctx_name(const char *ctx_name, enum bpf_prog_type *prog_type, enum bpf_attach_type *attach_type) argument
/linux-master/include/uapi/linux/
H A Dbpf.h1525 __u32 prog_type; /* one of enum bpf_prog_type */ member in struct:bpf_attr::__anon2593
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1525 __u32 prog_type; /* one of enum bpf_prog_type */ member in struct:bpf_attr::__anon3134

Completed in 720 milliseconds

12