Home
last modified time | relevance | path

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

/kernel/bpf/
Dbtf.c233 u32 nr_types; /* includes VOID for base BTF */ member
512 total += btf->nr_types; in btf_nr_types()
814 if (type_id >= btf->nr_types) in btf_type_by_id()
1549 if (btf->types_size == btf->nr_types) { in btf_add_type()
1569 if (btf->nr_types == 0) { in btf_add_type()
1573 btf->nr_types++; in btf_add_type()
1577 sizeof(*btf->types) * btf->nr_types); in btf_add_type()
1585 btf->types[btf->nr_types++] = t; in btf_add_type()
1689 u32 nr_types = btf->nr_types; in env_resolve_init() local
1694 resolved_sizes = kvcalloc(nr_types, sizeof(*resolved_sizes), in env_resolve_init()
[all …]