Searched refs:index_type_id (Results 1 – 5 of 5) sorted by relevance
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-btf.rst | 166 [8] ARRAY '(anon)' type_id=7 index_type_id=9 nr_elems=16 221 [2866] ARRAY '(anon)' type_id=52 index_type_id=51 nr_elems=4
|
H A D | bpftool-gen.rst | 415 [4] ARRAY '(anon)' type_id=1 index_type_id=21 nr_elems=2 451 [4] ARRAY '(anon)' type_id=5 index_type_id=8 nr_elems=6
|
/linux/tools/lib/bpf/ |
H A D | btf.h | 202 int index_type_id, int elem_type_id, __u32 nr_elems);
|
H A D | btf.c | 2141 int btf__add_array(struct btf *btf, int index_type_id, int elem_type_id, __u32 nr_elems) in btf__add_array() argument 2147 if (validate_type_id(index_type_id) || validate_type_id(elem_type_id)) in btf__add_array() 2164 a->index_type = index_type_id; in btf__add_array()
|
/linux/kernel/bpf/ |
H A D | btf.c | 2957 u32 elem_type_id, index_type_id; in btf_array_resolve() local 2962 index_type_id = array->index_type; in btf_array_resolve() 2963 index_type = btf_type_by_id(btf, index_type_id); in btf_array_resolve() 2971 !env_type_is_resolved(env, index_type_id)) in btf_array_resolve() 2972 return env_stack_push(env, index_type, index_type_id); in btf_array_resolve() 2974 index_type = btf_type_id_size(btf, &index_type_id, NULL); in btf_array_resolve()
|