Searched refs:slot (Results 1 – 13 of 13) sorted by relevance
/lib/ |
A D | objpool.c | 20 struct objpool_slot *slot, in objpool_init_percpu_slot() argument 28 slot->mask = pool->capacity - 1; in objpool_init_percpu_slot() 36 slot->entries[slot->tail & slot->mask] = obj; in objpool_init_percpu_slot() 38 slot->tail++; in objpool_init_percpu_slot() 39 slot->last = slot->tail; in objpool_init_percpu_slot() 55 struct objpool_slot *slot; in objpool_init_percpu_slots() local 81 slot = NULL; in objpool_init_percpu_slots() 87 if (!slot) { in objpool_init_percpu_slots() 89 if (!slot) in objpool_init_percpu_slots() 92 memset(slot, 0, size); in objpool_init_percpu_slots() [all …]
|
A D | assoc_array.c | 41 slot = 0; in assoc_array_subtree_iterate() 51 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_subtree_iterate() 80 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_subtree_iterate() 106 slot++; in assoc_array_subtree_iterate() 220 result->terminal_node.slot = slot; in assoc_array_walk() 323 for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_find() 381 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_destroy_subtree() 1107 for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_delete() 1548 for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_gc() 1560 for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_gc() [all …]
|
A D | radix-tree.c | 643 *slotp = slot; in __radix_tree_create() 684 if (*slot) in insert_entries() 707 void __rcu **slot; in radix_tree_insert() local 753 void __rcu **slot; in __radix_tree_lookup() local 777 *slotp = slot; in __radix_tree_lookup() 797 void __rcu **slot; in radix_tree_lookup_slot() local 801 return slot; in radix_tree_lookup_slot() 1210 if (slot) in radix_tree_next_chunk() 1266 void __rcu **slot; in radix_tree_gang_lookup() local 1421 if (!slot) in radix_tree_delete_item() [all …]
|
A D | idr.c | 37 void __rcu **slot; in idr_alloc_u32() local 47 if (IS_ERR(slot)) in idr_alloc_u32() 48 return PTR_ERR(slot); in idr_alloc_u32() 199 void __rcu **slot; in idr_for_each() local 208 ret = fn(id, rcu_dereference_raw(*slot), data); in idr_for_each() 230 void __rcu **slot; in idr_get_next_ul() local 237 entry = rcu_dereference_raw(*slot); in idr_get_next_ul() 244 slot = radix_tree_iter_retry(&iter); in idr_get_next_ul() 246 if (!slot) in idr_get_next_ul() 293 void __rcu **slot = NULL; in idr_replace() local [all …]
|
A D | iov_iter.c | 540 slot = 0; in iov_iter_folioq_advance() 550 slot++; in iov_iter_folioq_advance() 553 slot = 0; in iov_iter_folioq_advance() 590 if (slot == 0) { in iov_iter_folioq_revert() 594 slot--; in iov_iter_folioq_revert() 1007 slot = 0; in iter_folioq_get_pages() 1040 slot++; in iter_folioq_get_pages() 1043 slot = 0; in iter_folioq_get_pages() 1595 slot = 0; in iov_iter_extract_folioq_pages() 1627 slot++; in iov_iter_extract_folioq_pages() [all …]
|
A D | maple_tree.c | 779 return mn->slot; in ma_slots() 1808 memmove(b_node->slot + shift, b_node->slot, size); in mab_shift_right() 2075 unsigned char slot; in mas_store_b_node() local 2083 slot = mas->offset; in mas_store_b_node() 2084 if (slot) { in mas_store_b_node() 2440 (*slot)++; in mas_set_split_parent() 2485 unsigned char slot; in mast_set_split_parents() local 3425 int slot = 0; in mas_root_expand() local 3438 slot++; in mas_root_expand() 4968 if (!slot) in mas_rewind_node() [all …]
|
A D | lru_cache.c | 81 struct hlist_head *slot = NULL; in lc_create() local 97 slot = kcalloc(e_count, sizeof(struct hlist_head), GFP_KERNEL); in lc_create() 98 if (!slot) in lc_create() 120 lc->lc_slot = slot; in lc_create() 146 kfree(slot); in lc_create()
|
A D | scatterlist.c | 1258 unsigned int slot = iter->folioq_slot; in extract_folioq_to_sg() local 1264 if (slot >= folioq_nr_slots(folioq)) { in extract_folioq_to_sg() 1268 slot = 0; in extract_folioq_to_sg() 1272 struct folio *folio = folioq_folio(folioq, slot); in extract_folioq_to_sg() 1273 size_t fsize = folioq_folio_size(folioq, slot); in extract_folioq_to_sg() 1288 slot++; in extract_folioq_to_sg() 1289 if (slot >= folioq_nr_slots(folioq)) { in extract_folioq_to_sg() 1295 slot = 0; in extract_folioq_to_sg() 1301 iter->folioq_slot = slot; in extract_folioq_to_sg()
|
A D | rhashtable.c | 681 iter->slot = 0; in rhashtable_walk_enter() 743 iter->slot = 0; in rhashtable_walk_start_check() 755 rht_for_each_rcu(p, iter->walker.tbl, iter->slot) { in rhashtable_walk_start_check() 770 rht_for_each_rcu(p, iter->walker.tbl, iter->slot) { in rhashtable_walk_start_check() 810 for (; iter->slot < tbl->size; iter->slot++) { in __rhashtable_walk_find_next() 813 rht_for_each_rcu(p, tbl, iter->slot) { in __rhashtable_walk_find_next() 849 iter->slot = 0; in __rhashtable_walk_find_next() 894 iter->slot++; in rhashtable_walk_next()
|
A D | xarray.c | 651 void __rcu **slot; in xas_create() local 667 slot = &xa->xa_head; in xas_create() 675 slot = &node->slots[offset]; in xas_create() 679 slot = &xa->xa_head; in xas_create() 690 rcu_assign_pointer(*slot, xa_mk_node(node)); in xas_create() 697 slot = &node->slots[xas->xa_offset]; in xas_create() 786 void __rcu **slot = &xas->xa->xa_head; in xas_store() local 812 slot = &node->slots[offset]; in xas_store() 827 rcu_assign_pointer(*slot, entry); in xas_store() 849 slot++; in xas_store() [all …]
|
A D | Kconfig.kcsan | 95 specific watchpoint slot as specified in kernel/kcsan/encoding.h.
|
A D | test_maple_tree.c | 219 for (i = 0; i < ARRAY_SIZE(node->slot); i++) in not_empty() 220 if (node->slot[i]) in not_empty()
|
/lib/xz/ |
A D | xz_dec_bcj.c | 204 uint32_t slot; in bcj_ia64() local 229 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64() 230 if (((mask >> slot) & 1) == 0) in bcj_ia64()
|
Completed in 49 milliseconds