Home
last modified time | relevance | path

Searched refs:types_size (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/
H A Dbtf.c208 u32 types_size; member
1394 if (btf->types_size - btf->nr_types < 2) { in btf_add_type()
1400 if (btf->types_size == BTF_MAX_TYPE) { in btf_add_type()
1405 expand_by = max_t(u32, btf->types_size >> 2, 16); in btf_add_type()
1407 btf->types_size + expand_by); in btf_add_type()
1422 btf->types_size = new_size; in btf_add_type()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbtf.c253 u32 types_size; member
1566 if (btf->types_size == btf->nr_types) { in btf_add_type()
1572 if (btf->start_id + btf->types_size == BTF_MAX_TYPE) { in btf_add_type()
1577 expand_by = max_t(u32, btf->types_size >> 2, 16); in btf_add_type()
1579 btf->types_size + expand_by); in btf_add_type()
1599 btf->types_size = new_size; in btf_add_type()

Completed in 18 milliseconds