Home
last modified time | relevance | path

Searched refs:btf__add_array (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_field_iter.c53 btf__add_array(btf, 1, 2, 3); /* [4] int64[3] */ in test_btf_field_iter()
H A Dbtf_distill.c60 btf__add_array(btf1, 1, 1, 3); /* [15] int [3]; */ in test_distilled_base()
H A Dbtf_write.c88 id = btf__add_array(btf, 1, 2, 10); /* int *[10] */ in gen_btf()
H A Dbtf_dump.c983 array_id = btf__add_array(t.btf, int_id, char_id, 4); in test_btf_dump_string_data()
/linux/tools/lib/bpf/
H A Dlibbpf.map210 btf__add_array;
H A Dbtf.h204 LIBBPF_API int btf__add_array(struct btf *btf,
H A Dbtf.c2210 int btf__add_array(struct btf *btf, int index_type_id, int elem_type_id, __u32 nr_elems) in btf__add_array() function
H A Dlibbpf.c10378 new_array_id = btf__add_array(btf, array->index_type, array->type, nr_elements); in map_btf_datasec_resize()