Searched refs:q_req (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/s390/scsi/ |
D | zfcp_qdio.h | 86 zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_req() argument 88 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req() 98 zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_curr() argument 100 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr() 117 void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_req_init() argument 124 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init() 125 q_req->sbal_number = 1; in zfcp_qdio_req_init() 126 q_req->sbtype = sbtype; in zfcp_qdio_req_init() 127 q_req->sbale_curr = 1; in zfcp_qdio_req_init() 128 q_req->sbal_limit = (q_req->sbal_first + count - 1) in zfcp_qdio_req_init() [all …]
|
D | zfcp_qdio.c | 192 zfcp_qdio_sbal_chain(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbal_chain() argument 197 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain() 201 if (q_req->sbal_last == q_req->sbal_limit) in zfcp_qdio_sbal_chain() 205 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_sbal_chain() 209 q_req->sbal_last++; in zfcp_qdio_sbal_chain() 210 q_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q; in zfcp_qdio_sbal_chain() 213 q_req->sbal_number++; in zfcp_qdio_sbal_chain() 214 BUG_ON(q_req->sbal_number > ZFCP_QDIO_MAX_SBALS_PER_REQ); in zfcp_qdio_sbal_chain() 217 q_req->sbale_curr = 0; in zfcp_qdio_sbal_chain() 220 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain() [all …]
|
D | zfcp_fsf.c | 1132 struct zfcp_qdio_req *q_req, in zfcp_fsf_setup_ct_els_unchained() argument 1136 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained() 1137 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_resp), sg_resp->length); in zfcp_fsf_setup_ct_els_unchained() 1138 zfcp_qdio_set_sbale_last(qdio, q_req); in zfcp_fsf_setup_ct_els_unchained()
|