Lines Matching refs:pool
63 struct objpool_head *pool; /* pool head */ member
127 struct objpool_head pool; /* objpool head */ member
152 on->owner = &sop->pool; in ot_init_node()
199 struct objpool_head *pool, in ot_init_cpu_item() argument
203 item->pool = pool; in ot_init_cpu_item()
297 if (objpool_init(&sop->pool, max, test->objsz, in ot_init_sync_m0()
302 WARN_ON(max != sop->pool.nr_objs); in ot_init_sync_m0()
309 objpool_fini(&sop->pool); in ot_fini_sync()
330 nods[i] = objpool_pop(item->pool); in ot_bulk_sync()
339 objpool_push(on, item->pool); in ot_bulk_sync()
367 ot_init_cpu_item(item, test, &sop->pool, ot_bulk_sync); in ot_start_sync()
427 objpool_fini(&sop->pool); in ot_fini_async_rcu()
441 WARN_ON(!head || !sop || head != &sop->pool); in ot_objpool_release()
463 if (objpool_init(&sop->pool, max, test->objsz, gfp, sop, in ot_init_async_m0()
468 WARN_ON(max != sop->pool.nr_objs); in ot_init_async_m0()
480 static void ot_nod_recycle(struct ot_node *on, struct objpool_head *pool, in ot_nod_recycle() argument
489 objpool_push(on, pool); in ot_nod_recycle()
493 sop = container_of(pool, struct ot_context, pool); in ot_nod_recycle()
494 WARN_ON(sop != pool->context); in ot_nod_recycle()
497 objpool_drop(on, pool); in ot_nod_recycle()
507 nods[i] = objpool_pop(item->pool); in ot_bulk_async()
523 ot_nod_recycle(on, item->pool, stop); in ot_bulk_async()
554 ot_init_cpu_item(item, test, &sop->pool, ot_bulk_async); in ot_start_async()