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/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 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.h234 u32 btf_id; member
1004 u32 btf_id; member
1539 u32 btf_id; member
/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 struct btf *btf, u32 btf_id, int nr_slots) in mark_stack_slots_iter()
1130 struct btf *btf, u32 btf_id, int nr_slots) in is_iter_reg_valid_init()
2841 struct btf *btf, u32 btf_id, in mark_btf_ld_reg()
7167 const char *field_name, u32 btf_id) in type_is_rcu()
7179 const char *field_name, u32 btf_id) in type_is_rcu_or_null()
7190 const char *field_name, u32 btf_id) in type_is_trusted()
7202 const char *field_name, u32 btf_id) in type_is_trusted_or_null()
7222 u32 btf_id = 0; in check_ptr_to_btf_access() local
7376 u32 btf_id; in check_ptr_to_map_access() local
[all …]
H A Dlog.c509 const char *iter_type_str(const struct btf *btf, u32 btf_id) in iter_type_str()
H A Dbtf.c4106 u32 btf_id; in btf_check_and_fixup_fields() local
5701 struct btf_struct_meta *btf_find_struct_meta(const struct btf *btf, u32 btf_id) in btf_find_struct_meta()
7319 static int __get_type_size(struct btf *btf, u32 btf_id, in __get_type_size()
7549 u32 btf_id = 0; in btf_check_type_match() local
7680 u32 i, nargs, btf_id; in btf_prepare_func_args() local
8426 int btf_id; in BTF_ID_LIST_GLOBAL() local
8454 int btf_id; in btf_check_iter_kfuncs() local
8809 s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc()
9356 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.c2611 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach()
3454 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.c92 int btf_id; member
1767 struct src_obj *obj, Elf64_Sym *sym, int btf_id) in glob_map_defs_match()
1807 struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) in glob_syms_match()
1846 int i, j, n, m, btf_id = 0; in find_glob_sym_btf() local
2003 int btf_sec_id = 0, btf_id = 0; in linker_append_elf_sym() local
H A Dlibbpf.c598 int btf_id; member
12959 int btf_id; in bpf_program__attach_freplace() local
13778 int btf_obj_fd = 0, btf_id = 0, err; in bpf_program__set_attach_target() local
/linux/tools/perf/util/
H A Dbpf-event.c105 u32 btf_id, in perf_env__fetch_btf()
836 u32 btf_id; in perf_env__add_bpf_info() local
/linux/kernel/trace/
H A Dbpf_trace.c516 s32 btf_id; in BPF_CALL_4() local
979 s32 *btf_id) in bpf_btf_printf_prepare()
1011 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/tools/include/uapi/linux/
H A Dbpf.h1668 __u32 btf_id; member
6632 __u32 btf_id; member
6664 __u32 btf_id; member
/linux/include/uapi/linux/
H A Dbpf.h1668 __u32 btf_id; member
6632 __u32 btf_id; member
6664 __u32 btf_id; member