Home
last modified time | relevance | path

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

/drivers/crypto/hisilicon/zip/
Dzip_crypto.c93 struct hisi_zip_req_q req_q; member
221 struct hisi_zip_req_q *req_q = &qp_ctx->req_q; in hisi_zip_create_req() local
222 struct hisi_zip_req *q = req_q->q; in hisi_zip_create_req()
226 write_lock(&req_q->req_lock); in hisi_zip_create_req()
228 req_id = find_first_zero_bit(req_q->req_bitmap, req_q->size); in hisi_zip_create_req()
229 if (req_id >= req_q->size) { in hisi_zip_create_req()
230 write_unlock(&req_q->req_lock); in hisi_zip_create_req()
234 set_bit(req_id, req_q->req_bitmap); in hisi_zip_create_req()
236 write_unlock(&req_q->req_lock); in hisi_zip_create_req()
256 struct hisi_zip_req_q *req_q = &qp_ctx->req_q; in hisi_zip_remove_req() local
[all …]
/drivers/s390/scsi/
Dzfcp_qdio.h42 struct qdio_buffer *req_q[QDIO_MAX_BUFFERS_PER_Q]; member
88 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req()
100 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr()
234 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_data_div()
263 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_scount()
Dzfcp_qdio.c88 zfcp_qdio_zero_sbals(qdio->req_q, start, completed); in zfcp_qdio_request_tasklet()
255 zfcp_qdio_zero_sbals(qdio->req_q, q_req->sbal_first, in zfcp_qdio_sbals_from_sg()
336 zfcp_qdio_zero_sbals(qdio->req_q, q_req->sbal_first, in zfcp_qdio_send()
364 ret = qdio_alloc_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); in zfcp_qdio_allocate()
383 qdio_free_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); in zfcp_qdio_allocate()
420 zfcp_qdio_zero_sbals(qdio->req_q, idx, count); in zfcp_qdio_close()
446 struct qdio_buffer **output_sbals[1] = {qdio->req_q}; in zfcp_qdio_open()
543 qdio_free_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); in zfcp_qdio_destroy()
/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()