Home
last modified time | relevance | path

Searched defs:btf_id (Results 1 – 22 of 22) 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; __perf_env__insert_btf() local
144 perf_env__find_btf(struct perf_env * env,__u32 btf_id) perf_env__find_btf() argument
154 __perf_env__find_btf(struct perf_env * env,__u32 btf_id) __perf_env__find_btf() argument
H A Dbpf-event.c105 perf_env__fetch_btf(struct perf_env * env,u32 btf_id,struct btf * btf) perf_env__fetch_btf() argument
840 u32 btf_id; perf_env__add_bpf_info() local
[all...]
/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; test_fentry_to_cgroup_bpf() local
[all...]
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() argument
299 int btf_id, field_offset; 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 btf_is_kernel_module(__u32 btf_id) btf_is_kernel_module() argument
888 __u32 btf_id = -1; do_dump() local
1123 __u32 btf_id, id = 0; build_btf_type_table() local
[all...]
/linux/kernel/bpf/
H A Dverifier.c246 u32 btf_id; global() member
351 u32 btf_id; subprog_returns_void() local
939 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
1035 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
2520 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
5933 type_is_rcu(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_rcu() argument
5945 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
5956 type_is_trusted(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_trusted() argument
5968 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
5989 u32 btf_id = 0; check_ptr_to_btf_access() local
6147 u32 btf_id; check_ptr_to_map_access() local
7575 int spi, err, i, nr_slots, btf_id; process_iter_arg() local
7932 u32 *btf_id; global() member
9409 u32 btf_id; btf_check_subprog_call() local
11726 is_bpf_list_api_kfunc(u32 btf_id) is_bpf_list_api_kfunc() argument
11735 is_bpf_rbtree_api_kfunc(u32 btf_id) is_bpf_rbtree_api_kfunc() argument
11745 is_bpf_iter_num_api_kfunc(u32 btf_id) is_bpf_iter_num_api_kfunc() argument
11752 is_bpf_graph_api_kfunc(u32 btf_id) is_bpf_graph_api_kfunc() argument
11759 is_bpf_res_spin_lock_kfunc(u32 btf_id) is_bpf_res_spin_lock_kfunc() argument
11767 is_bpf_arena_kfunc(u32 btf_id) is_bpf_arena_kfunc() argument
11774 is_bpf_stream_kfunc(u32 btf_id) is_bpf_stream_kfunc() argument
11780 kfunc_spin_allowed(u32 btf_id) kfunc_spin_allowed() argument
11787 is_sync_callback_calling_kfunc(u32 btf_id) is_sync_callback_calling_kfunc() argument
11792 is_async_callback_calling_kfunc(u32 btf_id) is_async_callback_calling_kfunc() argument
11804 is_bpf_wq_set_callback_kfunc(u32 btf_id) is_bpf_wq_set_callback_kfunc() argument
11809 is_callback_calling_kfunc(u32 btf_id) is_callback_calling_kfunc() argument
11815 is_rbtree_lock_required_kfunc(u32 btf_id) is_rbtree_lock_required_kfunc() argument
18950 u32 btf_id, member_idx, member_off; check_struct_ops_btf_id() local
19076 check_attach_sleepable(u32 btf_id,unsigned long addr,const char * func_name) check_attach_sleepable() argument
19126 check_attach_sleepable(u32 btf_id,unsigned long addr,const char * func_name) check_attach_sleepable() argument
19148 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
19548 u32 btf_id = prog->aux->attach_btf_id; check_attach_btf_id() local
[all...]
H A Dbtf.c4222 u32 btf_id; btf_check_and_fixup_fields() local
5859 btf_find_struct_meta(const struct btf * btf,u32 btf_id) btf_find_struct_meta() argument
7485 __get_type_size(struct btf * btf,u32 btf_id,const struct btf_type ** ret_type) __get_type_size() argument
7715 u32 btf_id = 0; btf_check_type_match() local
7846 u32 i, nargs, btf_id; btf_prepare_func_args() local
8601 int btf_id; BTF_ID_LIST_GLOBAL() local
8629 int btf_id; btf_check_iter_kfuncs() local
9021 btf_find_dtor_kfunc(struct btf * btf,u32 btf_id) btf_find_dtor_kfunc() argument
9576 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.c2648 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
3571 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; global() member
13308 int btf_id; bpf_program__attach_freplace() local
14127 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/include/linux/
H A Dbpf_verifier.h89 u32 btf_id; member
63 u32 btf_id; global() member
592 u32 btf_id; /* btf_id for struct typed var */ global() member
709 u32 btf_id; global() member
1049 bpf_trampoline_compute_key(const struct bpf_prog * tgt_prog,struct btf * btf,u32 btf_id) bpf_trampoline_compute_key() argument
1058 bpf_trampoline_unpack_key(u64 key,u32 * obj_id,u32 * btf_id) bpf_trampoline_unpack_key() argument
[all...]
H A Dbpf.h237 u32 btf_id; global() member
1053 u32 btf_id; global() member
1616 u32 btf_id; global() member
/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; BPF_CALL_4() local
978 bpf_btf_printf_prepare(struct btf_ptr * ptr,u32 btf_ptr_size,u64 flags,const struct btf ** btf,s32 * btf_id) bpf_btf_printf_prepare() argument
1010 s32 btf_id; 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/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