Searched refs:part_nr (Results 1 – 1 of 1) sorted by relevance
139 int part_nr; in flex_array_free_parts() local143 for (part_nr = 0; part_nr < FLEX_ARRAY_NR_BASE_PTRS; part_nr++) in flex_array_free_parts()144 kfree(fa->parts[part_nr]); in flex_array_free_parts()157 unsigned int part_nr) in index_inside_part() argument161 part_offset = element_nr - part_nr * fa->elems_per_part; in index_inside_part()166 __fa_get_part(struct flex_array *fa, int part_nr, gfp_t flags) in __fa_get_part() argument168 struct flex_array_part *part = fa->parts[part_nr]; in __fa_get_part()176 fa->parts[part_nr] = part; in __fa_get_part()201 int part_nr = 0; in flex_array_put() local212 part_nr = fa_element_to_part_nr(fa, element_nr); in flex_array_put()[all …]