Searched refs:xfer_offset (Results 1 – 1 of 1) sorted by relevance
299 uint64_t xfer_offset, xfer_aligned_end; in sbd_do_sgl_read_xfer() local302 xfer_offset = scmd->addr + scmd->current_ro; in sbd_do_sgl_read_xfer()304 P2ALIGN(xfer_offset+xfer_len, blksize); in sbd_do_sgl_read_xfer()305 if (xfer_aligned_end > xfer_offset) in sbd_do_sgl_read_xfer()306 xfer_len = xfer_aligned_end - xfer_offset; in sbd_do_sgl_read_xfer()1222 uint64_t xfer_offset, xfer_aligned_end; in sbd_do_sgl_write_xfer() local1224 xfer_offset = scmd->addr + scmd->current_ro; in sbd_do_sgl_write_xfer()1226 P2ALIGN(xfer_offset+xfer_len, blksize); in sbd_do_sgl_write_xfer()1227 if (xfer_aligned_end > xfer_offset) in sbd_do_sgl_write_xfer()1228 xfer_len = xfer_aligned_end - xfer_offset; in sbd_do_sgl_write_xfer()