Home
last modified time | relevance | path

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

/linux/tools/bpf/resolve_btfids/
H A Dmain.c110 struct btf_id { struct
117 enum btf_id_kind kind; argument
118 int addr_cnt;
119 Elf64_Addr addr[ADDR_CNT];
160 u32 btf_id; member
/linux/tools/perf/util/
H A Denv.c119 __u32 btf_id = btf_node->id; in __perf_env__insert_btf() local
144 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
154 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf()
H A Dbpf-event.c105 u32 btf_id, in perf_env__fetch_btf()
840 u32 btf_id; in perf_env__add_bpf_info() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtracing_failure.c60 int btf_id; in test_tracing_deny() local
H A Dmodule_fentry_shadow.c63 __s32 btf_id[2] = {}; in test_module_fentry_shadow() local
H A Dfexit_bpf2bpf.c115 __s32 btf_id; in test_fexit_bpf2bpf_common() local
486 int btf_id; in test_fentry_to_cgroup_bpf() local
H A Dctx_rewrite.c252 static int find_field_offset_aux(struct btf *btf, int btf_id, char *field_name, int off) in find_field_offset_aux()
299 int btf_id, field_offset; in find_field_offset() local
H A Dfd_array.c302 __u32 btf_id; in check_fd_array_cnt__referenced_btfs() local
/linux/tools/bpf/bpftool/
H A Dbtf.c854 static bool btf_is_kernel_module(__u32 btf_id) in btf_is_kernel_module()
888 __u32 btf_id = -1; in do_dump() local
1123 __u32 btf_id, id = 0; in build_btf_type_table() local
/linux/kernel/bpf/
H A Dbpf_lsm.c117 u32 btf_id = prog->aux->attach_btf_id; bpf_lsm_verify_prog() local
H A Dverifier.c293 u32 btf_id; member
1045 mark_stack_slots_iter(struct bpf_verifier_env * env,struct bpf_kfunc_call_arg_meta * meta,struct bpf_reg_state * reg,int insn_idx,struct btf * btf,u32 btf_id,int nr_slots) mark_stack_slots_iter() argument
1143 is_iter_reg_valid_init(struct bpf_verifier_env * env,struct bpf_reg_state * reg,struct btf * btf,u32 btf_id,int nr_slots) is_iter_reg_valid_init() argument
2936 mark_btf_ld_reg(struct bpf_verifier_env * env,struct bpf_reg_state * regs,u32 regno,enum bpf_reg_type reg_type,struct btf * btf,u32 btf_id,enum bpf_type_flag flag) mark_btf_ld_reg() argument
7313 type_is_rcu(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_rcu() argument
7325 type_is_rcu_or_null(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_rcu_or_null() argument
7336 type_is_trusted(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_trusted() argument
7348 type_is_trusted_or_null(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_trusted_or_null() argument
7369 u32 btf_id = 0; check_ptr_to_btf_access() local
7523 u32 btf_id; check_ptr_to_map_access() local
8951 int spi, err, i, nr_slots, btf_id; process_iter_arg() local
9313 u32 *btf_id; global() member
10772 u32 btf_id; btf_check_subprog_call() local
13013 is_bpf_list_api_kfunc(u32 btf_id) is_bpf_list_api_kfunc() argument
13023 is_bpf_rbtree_api_kfunc(u32 btf_id) is_bpf_rbtree_api_kfunc() argument
13033 is_bpf_iter_num_api_kfunc(u32 btf_id) is_bpf_iter_num_api_kfunc() argument
13040 is_bpf_graph_api_kfunc(u32 btf_id) is_bpf_graph_api_kfunc() argument
13046 is_bpf_res_spin_lock_kfunc(u32 btf_id) is_bpf_res_spin_lock_kfunc() argument
13054 is_bpf_arena_kfunc(u32 btf_id) is_bpf_arena_kfunc() argument
13061 is_bpf_stream_kfunc(u32 btf_id) is_bpf_stream_kfunc() argument
13067 kfunc_spin_allowed(u32 btf_id) kfunc_spin_allowed() argument
13074 is_sync_callback_calling_kfunc(u32 btf_id) is_sync_callback_calling_kfunc() argument
13079 is_async_callback_calling_kfunc(u32 btf_id) is_async_callback_calling_kfunc() argument
13091 is_bpf_wq_set_callback_kfunc(u32 btf_id) is_bpf_wq_set_callback_kfunc() argument
13096 is_callback_calling_kfunc(u32 btf_id) is_callback_calling_kfunc() argument
13102 is_rbtree_lock_required_kfunc(u32 btf_id) is_rbtree_lock_required_kfunc() argument
24798 u32 btf_id, member_idx, member_off; check_struct_ops_btf_id() local
24934 bpf_check_attach_target(struct bpf_verifier_log * log,const struct bpf_prog * prog,const struct bpf_prog * tgt_prog,u32 btf_id,struct bpf_attach_target_info * tgt_info) bpf_check_attach_target() argument
25339 u32 btf_id = prog->aux->attach_btf_id; check_attach_btf_id() local
[all...]
H A Dbtf.c4216 u32 btf_id; in btf_check_and_fixup_fields() local
5811 struct btf_struct_meta *btf_find_struct_meta(const struct btf *btf, u32 btf_id) in btf_find_struct_meta()
7436 static int __get_type_size(struct btf *btf, u32 btf_id, in __get_type_size()
7666 u32 btf_id = 0; in btf_check_type_match() local
7797 u32 i, nargs, btf_id; in btf_prepare_func_args() local
8551 int btf_id; in BTF_ID_LIST_GLOBAL() local
8579 int btf_id; in btf_check_iter_kfuncs() local
8971 s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc()
9526 const char *field_name, u32 btf_id, const char *suffix) in btf_nested_type_is_trusted()
H A Dbpf_iter.c13 u32 btf_id; /* cached value */ member
H A Dsyscall.c2655 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach() argument
3568 bpf_tracing_prog_attach(struct bpf_prog * prog,int tgt_prog_fd,u32 btf_id,u64 bpf_cookie,enum bpf_attach_type attach_type) bpf_tracing_prog_attach() argument
[all...]
/linux/tools/lib/bpf/
H A Dlinker.c91 int btf_id; member
1766 struct src_obj *obj, Elf64_Sym *sym, int btf_id) in glob_map_defs_match()
1806 struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) in glob_syms_match()
1845 int i, j, n, m, btf_id = 0; in find_glob_sym_btf() local
2002 int btf_sec_id = 0, btf_id = 0; in linker_append_elf_sym() local
H A Dlibbpf.c617 int btf_id; member
13308 int btf_id; in bpf_program__attach_freplace() local
14127 int btf_obj_fd = 0, btf_id = 0, err; in bpf_program__set_attach_target() local
/linux/kernel/bpf/preload/iterators/
H A Diterators.bpf.c59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name()
/linux/net/core/
H A Dxdp.c988 bool bpf_dev_bound_kfunc_id(u32 btf_id) in bpf_dev_bound_kfunc_id()
/linux/kernel/trace/
H A Dbpf_trace.c515 s32 btf_id; in BPF_CALL_4() local
978 s32 *btf_id) in bpf_btf_printf_prepare() argument
1010 s32 btf_id; in BPF_CALL_5() local
[all...]
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c973 int btf_id = 0; in fixup_prog_kfuncs() local
/linux/include/uapi/linux/
H A Dbpf.h1684 __u32 btf_id; global() member
6648 __u32 btf_id; global() member
6680 __u32 btf_id; global() member
/linux/tools/include/uapi/linux/
H A Dbpf.h1684 __u32 btf_id; global() member
6648 __u32 btf_id; global() member
6680 __u32 btf_id; global() member
/linux/include/linux/
H A Dbpf.h237 u32 btf_id; member
1053 u32 btf_id; member
1614 u32 btf_id; member