Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ksmbd/
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-v5.15/drivers/md/
Ddm-cache-background-tracker.c29 struct kmem_cache *work_cache; member
50 b->work_cache = KMEM_CACHE(bt_work, 0); in btracker_create()
51 if (!b->work_cache) { in btracker_create()
63 kmem_cache_destroy(b->work_cache); in btracker_destroy()
174 return kmem_cache_alloc(b->work_cache, GFP_NOWAIT); in alloc_work()
197 kmem_cache_free(b->work_cache, w); in btracker_queue()
238 kmem_cache_free(b->work_cache, w); in btracker_complete()