Home
last modified time | relevance | path

Searched defs:btf (Results 1 – 18 of 18) sorted by relevance

/kernel/bpf/
Dbtf.c253 struct btf { struct
255 struct btf_type **types; argument
260 struct btf_header hdr; argument
267 struct btf_kfunc_set_tab *kfunc_set_tab; argument
268 struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; argument
269 struct btf_struct_metas *struct_meta_tab; argument
270 struct btf_struct_ops_tab *struct_ops_tab; argument
273 struct btf *base_btf; argument
277 bool kernel_btf; argument
287 const struct btf_type *t; argument
[all …]
Dbpf_struct_ops.c44 struct btf *btf; member
90 static bool is_valid_value_type(struct btf *btf, s32 value_id, in is_valid_value_type()
171 static int prepare_arg_info(struct btf *btf, in prepare_arg_info()
296 static bool is_module_member(const struct btf *btf, u32 id) in is_module_member()
318 struct btf *btf, in bpf_struct_ops_desc_init()
521 static int check_zero_holes(const struct btf *btf, const struct btf_type *t, void *data) in check_zero_holes()
990 static u32 count_func_ptrs(const struct btf *btf, const struct btf_type *t) in count_func_ptrs()
1011 struct btf *btf; in bpf_struct_ops_map_alloc() local
Dlog.c386 const struct btf *btf; in verbose_linfo() local
430 static const char *btf_type_name(const struct btf *btf, u32 id) in btf_type_name()
509 const char *iter_type_str(const struct btf *btf, u32 btf_id) in iter_type_str()
Dverifier.c281 struct btf *btf; member
291 struct btf *btf; member
346 static const char *btf_type_name(const struct btf *btf, u32 id) in btf_type_name()
1007 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()
2419 struct btf *btf, u32 btf_id, in mark_btf_ld_reg()
2591 struct btf *btf = aux->btf; in bpf_find_exception_callback_insn_off() local
2662 struct btf *btf; member
2733 struct btf *btf; in __find_kfunc_desc_btf() local
5740 struct btf **btf, u32 *btf_id, bool *is_retval, bool is_ldsx) in check_ctx_access()
[all …]
Dinode.c599 const struct btf *btf; member
608 const struct btf *btf; in find_bpffs_btf_enums() local
650 static bool find_btf_enum_const(const struct btf *btf, const struct btf_type *enum_t, in find_btf_enum_const()
681 const struct btf *btf, in seq_print_delegate_opts()
Dbloom_filter.c184 const struct btf *btf, in bloom_map_check_btf()
Dlpm_trie.c740 const struct btf *btf, in trie_check_btf()
Dlocal_storage.c357 const struct btf *btf, in cgroup_storage_check_btf()
Darena.c201 static int arena_map_check_btf(const struct bpf_map *map, const struct btf *btf, in arena_map_check_btf()
Dsyscall.c743 struct btf *btf = map->btf; in bpf_map_free() local
1088 const struct btf *btf, in map_check_no_btf()
1096 const struct btf *btf, u32 btf_key_id, u32 btf_value_id) in map_check_btf()
1378 struct btf *btf; in map_create() local
4889 struct btf *btf, in bpf_btf_get_info_by_fd()
Dbpf_local_storage.c688 const struct btf *btf, in bpf_local_storage_map_check_btf()
Darraymap.c529 const struct btf *btf, in array_map_check_btf()
/kernel/bpf/preload/iterators/
Diterators.bpf.c34 struct btf { struct
36 struct btf_type **types; argument
37 struct btf_header hdr; argument
46 struct btf *btf; member
59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name()
/kernel/trace/
Dtrace_probe.c323 static bool btf_type_is_char_ptr(struct btf *btf, const struct btf_type *type) in btf_type_is_char_ptr()
341 static bool btf_type_is_char_array(struct btf *btf, const struct btf_type *type) in btf_type_is_char_array()
364 struct btf *btf = ctx->btf; in check_prepare_btf_string_fetch() local
394 static const char *fetch_type_from_btf_type(struct btf *btf, in fetch_type_from_btf_type()
452 struct btf *btf; in query_btf_context() local
711 struct btf *btf = ctx->btf; in find_fetch_type_from_btf_type() local
Dtrace_btf.c70 const struct btf_member *btf_find_struct_member(struct btf *btf, in btf_find_struct_member()
Dbpf_trace.c526 const struct btf *btf; in BPF_CALL_4() local
961 u64 flags, const struct btf **btf, in bpf_btf_printf_prepare()
993 const struct btf *btf; in BPF_CALL_5() local
Dtrace_probe.h416 struct btf *btf; /* The BTF to be used */ member
/kernel/sched/
Dext.c5495 struct btf *btf = bpf_get_btf_vmlinux(); in set_arg_maybe_null() local
5690 static int bpf_scx_init(struct btf *btf) in bpf_scx_init()