Home
last modified time | relevance | path

Searched refs:whitelist_cache (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/lkdtm/
H A Dusercopy.c23 static struct kmem_cache *whitelist_cache; variable
207 if (!whitelist_cache) { in do_usercopy_heap_whitelist()
215 buf = kmem_cache_alloc(whitelist_cache, GFP_KERNEL); in do_usercopy_heap_whitelist()
267 kmem_cache_free(whitelist_cache, buf); in do_usercopy_heap_whitelist()
342 whitelist_cache = in lkdtm_usercopy_init()
352 kmem_cache_destroy(whitelist_cache); in lkdtm_usercopy_exit()
/kernel/linux/linux-6.6/drivers/misc/lkdtm/
H A Dusercopy.c24 static struct kmem_cache *whitelist_cache; variable
210 if (!whitelist_cache) { in do_usercopy_slab_whitelist()
218 buf = kmem_cache_alloc(whitelist_cache, GFP_KERNEL); in do_usercopy_slab_whitelist()
272 kmem_cache_free(whitelist_cache, buf); in do_usercopy_slab_whitelist()
428 whitelist_cache = in lkdtm_usercopy_init()
438 kmem_cache_destroy(whitelist_cache); in lkdtm_usercopy_exit()

Completed in 2 milliseconds