Lines Matching refs:cache
45 struct kmem_cache *cache; member
129 cnss_pools[i].cache = in cnss_pool_init()
134 if (!cnss_pools[i].cache) { in cnss_pool_init()
143 mempool_free_slab, cnss_pools[i].cache); in cnss_pool_init()
148 kmem_cache_destroy(cnss_pools[i].cache); in cnss_pool_init()
149 cnss_pools[i].cache = NULL; in cnss_pool_init()
179 kmem_cache_destroy(cnss_pools[i].cache); in cnss_pool_deinit()
181 cnss_pools[i].cache = NULL; in cnss_pool_deinit()
236 struct kmem_cache *cache; in cnss_pool_get_index() local
247 cache = slab->slab_cache; in cnss_pool_get_index()
248 if (!cache) in cnss_pool_get_index()
253 if (cnss_pools[i].cache == cache) in cnss_pool_get_index()
263 struct kmem_cache *cache; in cnss_pool_get_index() local
274 cache = page->slab_cache; in cnss_pool_get_index()
275 if (!cache) in cnss_pool_get_index()
280 if (cnss_pools[i].cache == cache) in cnss_pool_get_index()