Lines Matching refs:length

70  * length.
129 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount);
157 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb);
483 * length, then use the current offset as the basis. This ensures that
791 loff_t length,
800 xfs_fileoff_t end_fsb = xfs_iomap_end_fsb(mp, offset, length);
817 if (offset + length > i_size_read(inode))
843 length = XFS_FSB_TO_B(mp, end_fsb) - offset;
870 ((offset | length) & mp->m_blockmask))
876 trace_xfs_iomap_found(ip, offset, length, XFS_DATA_FORK, &imap);
885 * We cap the maximum length we map to a sane size to keep the chunks
893 length = min_t(loff_t, length, 1024 * PAGE_SIZE);
894 end_fsb = xfs_iomap_end_fsb(mp, offset, length);
896 if (offset + length > XFS_ISIZE(ip))
907 trace_xfs_iomap_alloc(ip, offset, length, XFS_DATA_FORK, &imap);
912 length = XFS_FSB_TO_B(mp, cmap.br_startoff + cmap.br_blockcount);
913 trace_xfs_iomap_found(ip, offset, length - offset, XFS_COW_FORK, &cmap);
938 loff_t length,
949 xfs_reflink_cancel_cow_range(ip, pos, length, true);
1103 * We cap the maximum length we map here to MAX_WRITEBACK_PAGES
1228 loff_t length)
1230 xfs_bmap_punch_delalloc_range(XFS_I(inode), offset, offset + length);
1238 loff_t length,
1248 length, written, &xfs_buffered_write_delalloc_punch);
1275 loff_t length,
1284 xfs_fileoff_t end_fsb = xfs_iomap_end_fsb(mp, offset, length);
1307 trace_xfs_iomap_found(ip, offset, length, XFS_DATA_FORK, &imap);
1320 loff_t length,
1328 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length);
1355 data_fsb = xfs_iomap_end_fsb(mp, offset, length);
1408 loff_t length,
1416 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length);