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.c101 struct btf_id { struct
102 struct rb_node rb_node;
103 char *name;
104 union {
108 int addr_cnt;
109 bool is_set;
110 bool is_set8;
111 Elf64_Addr addr[ADDR_CNT];
/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()
842 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; in bpf_lsm_verify_prog() local
H A Dverifier.c291 u32 btf_id; member
1030 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
1130 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
2841 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
7167 type_is_rcu(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_rcu() argument
7179 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
7190 type_is_trusted(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_trusted() argument
7202 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
7222 u32 btf_id = 0; check_ptr_to_btf_access() local
7376 u32 btf_id; check_ptr_to_map_access() local
8774 int spi, err, i, nr_slots, btf_id; process_iter_arg() local
9128 u32 *btf_id; global() member
10563 u32 btf_id; btf_check_subprog_call() local
12704 is_bpf_list_api_kfunc(u32 btf_id) is_bpf_list_api_kfunc() argument
12714 is_bpf_rbtree_api_kfunc(u32 btf_id) is_bpf_rbtree_api_kfunc() argument
12724 is_bpf_iter_num_api_kfunc(u32 btf_id) is_bpf_iter_num_api_kfunc() argument
12731 is_bpf_graph_api_kfunc(u32 btf_id) is_bpf_graph_api_kfunc() argument
12737 is_bpf_res_spin_lock_kfunc(u32 btf_id) is_bpf_res_spin_lock_kfunc() argument
12745 kfunc_spin_allowed(u32 btf_id) kfunc_spin_allowed() argument
12751 is_sync_callback_calling_kfunc(u32 btf_id) is_sync_callback_calling_kfunc() argument
12756 is_async_callback_calling_kfunc(u32 btf_id) is_async_callback_calling_kfunc() argument
12767 is_bpf_wq_set_callback_impl_kfunc(u32 btf_id) is_bpf_wq_set_callback_impl_kfunc() argument
12772 is_callback_calling_kfunc(u32 btf_id) is_callback_calling_kfunc() argument
12778 is_rbtree_lock_required_kfunc(u32 btf_id) is_rbtree_lock_required_kfunc() argument
23395 u32 btf_id, member_idx, member_off; check_struct_ops_btf_id() local
23531 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
23929 u32 btf_id = prog->aux->attach_btf_id; check_attach_btf_id() local
[all...]
H A Dlog.c509 iter_type_str(const struct btf * btf,u32 btf_id) iter_type_str() argument
H A Dbtf.c4106 u32 btf_id; btf_check_and_fixup_fields() local
5701 btf_find_struct_meta(const struct btf * btf,u32 btf_id) btf_find_struct_meta() argument
7319 __get_type_size(struct btf * btf,u32 btf_id,const struct btf_type ** ret_type) __get_type_size() argument
7549 u32 btf_id = 0; btf_check_type_match() local
7680 u32 i, nargs, btf_id; btf_prepare_func_args() local
8426 int btf_id; BTF_ID_LIST_GLOBAL() local
8454 int btf_id; btf_check_iter_kfuncs() local
8809 btf_find_dtor_kfunc(struct btf * btf,u32 btf_id) btf_find_dtor_kfunc() argument
9356 btf_nested_type_is_trusted(struct bpf_verifier_log * log,const struct bpf_reg_state * reg,const char * field_name,u32 btf_id,const char * suffix) btf_nested_type_is_trusted() argument
[all...]
H A Dbpf_iter.c13 u32 btf_id; /* cached value */ member
H A Dsyscall.c2611 bpf_prog_load_check_attach(enum bpf_prog_type prog_type,enum bpf_attach_type expected_attach_type,struct btf * attach_btf,u32 btf_id,struct bpf_prog * dst_prog) bpf_prog_load_check_attach() argument
3454 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.c92 int btf_id; member
1767 struct src_obj *obj, Elf64_Sym *sym, int btf_id) in glob_map_defs_match() argument
1807 struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) in glob_syms_match() argument
1846 int i, j, n, m, btf_id = 0; find_glob_sym_btf() local
2003 int btf_sec_id = 0, btf_id = 0; linker_append_elf_sym() local
[all...]
H A Dlibbpf.c598 int btf_id; global() member
12959 int btf_id; bpf_program__attach_freplace() local
13778 int btf_obj_fd = 0, btf_id = 0, err; bpf_program__set_attach_target() local
[all...]
/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.c983 bpf_dev_bound_kfunc_id(u32 btf_id) bpf_dev_bound_kfunc_id() argument
/linux/include/net/
H A Dxdp.h623 bpf_dev_bound_kfunc_id(u32 btf_id) bpf_dev_bound_kfunc_id() argument
/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()
1010 s32 btf_id; in BPF_CALL_5() local
/linux/tools/include/uapi/linux/
H A Dbpf.h1668 __u32 btf_id; global() member
6632 __u32 btf_id; global() member
6664 __u32 btf_id; global() member
/linux/include/uapi/linux/
H A Dbpf.h1668 __u32 btf_id; global() member
6632 __u32 btf_id; global() member
6664 __u32 btf_id; global() member