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.c96 __u32 btf_id = btf_node->id; in __perf_env__insert_btf() local
121 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
131 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()
453 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
509 u32 btf_id; /* btf_id for struct typed var */ global() member
743 bpf_trampoline_compute_key(const struct bpf_prog * tgt_prog,struct btf * btf,u32 btf_id) bpf_trampoline_compute_key() argument
752 bpf_trampoline_unpack_key(u64 key,u32 * obj_id,u32 * btf_id) bpf_trampoline_unpack_key() argument
[all...]
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
1584 struct src_obj *obj, Elf64_Sym *sym, int btf_id) in glob_map_defs_match()
1624 struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) in glob_syms_match()
1663 int i, j, n, m, btf_id = 0; in find_glob_sym_btf() local
1820 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() argument
1188 struct btf *btf, u32 btf_id, int nr_slots) in mark_stack_slots_iter() argument
1282 is_iter_reg_valid_init(struct bpf_verifier_env * env,struct bpf_reg_state * reg,struct btf * btf,u32 btf_id,int nr_slots) is_iter_reg_valid_init() argument
2531 mark_btf_ld_reg(struct bpf_verifier_env * env,struct bpf_reg_state * regs,u32 regno,enum bpf_reg_type reg_type,struct btf * btf,u32 btf_id,enum bpf_type_flag flag) mark_btf_ld_reg() argument
5581 check_ctx_access(struct bpf_verifier_env * env,int insn_idx,int off,int size,enum bpf_access_type t,enum bpf_reg_type * reg_type,struct btf ** btf,u32 * btf_id) check_ctx_access() argument
6374 type_is_rcu(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_rcu() argument
6385 type_is_rcu_or_null(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_rcu_or_null() argument
6396 type_is_trusted(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_trusted() argument
6409 type_is_trusted_or_null(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_trusted_or_null() argument
6428 u32 btf_id = 0; check_ptr_to_btf_access() local
6579 u32 btf_id; check_ptr_to_map_access() local
6821 u32 btf_id = 0; check_mem_access() local
7737 u32 btf_id; process_iter_arg() local
8065 u32 *btf_id; global() member
11055 is_bpf_list_api_kfunc(u32 btf_id) is_bpf_list_api_kfunc() argument
11063 is_bpf_rbtree_api_kfunc(u32 btf_id) is_bpf_rbtree_api_kfunc() argument
11070 is_bpf_graph_api_kfunc(u32 btf_id) is_bpf_graph_api_kfunc() argument
11076 is_sync_callback_calling_kfunc(u32 btf_id) is_sync_callback_calling_kfunc() argument
11081 is_rbtree_lock_required_kfunc(u32 btf_id) is_rbtree_lock_required_kfunc() argument
19772 u32 btf_id, member_idx; check_struct_ops_btf_id() local
19853 bpf_check_attach_target(struct bpf_verifier_log * log,const struct bpf_prog * prog,const struct bpf_prog * tgt_prog,u32 btf_id,struct bpf_attach_target_info * tgt_info) bpf_check_attach_target() argument
20161 u32 btf_id = prog->aux->attach_btf_id; check_attach_btf_id() local
[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
980 s32 *btf_id) in bpf_btf_printf_prepare()
1012 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