Searched refs:req_pool (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/scsi/snic/ |
| H A D | snic_io.c | 228 rqi = mempool_alloc(snic->req_pool[typ], GFP_ATOMIC); in snic_req_init() 283 req = mempool_alloc(snic->req_pool[SNIC_REQ_TM_CACHE], GFP_ATOMIC); in snic_abort_req_init() 309 req = mempool_alloc(snic->req_pool[SNIC_REQ_TM_CACHE], GFP_ATOMIC); in snic_dr_req_init() 345 mempool_free(rqi->abort_req, snic->req_pool[SNIC_REQ_TM_CACHE]); in snic_req_free() 355 mempool_free(rqi->dr_req, snic->req_pool[SNIC_REQ_TM_CACHE]); in snic_req_free() 364 mempool_free(rqi, snic->req_pool[rqi->rq_pool_type]); in snic_req_free()
|
| H A D | snic_main.c | 251 mempool_destroy(snic->req_pool[i]); in snic_cleanup() 558 snic->req_pool[SNIC_REQ_CACHE_DFLT_SGL] = pool; in snic_probe() 569 snic->req_pool[SNIC_REQ_CACHE_MAX_SGL] = pool; in snic_probe() 580 snic->req_pool[SNIC_REQ_TM_CACHE] = pool; in snic_probe() 694 mempool_destroy(snic->req_pool[SNIC_REQ_TM_CACHE]); in snic_probe() 697 mempool_destroy(snic->req_pool[SNIC_REQ_CACHE_MAX_SGL]); in snic_probe() 700 mempool_destroy(snic->req_pool[SNIC_REQ_CACHE_DFLT_SGL]); in snic_probe()
|
| /linux/drivers/md/ |
| H A D | dm-crypt.c | 230 mempool_t req_pool; member 1437 ctx->r.req = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_skcipher() 1459 ctx->r.req_aead = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_aead() 1492 mempool_free(req, &cc->req_pool); in crypt_free_req_skcipher() 1501 mempool_free(req, &cc->req_pool); in crypt_free_req_aead() 2718 mempool_exit(&cc->req_pool); in crypt_dtr() 3263 ret = mempool_init_kmalloc_pool(&cc->req_pool, MIN_IOS, cc->dmreq_start + additional_req_size); in crypt_ctr()
|