Home
last modified time | relevance | path

Searched refs:kfunc_btf_id (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dbtf.h145 u32 kfunc_btf_id;
621 u32 *btf_kfunc_flags(const struct btf *btf, u32 kfunc_btf_id, const struct bpf_prog *prog);
622 int btf_kfunc_check_flag(const struct btf *btf, u32 kfunc_btf_id, u32 flag); in btf_set_base_btf()
623 bool btf_kfunc_is_allowed(const struct btf *btf, u32 kfunc_btf_id, const struct bpf_prog *prog); in btf_set_base_btf()
624 u32 *btf_kfunc_is_modify_return(const struct btf *btf, u32 kfunc_btf_id, in btf_set_base_btf()
708 u32 kfunc_btf_id,
131 u32 kfunc_btf_id; global() member
649 btf_kfunc_id_set_contains(const struct btf * btf,u32 kfunc_btf_id,struct bpf_prog * prog) btf_kfunc_id_set_contains() argument
/linux/net/core/
H A Dbpf_ksock.c344 .kfunc_btf_id = bpf_ksock_dtor_ids[1],
/linux/kernel/bpf/
H A Dbtf.c9949 u32 kfunc_btf_id)
9961 id = btf_id_set8_contains(set, kfunc_btf_id); in btf_add_struct_ops()
9970 u32 kfunc_btf_id, in btf_add_struct_ops()
9983 if (hook_filter->filters[i](prog, kfunc_btf_id)) in btf_add_struct_ops()
10038 u32 kfunc_btf_id, in __register_bpf_struct_ops()
10045 kfunc_flags = btf_kfunc_id_set_contains(btf, BTF_KFUNC_HOOK_COMMON, kfunc_btf_id); in __register_bpf_struct_ops()
10046 if (kfunc_flags && __btf_kfunc_is_allowed(btf, BTF_KFUNC_HOOK_COMMON, kfunc_btf_id, prog)) in __register_bpf_struct_ops()
10050 kfunc_flags = btf_kfunc_id_set_contains(btf, hook, kfunc_btf_id); in __register_bpf_struct_ops()
10051 if (kfunc_flags && __btf_kfunc_is_allowed(btf, hook, kfunc_btf_id, prog)) in __register_bpf_struct_ops()
10064 u32 *btf_kfunc_flags(const struct btf *btf, u32 kfunc_btf_id, cons in __register_bpf_struct_ops()
9076 btf_kfunc_id_set_contains(const struct btf * btf,enum btf_kfunc_hook hook,u32 kfunc_btf_id) btf_kfunc_id_set_contains() argument
9097 __btf_kfunc_is_allowed(const struct btf * btf,enum btf_kfunc_hook hook,u32 kfunc_btf_id,const struct bpf_prog * prog) __btf_kfunc_is_allowed() argument
9165 btf_kfunc_is_allowed(const struct btf * btf,u32 kfunc_btf_id,const struct bpf_prog * prog) btf_kfunc_is_allowed() argument
9191 btf_kfunc_flags(const struct btf * btf,u32 kfunc_btf_id,const struct bpf_prog * prog) btf_kfunc_flags() argument
9213 btf_kfunc_check_flag(const struct btf * btf,u32 kfunc_btf_id,u32 flag) btf_kfunc_check_flag() argument
9234 btf_kfunc_is_modify_return(const struct btf * btf,u32 kfunc_btf_id,const struct bpf_prog * prog) btf_kfunc_is_modify_return() argument
[all...]
H A Dcpumask.c521 .kfunc_btf_id = cpumask_dtor_ids[1] in BTF_ID()
H A Dcrypto.c346 .kfunc_btf_id = bpf_crypto_dtor_ids[1] in bpf_crypto_encrypt()
H A Dverifier.c12064 int kfunc_btf_id; in get_kfunc_arg_type()
12072 kfunc_btf_id = insn[callee->callsite].imm; in get_kfunc_arg_type()
12073 if (is_rbtree_lock_required_kfunc(kfunc_btf_id)) in get_kfunc_arg_type()
14666 u32 kfunc_btf_id) in adjust_ptr_min_max_vals()
14672 ret = is_bpf_list_api_kfunc(kfunc_btf_id); in adjust_ptr_min_max_vals()
14675 ret = is_bpf_rbtree_api_kfunc(kfunc_btf_id); in adjust_ptr_min_max_vals()
14691 u32 kfunc_btf_id) in adjust_ptr_min_max_vals()
14697 ret = is_bpf_list_push_kfunc(kfunc_btf_id) || in adjust_ptr_min_max_vals()
14698 kfunc_btf_id == special_kfunc_list[KF_bpf_list_del] || in adjust_ptr_min_max_vals()
14699 kfunc_btf_id in adjust_ptr_min_max_vals()
10337 int kfunc_btf_id; in_rbtree_lock_required_cb() local
12460 check_kfunc_is_graph_root_api(struct bpf_verifier_env * env,enum btf_field_type head_field_type,u32 kfunc_btf_id) check_kfunc_is_graph_root_api() argument
12485 check_kfunc_is_graph_node_api(struct bpf_verifier_env * env,enum btf_field_type node_field_type,u32 kfunc_btf_id) check_kfunc_is_graph_node_api() argument
[all...]
H A Dhelpers.c5258 .kfunc_btf_id = generic_dtor_ids[1]
5263 .kfunc_btf_id = generic_dtor_ids[3]
/linux/net/sched/
H A Dbpf_qdisc.c464 .kfunc_btf_id = bpf_sk_buff_dtor_ids[0] in BTF_ID_LIST_SINGLE()
/linux/net/bpf/
H A Dtest_run.c1898 .kfunc_btf_id = bpf_prog_test_dtor_kfunc_ids[1] in BTF_ID()
1902 .kfunc_btf_id = bpf_prog_test_dtor_kfunc_ids[3], in BTF_ID()
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c2590 .kfunc_btf_id = bpf_testmod_dtor_ids[1]