Searched refs:cachep (Results 1 – 2 of 2) sorted by relevance
/drivers/scsi/snic/ |
D | snic_main.c | 853 struct kmem_cache *cachep; in snic_global_data_init() local 891 cachep = kmem_cache_create("snic_req_dfltsgl", len, SNIC_SG_DESC_ALIGN, in snic_global_data_init() 893 if (!cachep) { in snic_global_data_init() 899 snic_glob->req_cache[SNIC_REQ_CACHE_DFLT_SGL] = cachep; in snic_global_data_init() 904 cachep = kmem_cache_create("snic_req_maxsgl", len, SNIC_SG_DESC_ALIGN, in snic_global_data_init() 906 if (!cachep) { in snic_global_data_init() 912 snic_glob->req_cache[SNIC_REQ_CACHE_MAX_SGL] = cachep; in snic_global_data_init() 915 cachep = kmem_cache_create("snic_req_maxsgl", len, SNIC_SG_DESC_ALIGN, in snic_global_data_init() 917 if (!cachep) { in snic_global_data_init() 923 snic_glob->req_cache[SNIC_REQ_TM_CACHE] = cachep; in snic_global_data_init()
|
/drivers/md/ |
D | dm.c | 3557 struct kmem_cache *cachep = NULL; in dm_alloc_md_mempools() local 3568 cachep = _io_cache; in dm_alloc_md_mempools() 3573 cachep = _rq_tio_cache; in dm_alloc_md_mempools() 3590 if (cachep) { in dm_alloc_md_mempools() 3591 pools->io_pool = mempool_create_slab_pool(pool_size, cachep); in dm_alloc_md_mempools()
|