Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/zip/
Dzip_crypto.c88 struct hisi_zip_req_q req_q; member
254 struct hisi_zip_req_q *req_q; in hisi_zip_create_req_q() local
258 req_q = &ctx->qp_ctx[i].req_q; in hisi_zip_create_req_q()
259 req_q->size = QM_Q_DEPTH; in hisi_zip_create_req_q()
261 req_q->req_bitmap = kcalloc(BITS_TO_LONGS(req_q->size), in hisi_zip_create_req_q()
263 if (!req_q->req_bitmap) { in hisi_zip_create_req_q()
270 rwlock_init(&req_q->req_lock); in hisi_zip_create_req_q()
272 req_q->q = kcalloc(req_q->size, sizeof(struct hisi_zip_req), in hisi_zip_create_req_q()
274 if (!req_q->q) { in hisi_zip_create_req_q()
286 kfree(ctx->qp_ctx[HZIP_QPC_DECOMP].req_q.req_bitmap); in hisi_zip_create_req_q()
[all …]
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_qdio.h38 struct qdio_buffer *req_q[QDIO_MAX_BUFFERS_PER_Q]; member
81 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req()
93 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr()
227 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_data_div()
256 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_scount()
Dzfcp_qdio.c74 zfcp_qdio_zero_sbals(qdio->req_q, idx, count); in zfcp_qdio_int_req()
198 zfcp_qdio_zero_sbals(qdio->req_q, q_req->sbal_first, in zfcp_qdio_sbals_from_sg()
271 zfcp_qdio_zero_sbals(qdio->req_q, q_req->sbal_first, in zfcp_qdio_send()
293 ret = qdio_alloc_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); in zfcp_qdio_allocate()
312 qdio_free_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); in zfcp_qdio_allocate()
342 zfcp_qdio_zero_sbals(qdio->req_q, idx, count); in zfcp_qdio_close()
368 struct qdio_buffer **output_sbals[1] = {qdio->req_q}; in zfcp_qdio_open()
456 qdio_free_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); in zfcp_qdio_destroy()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_mb.c1225 list_add_tail(&mbp->list, &mbm->req_q); in csio_mb_issue()
1629 if (!list_empty(&mbm->req_q)) { in csio_mb_cancel_all()
1630 list_splice_tail_init(&mbm->req_q, cbfn_q); in csio_mb_cancel_all()
1669 INIT_LIST_HEAD(&mbm->req_q); in csio_mbm_init()
1688 CSIO_DB_ASSERT(list_empty(&mbm->req_q)); in csio_mbm_exit()
Dcsio_mb.h135 struct list_head req_q; /* Mbox request queue */ member
Dcsio_hw.c3716 if (!list_empty(&mbm->req_q)) { in csio_mberr_worker()
3717 mbp_next = list_first_entry(&mbm->req_q, struct csio_mb, list); in csio_mberr_worker()
3722 list_add_tail(&mbp_next->list, &mbm->req_q); in csio_mberr_worker()
/kernel/linux/linux-5.10/fs/btrfs/
Dextent-tree.c1299 struct request_queue *req_q; in btrfs_discard_extent() local
1306 req_q = bdev_get_queue(device->bdev); in btrfs_discard_extent()
1307 if (!blk_queue_discard(req_q)) in btrfs_discard_extent()