Home
last modified time | relevance | path

Searched refs:type_id (Results 1 – 6 of 6) sorted by relevance

/kernel/bpf/
Dbtf.c180 #define BTF_TYPE_ID_VALID(type_id) ((type_id) <= BTF_MAX_TYPE) argument
257 u32 type_id; member
392 u32 type_id; member
423 u32 type_id, void *data, u8 bits_offsets,
431 const struct btf_type *t, u32 type_id);
808 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id) in btf_type_by_id() argument
810 while (type_id < btf->start_id) in btf_type_by_id()
813 type_id -= btf->start_id; in btf_type_by_id()
814 if (type_id >= btf->nr_types) in btf_type_by_id()
816 return btf->types[type_id]; in btf_type_by_id()
[all …]
Dbpf_struct_ops.c106 s32 type_id, value_id, module_id; in bpf_struct_ops_init() local
145 type_id = btf_find_by_name_kind(btf, st_ops->name, in bpf_struct_ops_init()
147 if (type_id < 0) { in bpf_struct_ops_init()
152 t = btf_type_by_id(btf, type_id); in bpf_struct_ops_init()
193 st_ops->type_id = type_id; in bpf_struct_ops_init()
221 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find() argument
225 if (!type_id || !btf_vmlinux) in bpf_struct_ops_find()
229 if (bpf_struct_ops[i]->type_id == type_id) in bpf_struct_ops_find()
464 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
Dcore.c579 prog->aux->func_info[prog->aux->func_idx].type_id); in bpf_prog_ksym_set_name()
Dverifier.c11359 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func()
11362 krecord[i].type_id); in check_btf_func()
15180 if (aux->func_info[i].type_id == btf_id) { in bpf_check_attach_target()
/kernel/bpf/preload/iterators/
Diterators.bpf.c109 get_name(aux->btf, aux->func_info[0].type_id, aux->name), in dump_bpf_prog()
/kernel/trace/
Dbpf_trace.c1000 if (ptr->type_id > 0) in bpf_btf_printf_prepare()
1001 *btf_id = ptr->type_id; in bpf_btf_printf_prepare()