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

/linux-4.4.14/include/linux/
H A Dflex_array.h25 int elems_per_part; member in struct:flex_array::__anon12290::__anon12291
/linux-4.4.14/lib/
H A Dflex_array.c92 int elems_per_part = 0; flex_array_alloc() local
97 elems_per_part = FLEX_ARRAY_ELEMENTS_PER_PART(element_size); flex_array_alloc()
98 reciprocal_elems = reciprocal_value(elems_per_part); flex_array_alloc()
99 max_size = FLEX_ARRAY_NR_BASE_PTRS * elems_per_part; flex_array_alloc()
110 ret->elems_per_part = elems_per_part; flex_array_alloc()
161 part_offset = element_nr - part_nr * fa->elems_per_part; index_inside_part()

Completed in 70 milliseconds