Searched refs:q_req (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/s390/scsi/ |
D | zfcp_qdio.h | 79 zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_req() argument 81 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req() 91 zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_curr() argument 93 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr() 110 void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_req_init() argument 117 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init() 118 q_req->sbal_number = 1; in zfcp_qdio_req_init() 119 q_req->sbtype = sbtype; in zfcp_qdio_req_init() 120 q_req->sbale_curr = 1; in zfcp_qdio_req_init() 121 q_req->sbal_limit = (q_req->sbal_first + count - 1) in zfcp_qdio_req_init() [all …]
|
D | zfcp_qdio.c | 135 zfcp_qdio_sbal_chain(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbal_chain() argument 140 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain() 144 if (q_req->sbal_last == q_req->sbal_limit) in zfcp_qdio_sbal_chain() 148 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_sbal_chain() 152 q_req->sbal_last++; in zfcp_qdio_sbal_chain() 153 q_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q; in zfcp_qdio_sbal_chain() 156 q_req->sbal_number++; in zfcp_qdio_sbal_chain() 157 BUG_ON(q_req->sbal_number > ZFCP_QDIO_MAX_SBALS_PER_REQ); in zfcp_qdio_sbal_chain() 160 q_req->sbale_curr = 0; in zfcp_qdio_sbal_chain() 163 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain() [all …]
|
D | zfcp_fsf.c | 1003 struct zfcp_qdio_req *q_req, in zfcp_fsf_setup_ct_els_unchained() argument 1007 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained() 1008 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_resp), sg_resp->length); in zfcp_fsf_setup_ct_els_unchained() 1009 zfcp_qdio_set_sbale_last(qdio, q_req); in zfcp_fsf_setup_ct_els_unchained()
|