Searched refs:nr_free (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | percpu_ida.c | 39 unsigned nr_free; member 87 if (remote->nr_free) { in steal_tags() 90 sizeof(unsigned) * remote->nr_free); in steal_tags() 92 tags->nr_free = remote->nr_free; in steal_tags() 93 remote->nr_free = 0; in steal_tags() 98 if (tags->nr_free) in steal_tags() 110 move_tags(tags->freelist, &tags->nr_free, in alloc_global_tags() 111 pool->freelist, &pool->nr_free, in alloc_global_tags() 112 min(pool->nr_free, pool->percpu_batch_size)); in alloc_global_tags() 120 if (tags->nr_free) in alloc_local_tag() [all …]
|
D | assoc_array.c | 1481 int keylen, slot, nr_free, next_slot, i; in assoc_array_gc() local 1563 nr_free = 0; in assoc_array_gc() 1567 nr_free++; in assoc_array_gc() 1571 pr_devel("free=%d, leaves=%lu\n", nr_free, new_n->nr_leaves_on_branch); in assoc_array_gc() 1592 if (child->nr_leaves_on_branch <= nr_free + 1) { in assoc_array_gc() 1595 slot, child->nr_leaves_on_branch, nr_free + 1, in assoc_array_gc() 1604 nr_free++; in assoc_array_gc() 1616 nr_free--; in assoc_array_gc() 1621 slot, child->nr_leaves_on_branch, nr_free + 1, in assoc_array_gc() 1631 if (nr_free == ASSOC_ARRAY_FAN_OUT - 1) { in assoc_array_gc()
|