q_req 1003 drivers/s390/scsi/zfcp_fsf.c struct zfcp_qdio_req *q_req, q_req 1007 drivers/s390/scsi/zfcp_fsf.c zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); q_req 1008 drivers/s390/scsi/zfcp_fsf.c zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_resp), sg_resp->length); q_req 1009 drivers/s390/scsi/zfcp_fsf.c zfcp_qdio_set_sbale_last(qdio, q_req); q_req 135 drivers/s390/scsi/zfcp_qdio.c zfcp_qdio_sbal_chain(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) q_req 140 drivers/s390/scsi/zfcp_qdio.c sbale = zfcp_qdio_sbale_curr(qdio, q_req); q_req 144 drivers/s390/scsi/zfcp_qdio.c if (q_req->sbal_last == q_req->sbal_limit) q_req 148 drivers/s390/scsi/zfcp_qdio.c sbale = zfcp_qdio_sbale_req(qdio, q_req); q_req 152 drivers/s390/scsi/zfcp_qdio.c q_req->sbal_last++; q_req 153 drivers/s390/scsi/zfcp_qdio.c q_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q; q_req 156 drivers/s390/scsi/zfcp_qdio.c q_req->sbal_number++; q_req 157 drivers/s390/scsi/zfcp_qdio.c BUG_ON(q_req->sbal_number > ZFCP_QDIO_MAX_SBALS_PER_REQ); q_req 160 drivers/s390/scsi/zfcp_qdio.c q_req->sbale_curr = 0; q_req 163 drivers/s390/scsi/zfcp_qdio.c sbale = zfcp_qdio_sbale_curr(qdio, q_req); q_req 164 drivers/s390/scsi/zfcp_qdio.c sbale->sflags |= q_req->sbtype; q_req 170 drivers/s390/scsi/zfcp_qdio.c zfcp_qdio_sbale_next(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) q_req 172 drivers/s390/scsi/zfcp_qdio.c if (q_req->sbale_curr == qdio->max_sbale_per_sbal - 1) q_req 173 drivers/s390/scsi/zfcp_qdio.c return zfcp_qdio_sbal_chain(qdio, q_req); q_req 174 drivers/s390/scsi/zfcp_qdio.c q_req->sbale_curr++; q_req 175 drivers/s390/scsi/zfcp_qdio.c return zfcp_qdio_sbale_curr(qdio, q_req); q_req 185 drivers/s390/scsi/zfcp_qdio.c int zfcp_qdio_sbals_from_sg(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, q_req 191 drivers/s390/scsi/zfcp_qdio.c sbale = zfcp_qdio_sbale_req(qdio, q_req); q_req 192 drivers/s390/scsi/zfcp_qdio.c sbale->sflags |= q_req->sbtype; q_req 195 drivers/s390/scsi/zfcp_qdio.c sbale = zfcp_qdio_sbale_next(qdio, q_req); q_req 198 drivers/s390/scsi/zfcp_qdio.c zfcp_qdio_zero_sbals(qdio->req_q, q_req->sbal_first, q_req 199 drivers/s390/scsi/zfcp_qdio.c q_req->sbal_number); q_req 254 drivers/s390/scsi/zfcp_qdio.c int zfcp_qdio_send(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) q_req 257 drivers/s390/scsi/zfcp_qdio.c u8 sbal_number = q_req->sbal_number; q_req 264 drivers/s390/scsi/zfcp_qdio.c q_req->sbal_first, sbal_number); q_req 267 drivers/s390/scsi/zfcp_qdio.c zfcp_qdio_zero_sbals(qdio->req_q, q_req->sbal_first, q_req 79 drivers/s390/scsi/zfcp_qdio.h zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) q_req 81 drivers/s390/scsi/zfcp_qdio.h return &qdio->req_q[q_req->sbal_last]->element[0]; q_req 91 drivers/s390/scsi/zfcp_qdio.h zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) q_req 93 drivers/s390/scsi/zfcp_qdio.h return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; q_req 110 drivers/s390/scsi/zfcp_qdio.h void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, q_req 117 drivers/s390/scsi/zfcp_qdio.h q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; q_req 118 drivers/s390/scsi/zfcp_qdio.h q_req->sbal_number = 1; q_req 119 drivers/s390/scsi/zfcp_qdio.h q_req->sbtype = sbtype; q_req 120 drivers/s390/scsi/zfcp_qdio.h q_req->sbale_curr = 1; q_req 121 drivers/s390/scsi/zfcp_qdio.h q_req->sbal_limit = (q_req->sbal_first + count - 1) q_req 124 drivers/s390/scsi/zfcp_qdio.h sbale = zfcp_qdio_sbale_req(qdio, q_req); q_req 147 drivers/s390/scsi/zfcp_qdio.h void zfcp_qdio_fill_next(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, q_req 152 drivers/s390/scsi/zfcp_qdio.h BUG_ON(q_req->sbale_curr == qdio->max_sbale_per_sbal - 1); q_req 153 drivers/s390/scsi/zfcp_qdio.h q_req->sbale_curr++; q_req 154 drivers/s390/scsi/zfcp_qdio.h sbale = zfcp_qdio_sbale_curr(qdio, q_req); q_req 166 drivers/s390/scsi/zfcp_qdio.h struct zfcp_qdio_req *q_req) q_req 170 drivers/s390/scsi/zfcp_qdio.h sbale = zfcp_qdio_sbale_curr(qdio, q_req); q_req 194 drivers/s390/scsi/zfcp_qdio.h struct zfcp_qdio_req *q_req) q_req 196 drivers/s390/scsi/zfcp_qdio.h q_req->sbale_curr = qdio->max_sbale_per_sbal - 1; q_req 207 drivers/s390/scsi/zfcp_qdio.h struct zfcp_qdio_req *q_req, int max_sbals) q_req 211 drivers/s390/scsi/zfcp_qdio.h q_req->sbal_limit = (q_req->sbal_first + count - 1) % q_req 223 drivers/s390/scsi/zfcp_qdio.h struct zfcp_qdio_req *q_req, u32 count) q_req 227 drivers/s390/scsi/zfcp_qdio.h sbale = qdio->req_q[q_req->sbal_first]->element; q_req 252 drivers/s390/scsi/zfcp_qdio.h void zfcp_qdio_set_scount(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) q_req 256 drivers/s390/scsi/zfcp_qdio.h sbale = qdio->req_q[q_req->sbal_first]->element; q_req 257 drivers/s390/scsi/zfcp_qdio.h sbale->scount = q_req->sbal_number - 1;