Lines Matching refs:qdio

77 zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req)  in zfcp_qdio_sbale_req()  argument
79 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req()
89 zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_curr() argument
91 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr()
108 void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_req_init() argument
112 int count = min(atomic_read(&qdio->req_q_free), in zfcp_qdio_req_init()
115 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init()
122 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_req_init()
143 void zfcp_qdio_fill_next(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_fill_next() argument
148 BUG_ON(q_req->sbale_curr == qdio->max_sbale_per_sbal - 1); in zfcp_qdio_fill_next()
150 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_fill_next()
161 void zfcp_qdio_set_sbale_last(struct zfcp_qdio *qdio, in zfcp_qdio_set_sbale_last() argument
166 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_set_sbale_last()
188 void zfcp_qdio_skip_to_last_sbale(struct zfcp_qdio *qdio, in zfcp_qdio_skip_to_last_sbale() argument
191 q_req->sbale_curr = qdio->max_sbale_per_sbal - 1; in zfcp_qdio_skip_to_last_sbale()
201 void zfcp_qdio_sbal_limit(struct zfcp_qdio *qdio, in zfcp_qdio_sbal_limit() argument
204 int count = min(atomic_read(&qdio->req_q_free), max_sbals); in zfcp_qdio_sbal_limit()
217 void zfcp_qdio_set_data_div(struct zfcp_qdio *qdio, in zfcp_qdio_set_data_div() argument
222 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_data_div()
247 void zfcp_qdio_set_scount(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_set_scount() argument
251 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_scount()