Home
last modified time | relevance | path

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

/linux/lib/
H A Dobjpool.c93 pool->cpu_slots[i] = slot; in objpool_init_percpu_slots()
109 if (!pool->cpu_slots) in objpool_fini_percpu_slots()
113 kvfree(pool->cpu_slots[i]); in objpool_fini_percpu_slots()
114 kfree(pool->cpu_slots); in objpool_fini_percpu_slots()
146 pool->cpu_slots = kzalloc(slot_size, pool->gfp); in objpool_init()
147 if (!pool->cpu_slots) in objpool_init()
164 if (!pool->cpu_slots) in objpool_free()
/linux/include/linux/
H A Dobjpool.h93 struct objpool_slot **cpu_slots; member
128 struct objpool_slot *slot = pool->cpu_slots[cpu]; in __objpool_try_get_slot()
194 struct objpool_slot *slot = pool->cpu_slots[cpu]; in __objpool_try_add_slot()