Searched refs:left_weight (Results 1 – 2 of 2) sorted by relevance
265 uint left_weight; in delete() local270 left_weight = weight(left_branch); in delete()279 if ( left_weight >= right_weight ) { in delete()284 if (left_weight == 0) { in delete()293 left_weight = weight(left_branch); in delete()350 uint left_weight; in demote() local358 left_weight = weight(left_branch); in demote()361 while (left_weight > x_weight || right_weight > x_weight) { in demote()365 if (left_weight >= right_weight) { in demote()372 left_weight = weight(left_branch); in demote()[all …]
445 size_t left_weight; in kmem_alloc() local491 left_weight = mweight(left_son); in kmem_alloc()494 while (left_weight >= nbytes || right_weight >= nbytes) { in kmem_alloc()495 if (left_weight <= right_weight) { in kmem_alloc()496 if (left_weight >= nbytes) { in kmem_alloc()514 left_weight = mweight(left_son); in kmem_alloc()