Home
last modified time | relevance | path

Searched refs:q_req (Results 1 – 3 of 3) sorted by relevance

/drivers/s390/scsi/
Dzfcp_qdio.h78 zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_req() argument
80 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req()
90 zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_curr() argument
92 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr()
109 void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_req_init() argument
116 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init()
117 q_req->sbal_number = 1; in zfcp_qdio_req_init()
118 q_req->sbtype = sbtype; in zfcp_qdio_req_init()
119 q_req->sbale_curr = 1; in zfcp_qdio_req_init()
120 q_req->sbal_limit = (q_req->sbal_first + count - 1) in zfcp_qdio_req_init()
[all …]
Dzfcp_qdio.c134 zfcp_qdio_sbal_chain(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbal_chain() argument
139 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain()
143 if (q_req->sbal_last == q_req->sbal_limit) in zfcp_qdio_sbal_chain()
147 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_sbal_chain()
151 q_req->sbal_last++; in zfcp_qdio_sbal_chain()
152 q_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q; in zfcp_qdio_sbal_chain()
155 q_req->sbal_number++; in zfcp_qdio_sbal_chain()
156 BUG_ON(q_req->sbal_number > ZFCP_QDIO_MAX_SBALS_PER_REQ); in zfcp_qdio_sbal_chain()
159 q_req->sbale_curr = 0; in zfcp_qdio_sbal_chain()
162 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain()
[all …]
Dzfcp_fsf.c964 struct zfcp_qdio_req *q_req, in zfcp_fsf_setup_ct_els_unchained() argument
968 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained()
969 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_resp), sg_resp->length); in zfcp_fsf_setup_ct_els_unchained()
970 zfcp_qdio_set_sbale_last(qdio, q_req); in zfcp_fsf_setup_ct_els_unchained()