| /linux-6.15/drivers/scsi/elx/efct/ |
| H A D | efct_lio.c | 434 ocp->cur_seg = 0; in efct_lio_write_pending() 440 curcnt = (ocp->seg_map_cnt - ocp->cur_seg); in efct_lio_write_pending() 443 for (cnt = 0, sg = cmd->t_data_sg; cnt < ocp->cur_seg; cnt++, in efct_lio_write_pending() 452 ocp->cur_seg++; in efct_lio_write_pending() 455 if (ocp->cur_seg == ocp->seg_cnt) in efct_lio_write_pending() 478 ocp->cur_seg = 0; in efct_lio_queue_data_in() 499 sg = &cmd->t_data_sg[ocp->cur_seg]; in efct_lio_queue_data_in() 509 ocp->cur_seg++; in efct_lio_queue_data_in() 517 ocp->seg_cnt = ocp->cur_seg; in efct_lio_queue_data_in() 584 ocp->cur_seg < ocp->seg_cnt) { in efct_lio_datamove_done() [all …]
|
| H A D | efct_lio.h | 118 u32 cur_seg; member
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdnsp-ring.c | 538 struct cdnsp_segment *cur_seg; in cdnsp_trb_in_td() local 545 cur_seg = start_seg; in cdnsp_trb_in_td() 551 temp_trb = &cur_seg->trbs[TRBS_PER_SEGMENT - 1]; in cdnsp_trb_in_td() 558 end_trb_dma, cur_seg->dma, in cdnsp_trb_in_td() 569 return cur_seg; in cdnsp_trb_in_td() 578 (suspect_dma >= cur_seg->dma && in cdnsp_trb_in_td() 580 return cur_seg; in cdnsp_trb_in_td() 589 return cur_seg; in cdnsp_trb_in_td() 591 cur_seg = cur_seg->next; in cdnsp_trb_in_td() 592 start_dma = cdnsp_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]); in cdnsp_trb_in_td() [all …]
|
| /linux-6.15/drivers/infiniband/hw/hfi1/ |
| H A D | rc.c | 280 req->cur_seg == req->alloc_seg) { in make_rc_ack() 297 if (req->cur_seg != req->total_segs) in make_rc_ack() 804 req->cur_seg = 0; in hfi1_make_rc_req() 826 if (req->cur_seg >= req->total_segs && in hfi1_make_rc_req() 1071 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() 1084 if (req->cur_seg >= req->total_segs && in hfi1_make_rc_req() 1127 if (req->cur_seg >= req->total_segs && in hfi1_make_rc_req() 1431 u32 cur_seg; in update_num_rd_atomic() local 1433 cur_seg = (psn - wqe->psn) / priv->pkts_ps; in update_num_rd_atomic() 1434 req->ack_pending = cur_seg - req->comp_seg; in update_num_rd_atomic() [all …]
|
| H A D | tid_rdma.c | 1770 req->cur_seg++; in hfi1_build_tid_rdma_read_packet() 1971 req->cur_seg = 0; in tid_rdma_rcv_read_request() 2178 req->cur_seg = req->comp_seg; in tid_rdma_rcv_error() 2943 if (req->comp_seg == req->cur_seg) in hfi1_handle_kdeth_eflags() 3155 req->cur_seg = req->ack_seg; in hfi1_tid_rdma_restart_req() 3345 priv->tid_req.cur_seg = 0; in setup_tid_rdma_wqe() 3759 req->cur_seg = 0; in hfi1_rc_rcv_tid_rdma_write_req() 3891 req->cur_seg++; in hfi1_build_tid_rdma_write_resp() 4588 req->ack_seg < req->cur_seg) in hfi1_rc_rcv_tid_rdma_ack() 4707 req->cur_seg = req->ack_seg; in hfi1_rc_rcv_tid_rdma_ack() [all …]
|
| H A D | tid_rdma.h | 121 u32 cur_seg; /* index of current segment */ member
|
| H A D | trace_tid.h | 1054 __field(u32, cur_seg) 1076 __entry->cur_seg = req->cur_seg; 1099 __entry->cur_seg,
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | mad_priv.h | 141 struct ib_rmpp_segment *cur_seg; member
|
| H A D | mad.c | 821 send_wr->cur_seg = container_of(send_wr->rmpp_list.next, in alloc_send_rmpp_list() 823 send_wr->last_ack_seg = send_wr->cur_seg; in alloc_send_rmpp_list() 952 list = &mad_send_wr->cur_seg->list; in ib_get_rmpp_segment() 954 if (mad_send_wr->cur_seg->num < seg_num) { in ib_get_rmpp_segment() 955 list_for_each_entry(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment() 956 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 958 } else if (mad_send_wr->cur_seg->num > seg_num) { in ib_get_rmpp_segment() 959 list_for_each_entry_reverse(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment() 960 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 963 return mad_send_wr->cur_seg->data; in ib_get_rmpp_segment()
|
| H A D | mad_rmpp.c | 953 mad_send_wr->cur_seg = mad_send_wr->last_ack_seg; in ib_retry_rmpp()
|
| /linux-6.15/drivers/usb/host/ |
| H A D | xhci-ring.c | 294 struct xhci_segment *cur_seg; in trb_in_td() local 297 cur_seg = td->start_seg; in trb_in_td() 303 end_seg_dma = xhci_trb_virt_to_dma(cur_seg, in trb_in_td() 304 &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); in trb_in_td() 312 return cur_seg; in trb_in_td() 319 (suspect_dma >= cur_seg->dma && in trb_in_td() 321 return cur_seg; in trb_in_td() 327 return cur_seg; in trb_in_td() 329 cur_seg = cur_seg->next; in trb_in_td() 330 start_dma = xhci_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]); in trb_in_td() [all …]
|
| /linux-6.15/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx_osm.c | 1512 struct scatterlist *cur_seg; in ahc_linux_run_command() local 1521 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahc_linux_run_command() 1526 addr = sg_dma_address(cur_seg); in ahc_linux_run_command() 1527 len = sg_dma_len(cur_seg); in ahc_linux_run_command()
|
| H A D | aic79xx_osm.c | 1621 struct scatterlist *cur_seg; in ahd_linux_run_command() local 1626 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahd_linux_run_command() 1630 addr = sg_dma_address(cur_seg); in ahd_linux_run_command() 1631 len = sg_dma_len(cur_seg); in ahd_linux_run_command()
|
| /linux-6.15/drivers/scsi/qla2xxx/ |
| H A D | qla_iocb.c | 595 struct scatterlist *cur_seg; in qla24xx_build_scsi_type_6_iocbs() local 626 cur_seg = scsi_sglist(cmd); in qla24xx_build_scsi_type_6_iocbs() 656 append_dsd64(&cur_dsd, cur_seg); in qla24xx_build_scsi_type_6_iocbs() 657 cur_seg = sg_next(cur_seg); in qla24xx_build_scsi_type_6_iocbs()
|