Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/persistent-data/
Ddm-btree-remove.c314 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in delete_center_node() argument
317 unsigned int shift = min(max_entries - nr_left, nr_center); in delete_center_node()
327 if (shift != nr_center) { in delete_center_node()
328 shift = nr_center - shift; in delete_center_node()
354 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in redistribute3() argument
358 unsigned int total = nr_left + nr_center + nr_right; in redistribute3()
369 if (s < 0 && nr_center < -s) { in redistribute3()
371 ret = shift(left, center, -nr_center); in redistribute3()
375 s += nr_center; in redistribute3()
392 if (s > 0 && nr_center < s) { in redistribute3()
[all …]
Ddm-btree.c586 unsigned int nr_center = le32_to_cpu(center->header.nr_entries); in redistribute3() local
590 BUG_ON(nr_center); in redistribute3()