Searched refs:segment_offset (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/fs/nfs/filelayout/
H A Dfilelayout.c853 u64 segment_offset = pgio->pg_lseg->pls_range.offset; filelayout_pg_test() local
863 p_stripe = (u64)req_offset(prev) - segment_offset; filelayout_pg_test()
864 r_stripe = (u64)req_offset(req) - segment_offset; filelayout_pg_test()
873 div_u64_rem((u64)req_offset(req) - segment_offset, filelayout_pg_test()
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_bsg.c2994 size_t segment_len = 0, segment_offset = 0, current_offset = 0; lpfc_bsg_diag_loopback_run() local
3150 segment_offset = ELX_LOOPBACK_HEADER_SZ; lpfc_bsg_diag_loopback_run()
3152 segment_offset = 0; lpfc_bsg_diag_loopback_run()
3154 BUG_ON(segment_offset >= segment_len); lpfc_bsg_diag_loopback_run()
3155 memcpy(curr->virt + segment_offset, lpfc_bsg_diag_loopback_run()
3157 segment_len - segment_offset); lpfc_bsg_diag_loopback_run()
3159 current_offset += segment_len - segment_offset; lpfc_bsg_diag_loopback_run()
/linux-4.4.14/drivers/usb/host/
H A Dxhci-ring.c79 unsigned long segment_offset; xhci_trb_virt_to_dma() local
84 segment_offset = trb - seg->trbs; xhci_trb_virt_to_dma()
85 if (segment_offset >= TRBS_PER_SEGMENT) xhci_trb_virt_to_dma()
87 return seg->dma + (segment_offset * sizeof(*trb)); xhci_trb_virt_to_dma()

Completed in 180 milliseconds