Home
last modified time | relevance | path

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

/linux-3.4.99/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.c151 zfcp_qdio_sbal_chain(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbal_chain() argument
156 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain()
160 if (q_req->sbal_last == q_req->sbal_limit) in zfcp_qdio_sbal_chain()
164 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_sbal_chain()
168 q_req->sbal_last++; in zfcp_qdio_sbal_chain()
169 q_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q; in zfcp_qdio_sbal_chain()
172 q_req->sbal_number++; in zfcp_qdio_sbal_chain()
173 BUG_ON(q_req->sbal_number > ZFCP_QDIO_MAX_SBALS_PER_REQ); in zfcp_qdio_sbal_chain()
176 q_req->sbale_curr = 0; in zfcp_qdio_sbal_chain()
179 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain()
[all …]
Dzfcp_fsf.c970 struct zfcp_qdio_req *q_req, in zfcp_fsf_setup_ct_els_unchained() argument
974 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained()
975 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_resp), sg_resp->length); in zfcp_fsf_setup_ct_els_unchained()
976 zfcp_qdio_set_sbale_last(qdio, q_req); in zfcp_fsf_setup_ct_els_unchained()