Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/server/
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()
35 kmem_cache_free(work_cache, work); in ksmbd_alloc_work_struct()
64 kmem_cache_free(work_cache, work); in ksmbd_free_work_struct()
69 kmem_cache_destroy(work_cache); in ksmbd_work_pool_destroy()
74 work_cache = kmem_cache_create("ksmbd_work_cache", in ksmbd_work_pool_init()
77 if (!work_cache) in ksmbd_work_pool_init()
/linux-6.6.21/drivers/md/
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()