Searched refs:req_pool (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/scsi/snic/ |
D | snic_io.c | 242 rqi = mempool_alloc(snic->req_pool[typ], GFP_ATOMIC); in snic_req_init() 297 req = mempool_alloc(snic->req_pool[SNIC_REQ_TM_CACHE], GFP_ATOMIC); in snic_abort_req_init() 323 req = mempool_alloc(snic->req_pool[SNIC_REQ_TM_CACHE], GFP_ATOMIC); in snic_dr_req_init() 359 mempool_free(rqi->abort_req, snic->req_pool[SNIC_REQ_TM_CACHE]); in snic_req_free() 369 mempool_free(rqi->dr_req, snic->req_pool[SNIC_REQ_TM_CACHE]); in snic_req_free() 378 mempool_free(rqi, snic->req_pool[rqi->rq_pool_type]); in snic_req_free()
|
D | snic_main.c | 265 mempool_destroy(snic->req_pool[i]); in snic_cleanup() 572 snic->req_pool[SNIC_REQ_CACHE_DFLT_SGL] = pool; in snic_probe() 583 snic->req_pool[SNIC_REQ_CACHE_MAX_SGL] = pool; in snic_probe() 594 snic->req_pool[SNIC_REQ_TM_CACHE] = pool; in snic_probe() 708 mempool_destroy(snic->req_pool[SNIC_REQ_TM_CACHE]); in snic_probe() 711 mempool_destroy(snic->req_pool[SNIC_REQ_CACHE_MAX_SGL]); in snic_probe() 714 mempool_destroy(snic->req_pool[SNIC_REQ_CACHE_DFLT_SGL]); in snic_probe()
|
D | snic.h | 305 mempool_t *req_pool[SNIC_REQ_MAX_CACHES]; /* (??) */ member
|
/linux-5.19.10/fs/verity/ |
D | hash_algs.c | 90 err = mempool_init_kmalloc_pool(&alg->req_pool, 1, in fsverity_get_hash_alg() 126 struct ahash_request *req = mempool_alloc(&alg->req_pool, gfp_flags); in fsverity_alloc_hash_request() 143 mempool_free(req, &alg->req_pool); in fsverity_free_hash_request()
|
D | fsverity_private.h | 34 mempool_t req_pool; /* mempool with a preallocated hash request */ member
|
/linux-5.19.10/drivers/video/fbdev/omap/ |
D | hwa742.c | 100 struct hwa742_request req_pool[REQ_POOL_SIZE]; member 1015 for (i = 0; i < ARRAY_SIZE(hwa742.req_pool); i++) in hwa742_init() 1016 list_add(&hwa742.req_pool[i].entry, &hwa742.free_req_list); in hwa742_init()
|
/linux-5.19.10/drivers/md/ |
D | dm-crypt.c | 217 mempool_t req_pool; member 1470 ctx->r.req = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_skcipher() 1492 ctx->r.req_aead = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_aead() 1525 mempool_free(req, &cc->req_pool); in crypt_free_req_skcipher() 1534 mempool_free(req, &cc->req_pool); in crypt_free_req_aead() 2710 mempool_exit(&cc->req_pool); in crypt_dtr() 3245 ret = mempool_init_kmalloc_pool(&cc->req_pool, MIN_IOS, cc->dmreq_start + additional_req_size); in crypt_ctr()
|