• Home
  • Raw
  • Download

Lines Matching refs:q_req

78 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()
123 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_req_init()
144 void zfcp_qdio_fill_next(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_fill_next() argument
149 BUG_ON(q_req->sbale_curr == qdio->max_sbale_per_sbal - 1); in zfcp_qdio_fill_next()
150 q_req->sbale_curr++; in zfcp_qdio_fill_next()
151 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_fill_next()
163 struct zfcp_qdio_req *q_req) in zfcp_qdio_set_sbale_last() argument
167 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_set_sbale_last()
190 struct zfcp_qdio_req *q_req) in zfcp_qdio_skip_to_last_sbale() argument
192 q_req->sbale_curr = qdio->max_sbale_per_sbal - 1; in zfcp_qdio_skip_to_last_sbale()
203 struct zfcp_qdio_req *q_req, int max_sbals) in zfcp_qdio_sbal_limit() argument
207 q_req->sbal_limit = (q_req->sbal_first + count - 1) % in zfcp_qdio_sbal_limit()
219 struct zfcp_qdio_req *q_req, u32 count) in zfcp_qdio_set_data_div() argument
223 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_data_div()
263 void zfcp_qdio_set_scount(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_set_scount() argument
267 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_scount()
268 sbale->scount = q_req->sbal_number - 1; in zfcp_qdio_set_scount()