| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 101 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 D | env.c | 119 __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 D | bpf-event.c | 105 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 D | tracing_failure.c | 60 int btf_id; in test_tracing_deny() local
|
| H A D | module_fentry_shadow.c | 63 __s32 btf_id[2] = {}; in test_module_fentry_shadow() local
|
| H A D | fexit_bpf2bpf.c | 115 __s32 btf_id; in test_fexit_bpf2bpf_common() local 486 int btf_id; in test_fentry_to_cgroup_bpf() local
|
| H A D | ctx_rewrite.c | 252 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 D | fd_array.c | 302 __u32 btf_id; in check_fd_array_cnt__referenced_btfs() local
|
| /linux/include/linux/ |
| H A D | btf.h | 128 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 D | bpf_lsm.h | 58 static inline bool bpf_lsm_is_sleepable_hook(u32 btf_id) in bpf_lsm_is_sleepable_hook()
|
| H A D | bpf_verifier.h | 64 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 D | btf.c | 854 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 D | bpf_lsm.c | 117 u32 btf_id = prog->aux->attach_btf_id; in bpf_lsm_verify_prog() local
|
| H A D | verifier.c | 291 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 D | log.c | 511 const char *iter_type_str(const struct btf *btf, u32 btf_id) in iter_type_str()
|
| H A D | btf.c | 4095 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 D | bpf_iter.c | 13 u32 btf_id; /* cached value */ member
|
| H A D | syscall.c | 2667 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 D | iterators.bpf.c | 59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name()
|
| /linux/tools/lib/bpf/ |
| H A D | linker.c | 91 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 D | xdp.c | 988 bool bpf_dev_bound_kfunc_id(u32 btf_id) in bpf_dev_bound_kfunc_id()
|
| /linux/include/net/ |
| H A D | xdp.h | 666 static inline bool bpf_dev_bound_kfunc_id(u32 btf_id) { return false; } in bpf_dev_bound_kfunc_id()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 515 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 D | test_verifier.c | 973 int btf_id = 0; in fixup_prog_kfuncs() local
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1684 __u32 btf_id; member 6648 __u32 btf_id; member 6680 __u32 btf_id; member
|