Searched refs:q_req (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/s390/scsi/ |
D | zfcp_qdio.h | 87 zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_req() argument 89 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req() 99 zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_curr() argument 101 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr() 118 void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_req_init() argument 125 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init() 126 q_req->sbal_number = 1; in zfcp_qdio_req_init() 127 q_req->sbtype = sbtype; in zfcp_qdio_req_init() 128 q_req->sbale_curr = 1; in zfcp_qdio_req_init() 129 q_req->sbal_limit = (q_req->sbal_first + count - 1) in zfcp_qdio_req_init() [all …]
|
D | zfcp_qdio.c | 121 zfcp_qdio_sbal_chain(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbal_chain() argument 126 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain() 130 if (q_req->sbal_last == q_req->sbal_limit) in zfcp_qdio_sbal_chain() 134 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_sbal_chain() 138 q_req->sbal_last++; in zfcp_qdio_sbal_chain() 139 q_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q; in zfcp_qdio_sbal_chain() 142 q_req->sbal_number++; in zfcp_qdio_sbal_chain() 143 BUG_ON(q_req->sbal_number > ZFCP_QDIO_MAX_SBALS_PER_REQ); in zfcp_qdio_sbal_chain() 146 q_req->sbale_curr = 0; in zfcp_qdio_sbal_chain() 149 sbale = zfcp_qdio_sbale_curr(qdio, q_req); in zfcp_qdio_sbal_chain() [all …]
|
D | zfcp_fsf.c | 925 struct zfcp_qdio_req *q_req, in zfcp_fsf_setup_ct_els_unchained() argument 929 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained() 930 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_resp), sg_resp->length); in zfcp_fsf_setup_ct_els_unchained() 931 zfcp_qdio_set_sbale_last(qdio, q_req); in zfcp_fsf_setup_ct_els_unchained()
|