cur_seg          1037 drivers/infiniband/core/mad.c 	send_wr->cur_seg = container_of(send_wr->rmpp_list.next,
cur_seg          1039 drivers/infiniband/core/mad.c 	send_wr->last_ack_seg = send_wr->cur_seg;
cur_seg          1169 drivers/infiniband/core/mad.c 	list = &mad_send_wr->cur_seg->list;
cur_seg          1171 drivers/infiniband/core/mad.c 	if (mad_send_wr->cur_seg->num < seg_num) {
cur_seg          1172 drivers/infiniband/core/mad.c 		list_for_each_entry(mad_send_wr->cur_seg, list, list)
cur_seg          1173 drivers/infiniband/core/mad.c 			if (mad_send_wr->cur_seg->num == seg_num)
cur_seg          1175 drivers/infiniband/core/mad.c 	} else if (mad_send_wr->cur_seg->num > seg_num) {
cur_seg          1176 drivers/infiniband/core/mad.c 		list_for_each_entry_reverse(mad_send_wr->cur_seg, list, list)
cur_seg          1177 drivers/infiniband/core/mad.c 			if (mad_send_wr->cur_seg->num == seg_num)
cur_seg          1180 drivers/infiniband/core/mad.c 	return mad_send_wr->cur_seg->data;
cur_seg           142 drivers/infiniband/core/mad_priv.h 	struct ib_rmpp_segment *cur_seg;
cur_seg           962 drivers/infiniband/core/mad_rmpp.c 	mad_send_wr->cur_seg = mad_send_wr->last_ack_seg;
cur_seg           227 drivers/infiniband/hw/hfi1/rc.c 			qp->s_ack_rdma_psn = mask_psn(e->psn + req->cur_seg);
cur_seg           322 drivers/infiniband/hw/hfi1/rc.c 		    req->cur_seg == req->alloc_seg) {
cur_seg           339 drivers/infiniband/hw/hfi1/rc.c 		if (req->cur_seg != req->total_segs)
cur_seg           845 drivers/infiniband/hw/hfi1/rc.c 				req->cur_seg = 0;
cur_seg           854 drivers/infiniband/hw/hfi1/rc.c 				    wqe->length - req->seg_len * req->cur_seg);
cur_seg           867 drivers/infiniband/hw/hfi1/rc.c 			if (req->cur_seg >= req->total_segs &&
cur_seg          1090 drivers/infiniband/hw/hfi1/rc.c 		req->cur_seg = delta_psn(qp->s_psn, wqe->psn) / priv->pkts_ps;
cur_seg          1113 drivers/infiniband/hw/hfi1/rc.c 			    wqe->length - req->seg_len * req->cur_seg);
cur_seg          1126 drivers/infiniband/hw/hfi1/rc.c 		if (req->cur_seg >= req->total_segs &&
cur_seg          1159 drivers/infiniband/hw/hfi1/rc.c 			    wqe->length - req->seg_len * req->cur_seg);
cur_seg          1169 drivers/infiniband/hw/hfi1/rc.c 		if (req->cur_seg >= req->total_segs &&
cur_seg          1474 drivers/infiniband/hw/hfi1/rc.c 			u32 cur_seg;
cur_seg          1476 drivers/infiniband/hw/hfi1/rc.c 			cur_seg = (psn - wqe->psn) / priv->pkts_ps;
cur_seg          1477 drivers/infiniband/hw/hfi1/rc.c 			req->ack_pending = cur_seg - req->comp_seg;
cur_seg          1827 drivers/infiniband/hw/hfi1/rc.c 		    req->ack_seg < req->cur_seg)
cur_seg          1742 drivers/infiniband/hw/hfi1/tid_rdma.c 			   req->cur_seg * req->seg_len + flow->sent);
cur_seg          1763 drivers/infiniband/hw/hfi1/tid_rdma.c 	req->cur_seg++;
cur_seg          1964 drivers/infiniband/hw/hfi1/tid_rdma.c 	req->cur_seg = 0;
cur_seg          2085 drivers/infiniband/hw/hfi1/tid_rdma.c 		    (req->state == TID_REQUEST_SYNC && !req->cur_seg)) {
cur_seg          2139 drivers/infiniband/hw/hfi1/tid_rdma.c 				req->cur_seg = delta_psn(psn, e->psn);
cur_seg          2158 drivers/infiniband/hw/hfi1/tid_rdma.c 			    req->cur_seg == req->comp_seg ||
cur_seg          2171 drivers/infiniband/hw/hfi1/tid_rdma.c 			req->cur_seg = req->comp_seg;
cur_seg          2544 drivers/infiniband/hw/hfi1/tid_rdma.c 	     req->comp_seg == req->cur_seg) ||
cur_seg          2935 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (req->comp_seg == req->cur_seg)
cur_seg          3098 drivers/infiniband/hw/hfi1/tid_rdma.c 		rvt_skip_sge(&qpriv->tid_ss, (req->cur_seg * req->seg_len) +
cur_seg          3146 drivers/infiniband/hw/hfi1/tid_rdma.c 			req->cur_seg = req->ack_seg;
cur_seg          3332 drivers/infiniband/hw/hfi1/tid_rdma.c 		priv->tid_req.cur_seg = 0;
cur_seg          3746 drivers/infiniband/hw/hfi1/tid_rdma.c 	req->cur_seg = 0;
cur_seg          3849 drivers/infiniband/hw/hfi1/tid_rdma.c 		if (req->cur_seg >= req->alloc_seg)
cur_seg          3878 drivers/infiniband/hw/hfi1/tid_rdma.c 	req->cur_seg++;
cur_seg          4375 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (req->cur_seg < req->total_segs ||
cur_seg          4542 drivers/infiniband/hw/hfi1/tid_rdma.c 	       req->ack_seg < req->cur_seg) {
cur_seg          4575 drivers/infiniband/hw/hfi1/tid_rdma.c 			    req->ack_seg < req->cur_seg)
cur_seg          4694 drivers/infiniband/hw/hfi1/tid_rdma.c 			req->cur_seg = req->ack_seg;
cur_seg          4717 drivers/infiniband/hw/hfi1/tid_rdma.c 			req->cur_seg = req->ack_seg;
cur_seg          5018 drivers/infiniband/hw/hfi1/tid_rdma.c 	    (e->opcode == TID_OP(WRITE_REQ) && req->cur_seg < req->alloc_seg &&
cur_seg          5092 drivers/infiniband/hw/hfi1/tid_rdma.c 		if (!req->comp_seg || req->cur_seg == req->comp_seg)
cur_seg          5104 drivers/infiniband/hw/hfi1/tid_rdma.c 			if (++req->cur_seg < req->total_segs) {
cur_seg           121 drivers/infiniband/hw/hfi1/tid_rdma.h 	u32 cur_seg;		/* index of current segment */
cur_seg          1054 drivers/infiniband/hw/hfi1/trace_tid.h 		__field(u32, cur_seg)
cur_seg          1076 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->cur_seg = req->cur_seg;
cur_seg          1099 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->cur_seg,
cur_seg          1636 drivers/scsi/aic7xxx/aic79xx_osm.c 		struct scatterlist *cur_seg;
cur_seg          1641 drivers/scsi/aic7xxx/aic79xx_osm.c 		scsi_for_each_sg(cmd, cur_seg, nseg, i) {
cur_seg          1645 drivers/scsi/aic7xxx/aic79xx_osm.c 			addr = sg_dma_address(cur_seg);
cur_seg          1646 drivers/scsi/aic7xxx/aic79xx_osm.c 			len = sg_dma_len(cur_seg);
cur_seg          1521 drivers/scsi/aic7xxx/aic7xxx_osm.c 		struct	scatterlist *cur_seg;
cur_seg          1530 drivers/scsi/aic7xxx/aic7xxx_osm.c 		scsi_for_each_sg(cmd, cur_seg, nseg, i) {
cur_seg          1535 drivers/scsi/aic7xxx/aic7xxx_osm.c 			addr = sg_dma_address(cur_seg);
cur_seg          1536 drivers/scsi/aic7xxx/aic7xxx_osm.c 			len = sg_dma_len(cur_seg);
cur_seg           591 drivers/scsi/qla2xxx/qla_iocb.c 	struct	scatterlist *cur_seg;
cur_seg           623 drivers/scsi/qla2xxx/qla_iocb.c 	cur_seg = scsi_sglist(cmd);
cur_seg           654 drivers/scsi/qla2xxx/qla_iocb.c 			append_dsd64(&cur_dsd, cur_seg);
cur_seg           655 drivers/scsi/qla2xxx/qla_iocb.c 			cur_seg = sg_next(cur_seg);
cur_seg          1776 drivers/usb/host/xhci-ring.c 	struct xhci_segment *cur_seg;
cur_seg          1779 drivers/usb/host/xhci-ring.c 	cur_seg = start_seg;
cur_seg          1785 drivers/usb/host/xhci-ring.c 		end_seg_dma = xhci_trb_virt_to_dma(cur_seg,
cur_seg          1786 drivers/usb/host/xhci-ring.c 				&cur_seg->trbs[TRBS_PER_SEGMENT - 1]);
cur_seg          1788 drivers/usb/host/xhci-ring.c 		end_trb_dma = xhci_trb_virt_to_dma(cur_seg, end_trb);
cur_seg          1796 drivers/usb/host/xhci-ring.c 				(unsigned long long)cur_seg->dma,
cur_seg          1803 drivers/usb/host/xhci-ring.c 					return cur_seg;
cur_seg          1810 drivers/usb/host/xhci-ring.c 						(suspect_dma >= cur_seg->dma &&
cur_seg          1812 drivers/usb/host/xhci-ring.c 					return cur_seg;
cur_seg          1818 drivers/usb/host/xhci-ring.c 				return cur_seg;
cur_seg          1820 drivers/usb/host/xhci-ring.c 		cur_seg = cur_seg->next;
cur_seg          1821 drivers/usb/host/xhci-ring.c 		start_dma = xhci_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]);
cur_seg          1822 drivers/usb/host/xhci-ring.c 	} while (cur_seg != start_seg);