Home
last modified time | relevance | path

Searched refs:req_pool (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dsnic_io.c242 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()
H A Dsnic_main.c265 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()
H A Dsnic.h305 mempool_t *req_pool[SNIC_REQ_MAX_CACHES]; /* (??) */ member
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_io.c228 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 Dsnic_main.c251 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()
H A Dsnic.h291 mempool_t *req_pool[SNIC_REQ_MAX_CACHES]; /* (??) */ member
/kernel/linux/linux-5.10/fs/verity/
H A Dhash_algs.c92 err = mempool_init_kmalloc_pool(&alg->req_pool, 1, in fsverity_get_hash_alg()
128 struct ahash_request *req = mempool_alloc(&alg->req_pool, gfp_flags); in fsverity_alloc_hash_request()
145 mempool_free(req, &alg->req_pool); in fsverity_free_hash_request()
H A Dfsverity_private.h42 mempool_t req_pool; /* mempool with a preallocated hash request */ member
/kernel/linux/linux-5.10/drivers/crypto/
H A Dpicoxcell_crypto.c128 struct dma_pool *req_pool; member
296 ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, ddt_phys); in spacc_sg_to_ddt()
345 src_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->src_addr); in spacc_aead_make_ddts()
349 dst_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->dst_addr); in spacc_aead_make_ddts()
404 dma_pool_free(engine->req_pool, dst_ddt, req->dst_addr); in spacc_aead_make_ddts()
406 dma_pool_free(engine->req_pool, src_ddt, req->src_addr); in spacc_aead_make_ddts()
439 dma_pool_free(engine->req_pool, req->src_ddt, req->src_addr); in spacc_aead_free_ddts()
440 dma_pool_free(engine->req_pool, req->dst_ddt, req->dst_addr); in spacc_aead_free_ddts()
455 dma_pool_free(req->engine->req_pool, ddt, ddt_addr); in spacc_free_ddt()
1669 engine->req_pool in spacc_probe()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
H A Dhwa742.c100 struct hwa742_request req_pool[REQ_POOL_SIZE]; member
1001 for (i = 0; i < ARRAY_SIZE(hwa742.req_pool); i++) in hwa742_init()
1002 list_add(&hwa742.req_pool[i].entry, &hwa742.free_req_list); in hwa742_init()
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/
H A Dhwa742.c100 struct hwa742_request req_pool[REQ_POOL_SIZE]; member
1014 for (i = 0; i < ARRAY_SIZE(hwa742.req_pool); i++) in hwa742_init()
1015 list_add(&hwa742.req_pool[i].entry, &hwa742.free_req_list); in hwa742_init()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-crypt.c215 mempool_t req_pool; member
1465 ctx->r.req = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_skcipher()
1487 ctx->r.req_aead = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_aead()
1520 mempool_free(req, &cc->req_pool); in crypt_free_req_skcipher()
1529 mempool_free(req, &cc->req_pool); in crypt_free_req_aead()
2696 mempool_exit(&cc->req_pool); in crypt_dtr()
3230 ret = mempool_init_kmalloc_pool(&cc->req_pool, MIN_IOS, cc->dmreq_start + additional_req_size); in crypt_ctr()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-crypt.c222 mempool_t req_pool; member
1486 ctx->r.req = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_skcipher()
1508 ctx->r.req_aead = mempool_alloc(&cc->req_pool, in_interrupt() ? GFP_ATOMIC : GFP_NOIO); in crypt_alloc_req_aead()
1541 mempool_free(req, &cc->req_pool); in crypt_free_req_skcipher()
1550 mempool_free(req, &cc->req_pool); in crypt_free_req_aead()
2781 mempool_exit(&cc->req_pool); in crypt_dtr()
3316 ret = mempool_init_kmalloc_pool(&cc->req_pool, MIN_IOS, cc->dmreq_start + additional_req_size); in crypt_ctr()

Completed in 22 milliseconds