Searched refs:cur_seg (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | rc.c | 227 qp->s_ack_rdma_psn = mask_psn(e->psn + req->cur_seg); in make_rc_ack() 322 req->cur_seg == req->alloc_seg) { in make_rc_ack() 339 if (req->cur_seg != req->total_segs) in make_rc_ack() 845 req->cur_seg = 0; in hfi1_make_rc_req() 854 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() 867 if (req->cur_seg >= req->total_segs && in hfi1_make_rc_req() 1089 req->cur_seg = delta_psn(qp->s_psn, wqe->psn) / priv->pkts_ps; in hfi1_make_rc_req() 1112 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() 1125 if (req->cur_seg >= req->total_segs && in hfi1_make_rc_req() 1158 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() [all …]
|
D | tid_rdma.c | 1742 req->cur_seg * req->seg_len + flow->sent); in hfi1_build_tid_rdma_read_packet() 1763 req->cur_seg++; in hfi1_build_tid_rdma_read_packet() 1964 req->cur_seg = 0; in tid_rdma_rcv_read_request() 2085 (req->state == TID_REQUEST_SYNC && !req->cur_seg)) { in tid_rdma_rcv_error() 2139 req->cur_seg = delta_psn(psn, e->psn); in tid_rdma_rcv_error() 2158 req->cur_seg == req->comp_seg || in tid_rdma_rcv_error() 2171 req->cur_seg = req->comp_seg; in tid_rdma_rcv_error() 2544 req->comp_seg == req->cur_seg) || in hfi1_rc_rcv_tid_rdma_read_resp() 2935 if (req->comp_seg == req->cur_seg) in hfi1_handle_kdeth_eflags() 3098 rvt_skip_sge(&qpriv->tid_ss, (req->cur_seg * req->seg_len) + in hfi1_tid_rdma_restart_req() [all …]
|
D | tid_rdma.h | 121 u32 cur_seg; /* index of current segment */ member
|
D | trace_tid.h | 1054 __field(u32, cur_seg) 1076 __entry->cur_seg = req->cur_seg; 1099 __entry->cur_seg,
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-ring.c | 1957 struct xhci_segment *cur_seg; in trb_in_td() local 1960 cur_seg = start_seg; in trb_in_td() 1966 end_seg_dma = xhci_trb_virt_to_dma(cur_seg, in trb_in_td() 1967 &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); in trb_in_td() 1969 end_trb_dma = xhci_trb_virt_to_dma(cur_seg, end_trb); in trb_in_td() 1977 (unsigned long long)cur_seg->dma, in trb_in_td() 1984 return cur_seg; in trb_in_td() 1991 (suspect_dma >= cur_seg->dma && in trb_in_td() 1993 return cur_seg; in trb_in_td() 1999 return cur_seg; in trb_in_td() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | mad_priv.h | 142 struct ib_rmpp_segment *cur_seg; member
|
D | mad.c | 828 send_wr->cur_seg = container_of(send_wr->rmpp_list.next, in alloc_send_rmpp_list() 830 send_wr->last_ack_seg = send_wr->cur_seg; in alloc_send_rmpp_list() 960 list = &mad_send_wr->cur_seg->list; in ib_get_rmpp_segment() 962 if (mad_send_wr->cur_seg->num < seg_num) { in ib_get_rmpp_segment() 963 list_for_each_entry(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment() 964 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 966 } else if (mad_send_wr->cur_seg->num > seg_num) { in ib_get_rmpp_segment() 967 list_for_each_entry_reverse(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment() 968 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 971 return mad_send_wr->cur_seg->data; in ib_get_rmpp_segment()
|
D | mad_rmpp.c | 953 mad_send_wr->cur_seg = mad_send_wr->last_ack_seg; in ib_retry_rmpp()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 1505 struct scatterlist *cur_seg; in ahc_linux_run_command() local 1514 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahc_linux_run_command() 1519 addr = sg_dma_address(cur_seg); in ahc_linux_run_command() 1520 len = sg_dma_len(cur_seg); in ahc_linux_run_command()
|
D | aic79xx_osm.c | 1622 struct scatterlist *cur_seg; in ahd_linux_run_command() local 1627 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahd_linux_run_command() 1631 addr = sg_dma_address(cur_seg); in ahd_linux_run_command() 1632 len = sg_dma_len(cur_seg); in ahd_linux_run_command()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 590 struct scatterlist *cur_seg; in qla24xx_build_scsi_type_6_iocbs() local 623 cur_seg = scsi_sglist(cmd); in qla24xx_build_scsi_type_6_iocbs() 654 append_dsd64(&cur_dsd, cur_seg); in qla24xx_build_scsi_type_6_iocbs() 655 cur_seg = sg_next(cur_seg); in qla24xx_build_scsi_type_6_iocbs()
|