Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/lkdtm/
H A Dheap.c11 static struct kmem_cache *double_free_cache; variable
261 val = kmem_cache_alloc(double_free_cache, GFP_KERNEL); in lkdtm_SLAB_FREE_DOUBLE()
270 kmem_cache_free(double_free_cache, val); in lkdtm_SLAB_FREE_DOUBLE()
271 kmem_cache_free(double_free_cache, val); in lkdtm_SLAB_FREE_DOUBLE()
312 double_free_cache = kmem_cache_create("lkdtm-heap-double_free", in lkdtm_heap_init()
320 kmem_cache_destroy(double_free_cache); in lkdtm_heap_exit()