Lines Matching refs:cache_destructor
1749 if (test_destructor && cp->cache_destructor != NULL) { in kmem_slab_alloc()
1758 cp->cache_destructor(buf, cp->cache_private); in kmem_slab_alloc()
1955 if (!construct && cp->cache_destructor != NULL) in kmem_cache_alloc_debug()
1956 cp->cache_destructor(buf, cp->cache_private); in kmem_cache_alloc_debug()
2030 else if (cp->cache_destructor != NULL) in kmem_cache_free_debug()
2031 cp->cache_destructor(buf, cp->cache_private); in kmem_cache_free_debug()
2060 cp->cache_destructor != NULL) { in kmem_magazine_destroy()
2063 cp->cache_destructor(buf, cp->cache_private); in kmem_magazine_destroy()
2066 } else if (cp->cache_destructor != NULL) { in kmem_magazine_destroy()
2067 cp->cache_destructor(buf, cp->cache_private); in kmem_magazine_destroy()
2573 cp->cache_destructor != NULL) { in kmem_slab_free_constructed()
2577 cp->cache_destructor(buf, cp->cache_private); in kmem_slab_free_constructed()
2580 cp->cache_destructor(buf, cp->cache_private); in kmem_slab_free_constructed()
3847 cp->cache_destructor = destructor; in kmem_cache_create()
4150 cp->cache_destructor = (void (*)(void *, void *))2; in kmem_cache_destroy()