Home
last modified time | relevance | path

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

/wlan-driver/platform/cnss_prealloc/
Dcnss_prealloc.c45 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()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_mem.h761 static inline void qdf_kmem_cache_destroy(qdf_kmem_cache_t cache) in qdf_kmem_cache_destroy() argument
763 __qdf_kmem_cache_destroy(cache); in qdf_kmem_cache_destroy()
773 static inline void *qdf_kmem_cache_alloc(qdf_kmem_cache_t cache) in qdf_kmem_cache_alloc() argument
775 return __qdf_kmem_cache_alloc(cache); in qdf_kmem_cache_alloc()
785 static inline void qdf_kmem_cache_free(qdf_kmem_cache_t cache, void *node) in qdf_kmem_cache_free() argument
787 __qdf_kmem_cache_free(cache, node); in qdf_kmem_cache_free()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_mem.h272 void __qdf_kmem_cache_destroy(qdf_kmem_cache_t cache);
281 void *__qdf_kmem_cache_alloc(qdf_kmem_cache_t cache);
290 void __qdf_kmem_cache_free(qdf_kmem_cache_t cache, void *node);
Dqdf_mem.c3131 struct kmem_cache *cache; in __qdf_kmem_cache_create() local
3133 cache = kmem_cache_create(cache_name, size, in __qdf_kmem_cache_create()
3136 if (!cache) in __qdf_kmem_cache_create()
3139 return cache; in __qdf_kmem_cache_create()
3144 __qdf_kmem_cache_destroy(qdf_kmem_cache_t cache) in __qdf_kmem_cache_destroy() argument
3146 kmem_cache_destroy(cache); in __qdf_kmem_cache_destroy()
3152 __qdf_kmem_cache_alloc(qdf_kmem_cache_t cache) in __qdf_kmem_cache_alloc() argument
3159 return kmem_cache_alloc(cache, flags); in __qdf_kmem_cache_alloc()
3165 __qdf_kmem_cache_free(qdf_kmem_cache_t cache, void *node) in __qdf_kmem_cache_free() argument
3168 kmem_cache_free(cache, node); in __qdf_kmem_cache_free()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_main.c10759 struct hdd_adapter *cache[HDD_MAX_ADAPTERS]; in hdd_adapter_iterate() local
10774 cache[n_cache++] = adapter; in hdd_adapter_iterate()
10779 adapter = hdd_adapter_get_by_reference(hdd_ctx, cache[i]); in hdd_adapter_iterate()