Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
A Dtest_btf.h22 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \ argument
23 (type), (index_type), (nr_elems)
24 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \ argument
26 BTF_ARRAY_ENC(type, index_type, nr_elems)
28 #define BTF_STRUCT_ENC(name, nr_elems, sz) \ argument
29 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, nr_elems), sz)
31 #define BTF_UNION_ENC(name, nr_elems, sz) \ argument
32 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_UNION, 0, nr_elems), sz)
/linux/kernel/bpf/
A Dbpf_lru_list.c561 u32 nr_elems) in bpf_common_lru_populate() argument
566 for (i = 0; i < nr_elems; i++) { in bpf_common_lru_populate()
579 u32 nr_elems) in bpf_percpu_lru_populate() argument
585 pcpu_entries = nr_elems / num_possible_cpus(); in bpf_percpu_lru_populate()
601 if (i == nr_elems) in bpf_percpu_lru_populate()
609 u32 elem_size, u32 nr_elems) in bpf_lru_populate() argument
613 nr_elems); in bpf_lru_populate()
616 nr_elems); in bpf_lru_populate()
A Dpercpu_freelist.c102 u32 nr_elems) in pcpu_freelist_populate() argument
107 pcpu_entries = nr_elems / num_possible_cpus() + 1; in pcpu_freelist_populate()
117 if (i == nr_elems) in pcpu_freelist_populate()
A Dpercpu_freelist.h30 u32 nr_elems);
A Dbpf_lru_list.h76 u32 elem_size, u32 nr_elems);
/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-btf.rst167 [8] ARRAY '(anon)' type_id=7 index_type_id=9 nr_elems=16
222 [2866] ARRAY '(anon)' type_id=52 index_type_id=51 nr_elems=4
/linux/tools/lib/bpf/
A Dbtf.h208 int index_type_id, int elem_type_id, __u32 nr_elems);
A Dbtf.c1889 int btf__add_array(struct btf *btf, int index_type_id, int elem_type_id, __u32 nr_elems) in btf__add_array() argument
1913 a->nelems = nr_elems; in btf__add_array()

Completed in 19 milliseconds