Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H 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()
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()
/openbmc/linux/drivers/md/
H 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()