Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/ksmbd/
A Dksmbd_work.c16 static struct kmem_cache *work_cache; variable
21 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()
/linux-6.3-rc2/drivers/md/
A Ddm-cache-background-tracker.c30 struct kmem_cache *work_cache; member
51 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