Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dmalloc.c265 uint left_weight; in delete() local
270 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() local
358 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 …]
/titanic_50/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c445 size_t left_weight; in kmem_alloc() local
491 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()