Home
last modified time | relevance | path

Searched refs:cur_seg (Results 1 – 8 of 8) sorted by relevance

/drivers/usb/host/
Dxhci-ring.c470 struct xhci_segment *cur_seg = start_seg; in find_trb_seg() local
473 while (cur_seg->trbs > trb || in find_trb_seg()
474 &cur_seg->trbs[TRBS_PER_SEGMENT - 1] < trb) { in find_trb_seg()
475 generic_trb = &cur_seg->trbs[TRBS_PER_SEGMENT - 1].generic; in find_trb_seg()
478 cur_seg = cur_seg->next; in find_trb_seg()
479 if (cur_seg == start_seg) in find_trb_seg()
483 return cur_seg; in find_trb_seg()
627 struct xhci_segment *cur_seg; in td_to_noop() local
630 for (cur_seg = cur_td->start_seg, cur_trb = cur_td->first_trb; in td_to_noop()
632 next_trb(xhci, ep_ring, &cur_seg, &cur_trb)) { in td_to_noop()
[all …]
/drivers/infiniband/core/
Dmad_priv.h144 struct ib_rmpp_segment *cur_seg; member
Dmad.c859 send_wr->cur_seg = container_of(send_wr->rmpp_list.next, in alloc_send_rmpp_list()
861 send_wr->last_ack_seg = send_wr->cur_seg; in alloc_send_rmpp_list()
963 list = &mad_send_wr->cur_seg->list; in ib_get_rmpp_segment()
965 if (mad_send_wr->cur_seg->num < seg_num) { in ib_get_rmpp_segment()
966 list_for_each_entry(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment()
967 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment()
969 } else if (mad_send_wr->cur_seg->num > seg_num) { in ib_get_rmpp_segment()
970 list_for_each_entry_reverse(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment()
971 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment()
974 return mad_send_wr->cur_seg->data; in ib_get_rmpp_segment()
Dmad_rmpp.c946 mad_send_wr->cur_seg = mad_send_wr->last_ack_seg; in ib_retry_rmpp()
/drivers/scsi/qla2xxx/
Dqla_iocb.c606 struct scatterlist *cur_seg; in qla24xx_build_scsi_type_6_iocbs() local
641 cur_seg = scsi_sglist(cmd); in qla24xx_build_scsi_type_6_iocbs()
674 sle_dma = sg_dma_address(cur_seg); in qla24xx_build_scsi_type_6_iocbs()
677 *cur_dsd++ = cpu_to_le32(sg_dma_len(cur_seg)); in qla24xx_build_scsi_type_6_iocbs()
678 cur_seg = sg_next(cur_seg); in qla24xx_build_scsi_type_6_iocbs()
1217 struct scatterlist *cur_seg; in qla24xx_build_scsi_crc_2_iocbs() local
1414 cur_seg = scsi_prot_sglist(cmd); in qla24xx_build_scsi_crc_2_iocbs()
/drivers/block/
Drbd.c1398 int num_segs, cur_seg = 0; in rbd_rq_fn() local
1465 rbd_coll_end_req_index(rq, coll, cur_seg, in rbd_rq_fn()
1477 coll, cur_seg); in rbd_rq_fn()
1483 coll, cur_seg); in rbd_rq_fn()
1489 cur_seg++; in rbd_rq_fn()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1545 struct scatterlist *cur_seg; in ahc_linux_run_command() local
1554 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahc_linux_run_command()
1559 addr = sg_dma_address(cur_seg); in ahc_linux_run_command()
1560 len = sg_dma_len(cur_seg); in ahc_linux_run_command()
Daic79xx_osm.c1649 struct scatterlist *cur_seg; in ahd_linux_run_command() local
1654 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahd_linux_run_command()
1658 addr = sg_dma_address(cur_seg); in ahd_linux_run_command()
1659 len = sg_dma_len(cur_seg); in ahd_linux_run_command()