Home
last modified time | relevance | path

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

/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];
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmodule_fentry_shadow.c63 __s32 btf_id[2] = {}; in test_module_fentry_shadow() local
H A Dfexit_bpf2bpf.c115 __s32 btf_id; in test_fexit_bpf2bpf_common() local
486 int btf_id; in test_fentry_to_cgroup_bpf() local
H A Dctx_rewrite.c252 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 Dfd_array.c302 __u32 btf_id; in check_fd_array_cnt__referenced_btfs() local
/linux/tools/bpf/bpftool/
H A Dbtf.c854 static bool btf_is_kernel_module(__u32 btf_id) in btf_is_kernel_module() argument
888 __u32 btf_id = -1; in do_dump() local
1121 __u32 btf_id, id = 0; build_btf_type_table() local
[all...]
/linux/kernel/bpf/
H A Dbpf_lsm.c117 u32 btf_id = prog->aux->attach_btf_id; in bpf_lsm_verify_prog() local
H A Dverifier.c285 u32 btf_id; member
1023 struct btf *btf, u32 btf_id, int nr_slots) in mark_stack_slots_iter()
1123 struct btf *btf, u32 btf_id, int nr_slots) in is_iter_reg_valid_init()
2729 struct btf *btf, u32 btf_id, in mark_btf_ld_reg()
7040 const char *field_name, u32 btf_id) in type_is_rcu()
7051 const char *field_name, u32 btf_id) in type_is_rcu_or_null()
7062 const char *field_name, u32 btf_id) in type_is_trusted()
7074 const char *field_name, u32 btf_id) in type_is_trusted_or_null()
7094 u32 btf_id = 0; in check_ptr_to_btf_access() local
7245 u32 btf_id; in check_ptr_to_map_access() local
[all …]
H A Dlog.c509 const char *iter_type_str(const struct btf *btf, u32 btf_id) in iter_type_str()
H A Dbtf.c4087 u32 btf_id; btf_check_and_fixup_fields() local
5682 btf_find_struct_meta(const struct btf * btf,u32 btf_id) btf_find_struct_meta() argument
7298 __get_type_size(struct btf * btf,u32 btf_id,const struct btf_type ** ret_type) __get_type_size() argument
7528 u32 btf_id = 0; btf_check_type_match() local
7658 u32 i, nargs, btf_id; btf_prepare_func_args() local
8370 int btf_id; BTF_ID_LIST_GLOBAL() local
8398 int btf_id; btf_check_iter_kfuncs() local
8753 btf_find_dtor_kfunc(struct btf * btf,u32 btf_id) btf_find_dtor_kfunc() argument
9300 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 Dbpf_iter.c13 u32 btf_id; /* cached value */ member
H A Dbpf_struct_ops.c164 s32 btf_id; find_stub_func_proto() local
H A Dsyscall.c2604 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach()
3435 u32 btf_id, in bpf_tracing_prog_attach()
/linux/tools/lib/bpf/
H A Dlinker.c92 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 Dlibbpf.c598 int btf_id; member
12917 int btf_id; in bpf_program__attach_freplace() local
13736 int btf_obj_fd = 0, btf_id = 0, err; in bpf_program__set_attach_target() local
/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()
/linux/net/core/
H A Dxdp.c983 bpf_dev_bound_kfunc_id(u32 btf_id) bpf_dev_bound_kfunc_id() argument
/linux/include/net/
H A Dxdp.h623 bpf_dev_bound_kfunc_id(u32 btf_id) bpf_dev_bound_kfunc_id() argument
/linux/kernel/trace/
H A Dbpf_trace.c515 s32 btf_id; BPF_CALL_4() local
974 bpf_btf_printf_prepare(struct btf_ptr * ptr,u32 btf_ptr_size,u64 flags,const struct btf ** btf,s32 * btf_id) bpf_btf_printf_prepare() argument
1006 s32 btf_id; BPF_CALL_5() local
[all...]
/linux/tools/include/uapi/linux/
H A Dbpf.h1650 __u32 btf_id; member
6600 __u32 btf_id; member
6632 __u32 btf_id; member
/linux/include/uapi/linux/
H A Dbpf.h1650 __u32 btf_id; member
6600 __u32 btf_id; member
6632 __u32 btf_id; member