Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_main.c38 static struct kmem_cache *fnic_sgl_cache[FNIC_SGL_NUM_CACHES]; variable
764 pool = mempool_create_slab_pool(2, fnic_sgl_cache[FNIC_SGL_CACHE_DFLT]); in fnic_probe()
769 pool = mempool_create_slab_pool(2, fnic_sgl_cache[FNIC_SGL_CACHE_MAX]); in fnic_probe()
1078 fnic_sgl_cache[FNIC_SGL_CACHE_DFLT] = kmem_cache_create in fnic_init_module()
1082 if (!fnic_sgl_cache[FNIC_SGL_CACHE_DFLT]) { in fnic_init_module()
1090 fnic_sgl_cache[FNIC_SGL_CACHE_MAX] = kmem_cache_create in fnic_init_module()
1094 if (!fnic_sgl_cache[FNIC_SGL_CACHE_MAX]) { in fnic_init_module()
1148 kmem_cache_destroy(fnic_sgl_cache[FNIC_SGL_CACHE_MAX]); in fnic_init_module()
1150 kmem_cache_destroy(fnic_sgl_cache[FNIC_SGL_CACHE_DFLT]); in fnic_init_module()
1164 kmem_cache_destroy(fnic_sgl_cache[FNIC_SGL_CACHE_MAX]); in fnic_cleanup_module()
[all …]