Searched refs:work_cache (Results 1 – 2 of 2) sorted by relevance
16 static struct kmem_cache *work_cache; variable21 struct ksmbd_work *work = kmem_cache_zalloc(work_cache, GFP_KERNEL); in ksmbd_alloc_work_struct()44 kmem_cache_free(work_cache, work); in ksmbd_free_work_struct()49 kmem_cache_destroy(work_cache); in ksmbd_work_pool_destroy()54 work_cache = kmem_cache_create("ksmbd_work_cache", in ksmbd_work_pool_init()57 if (!work_cache) in ksmbd_work_pool_init()
30 struct kmem_cache *work_cache; member51 b->work_cache = KMEM_CACHE(bt_work, 0); in btracker_create()52 if (!b->work_cache) { in btracker_create()69 kmem_cache_free(b->work_cache, w); in btracker_destroy()72 kmem_cache_destroy(b->work_cache); in btracker_destroy()183 return kmem_cache_alloc(b->work_cache, GFP_NOWAIT); in alloc_work()206 kmem_cache_free(b->work_cache, w); in btracker_queue()247 kmem_cache_free(b->work_cache, w); in btracker_complete()
Completed in 6 milliseconds