Home
last modified time | relevance | path

Searched refs:segment_offset (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_bsg.c2099 size_t segment_len = 0, segment_offset = 0, current_offset = 0; in lpfc_bsg_diag_test() local
2252 segment_offset = ELX_LOOPBACK_HEADER_SZ; in lpfc_bsg_diag_test()
2254 segment_offset = 0; in lpfc_bsg_diag_test()
2256 BUG_ON(segment_offset >= segment_len); in lpfc_bsg_diag_test()
2257 memcpy(curr->virt + segment_offset, in lpfc_bsg_diag_test()
2259 segment_len - segment_offset); in lpfc_bsg_diag_test()
2261 current_offset += segment_len - segment_offset; in lpfc_bsg_diag_test()
/linux-2.6.39/drivers/usb/host/
Dxhci-ring.c82 unsigned long segment_offset; in xhci_trb_virt_to_dma() local
87 segment_offset = trb - seg->trbs; in xhci_trb_virt_to_dma()
88 if (segment_offset > TRBS_PER_SEGMENT) in xhci_trb_virt_to_dma()
90 return seg->dma + (segment_offset * sizeof(*trb)); in xhci_trb_virt_to_dma()