Searched refs:cache_destructor (Results 1 – 4 of 4) sorted by relevance
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()[all …]
1769 if (cp->cache_destructor != NULL) in umem_cache_free_debug()1770 cp->cache_destructor(buf, cp->cache_private); in umem_cache_free_debug()1799 cp->cache_destructor != NULL) in umem_magazine_destroy()1800 cp->cache_destructor(buf, cp->cache_private); in umem_magazine_destroy()2121 if (!(cp->cache_flags & UMF_BUFTAG) && cp->cache_destructor != NULL) in _umem_cache_free()2122 cp->cache_destructor(buf, cp->cache_private); in _umem_cache_free()2785 cp->cache_destructor = destructor; in umem_cache_create()2989 cp->cache_destructor = (umem_destructor_t *)2; in umem_cache_destroy()
288 umem_destructor_t *cache_destructor; member
365 void (*cache_destructor)(void *, void *); member