Home
last modified time | relevance | path

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

/openbmc/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];
/openbmc/linux/tools/perf/util/
H A Denv.c101 __u32 btf_id = btf_node->id; in __perf_env__insert_btf() local
126 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
136 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf()
H A Dbpf-event.c96 u32 btf_id, in perf_env__fetch_btf()
456 u32 btf_id; in perf_env__add_bpf_info() local
/openbmc/linux/include/linux/
H A Dbtf.h112 u32 btf_id; member
117 u32 btf_id; member
533 static inline s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc()
542 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.h50 static inline bool bpf_lsm_is_sleepable_hook(u32 btf_id) in bpf_lsm_is_sleepable_hook()
H A Dbpf_verifier.h97 u32 btf_id; member
123 u32 btf_id; member
487 u32 btf_id; /* btf_id for struct typed var */ member
720 struct btf *btf, u32 btf_id) in bpf_trampoline_compute_key()
729 static inline void bpf_trampoline_unpack_key(u64 key, u32 *obj_id, u32 *btf_id) in bpf_trampoline_unpack_key()
H A Dbpf.h206 u32 btf_id; member
917 u32 btf_id; member
1393 u32 btf_id; member
/openbmc/linux/tools/bpf/bpftool/
H A Dbtf.c523 static bool btf_is_kernel_module(__u32 btf_id) in btf_is_kernel_module()
556 __u32 btf_id = -1; in do_dump() local
742 __u32 btf_id, id = 0; in build_btf_type_table() local
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmodule_fentry_shadow.c62 __s32 btf_id[2] = {}; in test_module_fentry_shadow() local
H A Dfexit_bpf2bpf.c115 __s32 btf_id; in test_fexit_bpf2bpf_common() local
464 int btf_id; in test_fentry_to_cgroup_bpf() local
H A Dctx_rewrite.c249 static int find_field_offset_aux(struct btf *btf, int btf_id, char *field_name, int off) in find_field_offset_aux()
296 int btf_id, field_offset; in find_field_offset() local
/openbmc/linux/tools/lib/bpf/
H A Dlinker.c86 int btf_id; member
1578 struct src_obj *obj, Elf64_Sym *sym, int btf_id) in glob_map_defs_match()
1618 struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) in glob_syms_match()
1657 int i, j, n, m, btf_id = 0; in find_glob_sym_btf() local
1814 int btf_sec_id = 0, btf_id = 0; in linker_append_elf_sym() local
H A Dlibbpf.c555 int btf_id; member
12005 int btf_id; in bpf_program__attach_freplace() local
12811 int btf_obj_fd = 0, btf_id = 0, err; in bpf_program__set_attach_target() local
/openbmc/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()
/openbmc/linux/kernel/bpf/
H A Dverifier.c278 u32 btf_id; member
767 static const char *iter_type_str(const struct btf *btf, u32 btf_id) in iter_type_str()
1188 struct btf *btf, u32 btf_id, int nr_slots) in mark_stack_slots_iter()
1282 struct btf *btf, u32 btf_id, int nr_slots) in is_iter_reg_valid_init()
2531 struct btf *btf, u32 btf_id, in mark_btf_ld_reg()
5555 struct btf **btf, u32 *btf_id) in check_ctx_access()
6348 const char *field_name, u32 btf_id) in type_is_rcu()
6359 const char *field_name, u32 btf_id) in type_is_rcu_or_null()
6370 const char *field_name, u32 btf_id) in type_is_trusted()
6383 const char *field_name, u32 btf_id) in type_is_trusted_or_null()
[all …]
H A Dbtf.c3852 u32 btf_id; in btf_check_and_fixup_fields() local
5401 struct btf_struct_meta *btf_find_struct_meta(const struct btf *btf, u32 btf_id) in btf_find_struct_meta()
6519 static int __get_type_size(struct btf *btf, u32 btf_id, in __get_type_size()
6749 u32 btf_id = 0; in btf_check_type_match() local
6882 u32 btf_id; in btf_check_subprog_arg_match() local
6925 u32 btf_id; in btf_check_subprog_call() local
6966 u32 i, nargs, btf_id; in btf_prepare_func_args() local
7941 s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc()
8503 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.c2435 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach()
3168 u32 btf_id, in bpf_tracing_prog_attach()
/openbmc/linux/net/core/
H A Dxdp.c761 bool bpf_dev_bound_kfunc_id(u32 btf_id) in bpf_dev_bound_kfunc_id()
H A Dbpf_sk_storage.c357 u32 btf_id; in bpf_sk_storage_tracing_allowed() local
/openbmc/linux/include/net/
H A Dxdp.h459 static inline bool bpf_dev_bound_kfunc_id(u32 btf_id) { return false; } in bpf_dev_bound_kfunc_id()
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c523 s32 btf_id; in BPF_CALL_4() local
981 s32 *btf_id) in bpf_btf_printf_prepare()
1013 s32 btf_id; in BPF_CALL_5() local
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c975 int btf_id = 0; in fixup_prog_kfuncs() local
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1532 __u32 btf_id; member
6440 __u32 btf_id; member
6472 __u32 btf_id; member
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1532 __u32 btf_id; member
6443 __u32 btf_id; member
6475 __u32 btf_id; member