Home
last modified time | relevance | path

Searched defs:prog_type (Results 1 – 23 of 23) sorted by relevance

/linux/tools/bpf/bpftool/
H A Dfeature.c513 probe_prog_load_ifindex(enum bpf_prog_type prog_type,const struct bpf_insn * insns,size_t insns_cnt,char * log_buf,size_t log_buf_sz,__u32 ifindex) probe_prog_load_ifindex() argument
534 probe_prog_type_ifindex(enum bpf_prog_type prog_type,__u32 ifindex) probe_prog_type_ifindex() argument
547 probe_prog_type(enum bpf_prog_type prog_type,const char * prog_type_str,bool * supported_types,const char * define_prefix,__u32 ifindex) probe_prog_type() argument
655 probe_helper_ifindex(enum bpf_func_id id,enum bpf_prog_type prog_type,__u32 ifindex) probe_helper_ifindex() argument
683 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) probe_helper_for_progtype() argument
720 probe_helpers_for_progtype(enum bpf_prog_type prog_type,const char * prog_type_str,bool supported_type,const char * define_prefix,__u32 ifindex) probe_helpers_for_progtype() argument
957 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; section_program_types() local
1005 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; section_helpers() local
[all...]
H A Dmap.c495 unsigned int prog_type = atoi(owner_prog_type); in show_map_close_json() local
584 unsigned int prog_type = atoi(owner_prog_type); in show_map_close_plain() local
H A Dprog.c1500 get_prog_type_by_name(const char * name,enum bpf_prog_type * prog_type,enum bpf_attach_type * expected_attach_type) get_prog_type_by_name() argument
1759 enum bpf_prog_type prog_type = common_prog_type; load_with_options() local
/linux/tools/lib/bpf/
H A Dlibbpf_probes.c103 static int probe_prog_load(enum bpf_prog_type prog_type, in probe_prog_load()
205 int libbpf_probe_bpf_prog_type(enum bpf_prog_type prog_type, const void *opts) in libbpf_probe_bpf_prog_type()
416 int libbpf_probe_bpf_helper(enum bpf_prog_type prog_type, enum bpf_func_id helper_id, in libbpf_probe_bpf_helper()
H A Dbpf.c236 bpf_prog_load(enum bpf_prog_type prog_type,const char * prog_name,const char * license,const struct bpf_insn * insns,size_t insn_cnt,struct bpf_prog_load_opts * opts) bpf_prog_load() argument
H A Dlibbpf.c417 enum bpf_prog_type prog_type; global() member
6754 enum bpf_prog_type prog_type; global() member
9619 libbpf_register_prog_handler(const char * sec,enum bpf_prog_type prog_type,enum bpf_attach_type exp_attach_type,const struct libbpf_prog_handler_opts * opts) libbpf_register_prog_handler() argument
9795 libbpf_prog_type_by_name(const char * name,enum bpf_prog_type * prog_type,enum bpf_attach_type * expected_attach_type) libbpf_prog_type_by_name() argument
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsection_names.c11 enum bpf_prog_type prog_type; member
211 enum bpf_prog_type prog_type; in test_prog_type_by_name() local
H A Dlibbpf_probes.c28 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; in test_libbpf_probe_prog_types() local
99 enum bpf_prog_type prog_type; in test_libbpf_probe_helpers() member
H A Dalign.c21 enum bpf_prog_type prog_type; member
605 int prog_type = test->prog_type; do_test_single() local
[all...]
H A Dsockopt.c27 enum bpf_prog_type prog_type; member
965 enum bpf_prog_type prog_type, in load_prog()
1074 int prog_type = BPF_PROG_TYPE_CGROUP_SOCKOPT; in run_test() local
H A Dsignal_pending.c10 static void test_signal_pending_by_type(enum bpf_prog_type prog_type) in test_signal_pending_by_type()
H A Dctx_rewrite.c34 enum bpf_prog_type prog_type; member
634 enum bpf_prog_type prog_type; member
H A Dlibbpf_str.c187 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; in test_libbpf_bpf_prog_type_str() local
H A Dbtf.c5670 __u32 prog_type; global() member
[all...]
/linux/kernel/bpf/
H A Dtoken.c270 enum bpf_prog_type prog_type, in bpf_token_allow_prog_type()
H A Dbtf.c5953 if (prog_type == BPF_PROG_TYPE_KPROBE) { in btf_is_prog_ctx_type() argument
5911 find_canonical_prog_ctx_type(enum bpf_prog_type prog_type) find_canonical_prog_ctx_type() argument
5927 find_kern_ctx_type_id(enum bpf_prog_type prog_type) find_kern_ctx_type_id() argument
6040 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) btf_validate_prog_ctx_type() argument
6175 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) btf_translate_to_vmlinux() argument
6183 get_kern_ctx_btf_id(struct bpf_verifier_log * log,enum bpf_prog_type prog_type) get_kern_ctx_btf_id() argument
7676 enum bpf_prog_type prog_type = prog->type; btf_prepare_func_args() local
8682 bpf_prog_type_to_kfunc_hook(enum bpf_prog_type prog_type) bpf_prog_type_to_kfunc_hook() argument
8739 enum bpf_prog_type prog_type = resolve_prog_type(prog); btf_kfunc_id_set_contains() local
8784 register_btf_kfunc_id_set(enum bpf_prog_type prog_type,const struct btf_kfunc_id_set * kset) register_btf_kfunc_id_set() argument
[all...]
H A Dsyscall.c2665 bpf_prog_load_check_attach(enum bpf_prog_type prog_type, in bpf_prog_load_check_attach()
2771 static bool is_net_admin_prog_type(enum bpf_prog_type prog_type) in is_net_admin_prog_type()
2802 static bool is_perfmon_prog_type(enum bpf_prog_type prog_type) in is_perfmon_prog_type()
H A Dverifier.c6064 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in may_access_direct_pkt_data() local
11365 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_helper_call() local
13021 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_css_task_iter_allowlist() local
17137 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_return_code() local
20348 enum bpf_prog_type prog_type = resolve_prog_type(prog); in check_map_prog_compatibility() local
22009 enum bpf_prog_type prog_type = resolve_prog_type(prog); in do_misc_fixups() local
H A Dcore.c2346 enum bpf_prog_type prog_type = resolve_prog_type(fp); in __bpf_prog_map_compatible() local
/linux/tools/testing/selftests/bpf/
H A Dveristat.c1131 guess_prog_type_by_ctx_name(const char * ctx_name,enum bpf_prog_type * prog_type,enum bpf_attach_type * attach_type) guess_prog_type_by_ctx_name() argument
1145 enum bpf_prog_type prog_type; guess_prog_type_by_ctx_name() member
1253 enum bpf_prog_type prog_type; fixup_obj() local
2579 enum bpf_prog_type prog_type = 0; parse_stat_value() local
[all...]
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py219 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, argument
/linux/include/uapi/linux/
H A Dbpf.h1561 __u32 prog_type; /* one of enum bpf_prog_type */ member
/linux/tools/include/uapi/linux/
H A Dbpf.h1561 __u32 prog_type; /* one of enum bpf_prog_type */ member