Searched refs:slot (Results 1 – 7 of 7) sorted by relevance
/lib/ |
D | assoc_array.c | 29 int slot, ret; in assoc_array_subtree_iterate() local 41 slot = 0; in assoc_array_subtree_iterate() 51 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_subtree_iterate() 52 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_subtree_iterate() 76 slot = 0; in assoc_array_subtree_iterate() 80 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_subtree_iterate() 81 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_subtree_iterate() 91 slot = node->parent_slot; in assoc_array_subtree_iterate() 99 slot = shortcut->parent_slot; in assoc_array_subtree_iterate() 106 slot++; in assoc_array_subtree_iterate() [all …]
|
D | radix-tree.c | 89 get_slot_offset(const struct radix_tree_node *parent, void __rcu **slot) in get_slot_offset() argument 91 return parent ? slot - parent->slots : 0; in get_slot_offset() 612 void __rcu **slot = (void __rcu **)&root->xa_head; in __radix_tree_create() local 637 rcu_assign_pointer(*slot, node_to_entry(child)); in __radix_tree_create() 646 slot = &node->slots[offset]; in __radix_tree_create() 652 *slotp = slot; in __radix_tree_create() 691 void __rcu **slot, void *item, bool replace) in insert_entries() argument 693 if (*slot) in insert_entries() 695 rcu_assign_pointer(*slot, item); in insert_entries() 716 void __rcu **slot; in radix_tree_insert() local [all …]
|
D | idr.c | 37 void __rcu **slot; in idr_alloc_u32() local 46 slot = idr_get_free(&idr->idr_rt, &iter, gfp, max - base); in idr_alloc_u32() 47 if (IS_ERR(slot)) in idr_alloc_u32() 48 return PTR_ERR(slot); in idr_alloc_u32() 52 radix_tree_iter_replace(&idr->idr_rt, &iter, slot, ptr); in idr_alloc_u32() 199 void __rcu **slot; in idr_for_each() local 202 radix_tree_for_each_slot(slot, &idr->idr_rt, &iter, 0) { in idr_for_each() 208 ret = fn(id, rcu_dereference_raw(*slot), data); in idr_for_each() 230 void __rcu **slot; in idr_get_next_ul() local 236 radix_tree_for_each_slot(slot, &idr->idr_rt, &iter, id) { in idr_get_next_ul() [all …]
|
D | lru_cache.c | 91 struct hlist_head *slot = NULL; in lc_create() local 107 slot = kcalloc(e_count, sizeof(struct hlist_head), GFP_KERNEL); in lc_create() 108 if (!slot) in lc_create() 130 lc->lc_slot = slot; in lc_create() 156 kfree(slot); in lc_create()
|
D | rhashtable.c | 662 iter->slot = 0; in rhashtable_walk_enter() 724 iter->slot = 0; in rhashtable_walk_start_check() 736 rht_for_each_rcu(p, iter->walker.tbl, iter->slot) { in rhashtable_walk_start_check() 751 rht_for_each_rcu(p, iter->walker.tbl, iter->slot) { in rhashtable_walk_start_check() 791 for (; iter->slot < tbl->size; iter->slot++) { in __rhashtable_walk_find_next() 794 rht_for_each_rcu(p, tbl, iter->slot) { in __rhashtable_walk_find_next() 830 iter->slot = 0; in __rhashtable_walk_find_next() 875 iter->slot++; in rhashtable_walk_next()
|
D | xarray.c | 639 void __rcu **slot; in xas_create() local 655 slot = &xa->xa_head; in xas_create() 663 slot = &node->slots[offset]; in xas_create() 667 slot = &xa->xa_head; in xas_create() 678 rcu_assign_pointer(*slot, xa_mk_node(node)); in xas_create() 685 slot = &node->slots[xas->xa_offset]; in xas_create() 772 void __rcu **slot = &xas->xa->xa_head; in xas_store() local 798 slot = &node->slots[offset]; in xas_store() 813 rcu_assign_pointer(*slot, entry); in xas_store() 835 slot++; in xas_store()
|
/lib/xz/ |
D | xz_dec_bcj.c | 201 uint32_t slot; in bcj_ia64() local 224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64() 225 if (((mask >> slot) & 1) == 0) in bcj_ia64()
|