Home
last modified time | relevance | path

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

/lib/
Dflex_array.c92 int elems_per_part = 0; in flex_array_alloc() local
97 elems_per_part = FLEX_ARRAY_ELEMENTS_PER_PART(element_size); in flex_array_alloc()
98 reciprocal_elems = reciprocal_value(elems_per_part); in flex_array_alloc()
99 max_size = FLEX_ARRAY_NR_BASE_PTRS * elems_per_part; in flex_array_alloc()
110 ret->elems_per_part = elems_per_part; in flex_array_alloc()
156 part_offset = element_nr - part_nr * fa->elems_per_part; in index_inside_part()