Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/persistent-data/
Ddm-btree-remove.c310 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in delete_center_node() argument
313 unsigned shift = min(max_entries - nr_left, nr_center); in delete_center_node()
323 if (shift != nr_center) { in delete_center_node()
324 shift = nr_center - shift; in delete_center_node()
350 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in redistribute3() argument
354 unsigned total = nr_left + nr_center + nr_right; in redistribute3()
365 if (s < 0 && nr_center < -s) { in redistribute3()
367 ret = shift(left, center, -nr_center); in redistribute3()
371 s += nr_center; in redistribute3()
388 if (s > 0 && nr_center < s) { in redistribute3()
[all …]
Ddm-btree.c580 unsigned nr_center = le32_to_cpu(center->header.nr_entries); in redistribute3() local
584 BUG_ON(nr_center); in redistribute3()