/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/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 1030 mark_stack_slots_iter(struct bpf_verifier_env * env,struct bpf_kfunc_call_arg_meta * meta,struct bpf_reg_state * reg,int insn_idx,struct btf * btf,u32 btf_id,int nr_slots) mark_stack_slots_iter() argument 1130 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 2841 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 7167 type_is_rcu(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_rcu() argument 7179 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 7190 type_is_trusted(struct bpf_verifier_env * env,struct bpf_reg_state * reg,const char * field_name,u32 btf_id) type_is_trusted() argument 7202 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 7222 u32 btf_id = 0; check_ptr_to_btf_access() local 7376 u32 btf_id; check_ptr_to_map_access() local 8774 int spi, err, i, nr_slots, btf_id; process_iter_arg() local 9128 u32 *btf_id; global() member 10563 u32 btf_id; btf_check_subprog_call() local 12704 is_bpf_list_api_kfunc(u32 btf_id) is_bpf_list_api_kfunc() argument 12714 is_bpf_rbtree_api_kfunc(u32 btf_id) is_bpf_rbtree_api_kfunc() argument 12724 is_bpf_iter_num_api_kfunc(u32 btf_id) is_bpf_iter_num_api_kfunc() argument 12731 is_bpf_graph_api_kfunc(u32 btf_id) is_bpf_graph_api_kfunc() argument 12737 is_bpf_res_spin_lock_kfunc(u32 btf_id) is_bpf_res_spin_lock_kfunc() argument 12745 kfunc_spin_allowed(u32 btf_id) kfunc_spin_allowed() argument 12751 is_sync_callback_calling_kfunc(u32 btf_id) is_sync_callback_calling_kfunc() argument 12756 is_async_callback_calling_kfunc(u32 btf_id) is_async_callback_calling_kfunc() argument 12767 is_bpf_wq_set_callback_impl_kfunc(u32 btf_id) is_bpf_wq_set_callback_impl_kfunc() argument 12772 is_callback_calling_kfunc(u32 btf_id) is_callback_calling_kfunc() argument 12778 is_rbtree_lock_required_kfunc(u32 btf_id) is_rbtree_lock_required_kfunc() argument 23395 u32 btf_id, member_idx, member_off; check_struct_ops_btf_id() local 23531 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 23929 u32 btf_id = prog->aux->attach_btf_id; check_attach_btf_id() local [all...] |
H A D | log.c | 509 iter_type_str(const struct btf * btf,u32 btf_id) iter_type_str() argument
|
H A D | btf.c | 4106 u32 btf_id; btf_check_and_fixup_fields() local 5701 btf_find_struct_meta(const struct btf * btf,u32 btf_id) btf_find_struct_meta() argument 7319 __get_type_size(struct btf * btf,u32 btf_id,const struct btf_type ** ret_type) __get_type_size() argument 7549 u32 btf_id = 0; btf_check_type_match() local 7680 u32 i, nargs, btf_id; btf_prepare_func_args() local 8426 int btf_id; BTF_ID_LIST_GLOBAL() local 8454 int btf_id; btf_check_iter_kfuncs() local 8809 btf_find_dtor_kfunc(struct btf * btf,u32 btf_id) btf_find_dtor_kfunc() argument 9356 btf_nested_type_is_trusted(struct bpf_verifier_log * log,const struct bpf_reg_state * reg,const char * field_name,u32 btf_id,const char * suffix) btf_nested_type_is_trusted() argument [all...] |
H A D | bpf_iter.c | 13 u32 btf_id; /* cached value */ member
|
H A D | syscall.c | 2611 bpf_prog_load_check_attach(enum bpf_prog_type prog_type,enum bpf_attach_type expected_attach_type,struct btf * attach_btf,u32 btf_id,struct bpf_prog * dst_prog) bpf_prog_load_check_attach() argument 3454 bpf_tracing_prog_attach(struct bpf_prog * prog,int tgt_prog_fd,u32 btf_id,u64 bpf_cookie,enum bpf_attach_type attach_type) bpf_tracing_prog_attach() argument [all...] |
/linux/tools/lib/bpf/ |
H A D | linker.c | 92 int btf_id; member 1767 struct src_obj *obj, Elf64_Sym *sym, int btf_id) in glob_map_defs_match() argument 1807 struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) in glob_syms_match() argument 1846 int i, j, n, m, btf_id = 0; find_glob_sym_btf() local 2003 int btf_sec_id = 0, btf_id = 0; linker_append_elf_sym() local [all...] |
H A D | libbpf.c | 598 int btf_id; global() member 12959 int btf_id; bpf_program__attach_freplace() local 13778 int btf_obj_fd = 0, btf_id = 0, err; bpf_program__set_attach_target() local [all...] |
/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/net/core/ |
H A D | xdp.c | 983 bpf_dev_bound_kfunc_id(u32 btf_id) bpf_dev_bound_kfunc_id() argument
|
/linux/include/net/ |
H A D | xdp.h | 623 bpf_dev_bound_kfunc_id(u32 btf_id) bpf_dev_bound_kfunc_id() argument
|
/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/include/uapi/linux/ |
H A D | bpf.h | 1668 __u32 btf_id; global() member 6632 __u32 btf_id; global() member 6664 __u32 btf_id; global() member
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1668 __u32 btf_id; global() member 6632 __u32 btf_id; global() member 6664 __u32 btf_id; global() member
|