Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dmalloc.c266 uint right_weight; in delete() local
272 right_weight = weight(right_branch); in delete()
279 if ( left_weight >= right_weight ) { in delete()
300 if (right_weight == 0) { in delete()
309 right_weight = weight(right_branch); in delete()
351 uint right_weight; in demote() local
359 right_weight = weight(right_branch); in demote()
361 while (left_weight > x_weight || right_weight > x_weight) { in demote()
365 if (left_weight >= right_weight) { in demote()
380 right_weight = weight(right_branch); in demote()
[all …]
/titanic_44/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c446 size_t right_weight; in kmem_alloc() local
492 right_weight = mweight(right_son); in kmem_alloc()
494 while (left_weight >= nbytes || right_weight >= nbytes) { in kmem_alloc()
495 if (left_weight <= right_weight) { in kmem_alloc()
504 if (right_weight >= nbytes) { in kmem_alloc()
515 right_weight = mweight(right_son); in kmem_alloc()