Lines Matching refs:qdio
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
121 int count = min(atomic_read(&qdio->req_q_free), in zfcp_qdio_req_init()
124 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init()
131 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_req_init()
154 void zfcp_qdio_fill_next(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_fill_next() argument
159 BUG_ON(q_req->sbale_curr == qdio->max_sbale_per_sbal - 1); in zfcp_qdio_fill_next()
161 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_fill_next()
172 void zfcp_qdio_set_sbale_last(struct zfcp_qdio *qdio, in zfcp_qdio_set_sbale_last() argument
177 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_set_sbale_last()
200 void zfcp_qdio_skip_to_last_sbale(struct zfcp_qdio *qdio, in zfcp_qdio_skip_to_last_sbale() argument
203 q_req->sbale_curr = qdio->max_sbale_per_sbal - 1; in zfcp_qdio_skip_to_last_sbale()
213 void zfcp_qdio_sbal_limit(struct zfcp_qdio *qdio, in zfcp_qdio_sbal_limit() argument
216 int count = min(atomic_read(&qdio->req_q_free), max_sbals); in zfcp_qdio_sbal_limit()
229 void zfcp_qdio_set_data_div(struct zfcp_qdio *qdio, in zfcp_qdio_set_data_div() argument
234 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_data_div()
259 void zfcp_qdio_set_scount(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_set_scount() argument
263 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_scount()