Home
last modified time | relevance | path

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

12

/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/include/linux/
H A Dbtf.h128 u32 btf_id; member
133 u32 btf_id; member
652 static inline s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc()
661 static inline struct btf_struct_meta *btf_find_struct_meta(const struct btf *btf, u32 btf_id) in btf_find_struct_meta()
H A Dbpf_lsm.h58 static inline bool bpf_lsm_is_sleepable_hook(u32 btf_id) in bpf_lsm_is_sleepable_hook()
H A Dbpf_verifier.h64 u32 btf_id; member
90 u32 btf_id; member
527 u32 btf_id; /* btf_id for struct typed var */ member
630 u32 btf_id; member
895 struct btf *btf, u32 btf_id) in bpf_trampoline_compute_key()
904 static inline void bpf_trampoline_unpack_key(u64 key, u32 *obj_id, u32 *btf_id) in bpf_trampoline_unpack_key()
/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
1009 struct btf *btf, u32 btf_id, int nr_slots) in mark_stack_slots_iter()
1107 struct btf *btf, u32 btf_id, int nr_slots) in is_iter_reg_valid_init()
2834 struct btf *btf, u32 btf_id, in mark_btf_ld_reg()
7083 const char *field_name, u32 btf_id) in type_is_rcu()
7095 const char *field_name, u32 btf_id) in type_is_rcu_or_null()
7106 const char *field_name, u32 btf_id) in type_is_trusted()
7118 const char *field_name, u32 btf_id) in type_is_trusted_or_null()
7138 u32 btf_id = 0; in check_ptr_to_btf_access() local
7292 u32 btf_id; in check_ptr_to_map_access() local
[all …]
H A Dlog.c511 const char *iter_type_str(const struct btf *btf, u32 btf_id) in iter_type_str()
H A Dbtf.c4095 u32 btf_id; in btf_check_and_fixup_fields() local
5690 struct btf_struct_meta *btf_find_struct_meta(const struct btf *btf, u32 btf_id) in btf_find_struct_meta()
7308 static int __get_type_size(struct btf *btf, u32 btf_id, in __get_type_size()
7538 u32 btf_id = 0; in btf_check_type_match() local
7669 u32 i, nargs, btf_id; in btf_prepare_func_args() local
8415 int btf_id; in BTF_ID_LIST_GLOBAL() local
8443 int btf_id; in btf_check_iter_kfuncs() local
8798 s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc()
9345 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.c2667 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach()
3552 u32 btf_id, in bpf_tracing_prog_attach()
/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/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
/linux/net/core/
H A Dxdp.c988 bool bpf_dev_bound_kfunc_id(u32 btf_id) in bpf_dev_bound_kfunc_id()
/linux/include/net/
H A Dxdp.h666 static inline bool bpf_dev_bound_kfunc_id(u32 btf_id) { return false; } 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()
1010 s32 btf_id; in BPF_CALL_5() local
/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; member
6648 __u32 btf_id; member
6680 __u32 btf_id; member

12