Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_iomap.c513 xfs_fileoff_t end_fsb; in xfs_file_iomap_begin_delay() local
546 end_fsb = min(XFS_B_TO_FSB(mp, offset + count), in xfs_file_iomap_begin_delay()
548 xfs_trim_extent(&got, offset_fsb, end_fsb - offset_fsb); in xfs_file_iomap_begin_delay()
572 end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb); in xfs_file_iomap_begin_delay()
592 prealloc_blocks = p_end_fsb - end_fsb; in xfs_file_iomap_begin_delay()
598 end_fsb - offset_fsb, prealloc_blocks, &got, &icur, in xfs_file_iomap_begin_delay()
660 xfs_fileoff_t end_fsb, map_start_fsb; in xfs_iomap_write_allocate() local
742 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_iomap_write_allocate()
748 last_block = XFS_FILEOFF_MAX(last_block, end_fsb); in xfs_iomap_write_allocate()
1004 xfs_fileoff_t offset_fsb, end_fsb; in xfs_file_iomap_begin() local
[all …]
Dxfs_reflink.c341 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() local
342 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow()
501 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks() argument
511 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_reflink_cancel_cow_blocks()
517 xfs_trim_extent(&del, offset_fsb, end_fsb - offset_fsb); in xfs_reflink_cancel_cow_blocks()
588 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range() local
596 end_fsb = NULLFILEOFF; in xfs_reflink_cancel_cow_range()
598 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
610 error = xfs_reflink_cancel_cow_blocks(ip, &tp, offset_fsb, end_fsb, in xfs_reflink_cancel_cow_range()
641 xfs_fileoff_t end_fsb; in xfs_reflink_end_cow() local
[all …]
Dxfs_pnfs.c95 xfs_fileoff_t offset_fsb, end_fsb; in xfs_fs_map_blocks() local
146 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
150 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, in xfs_fs_map_blocks()
Dxfs_fsmap.c478 xfs_fsblock_t end_fsb; in __xfs_getfsmap_rtdev() local
488 end_fsb = XFS_BB_TO_FSB(mp, keys[1].fmr_physical); in __xfs_getfsmap_rtdev()
499 info->high.rm_startblock = end_fsb; in __xfs_getfsmap_rtdev()
573 xfs_fsblock_t end_fsb; in __xfs_getfsmap_datadev() local
585 end_fsb = XFS_DADDR_TO_FSB(mp, keys[1].fmr_physical); in __xfs_getfsmap_datadev()
607 end_ag = XFS_FSB_TO_AGNO(mp, end_fsb); in __xfs_getfsmap_datadev()
617 end_fsb); in __xfs_getfsmap_datadev()
Dxfs_reflink.h24 xfs_fileoff_t end_fsb, bool cancel_real);
Dxfs_bmap_util.c700 xfs_fileoff_t end_fsb = start_fsb + length; in xfs_bmap_punch_delalloc_range() local
708 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
785 xfs_fileoff_t end_fsb; in xfs_free_eofblocks() local
796 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks()
798 if (last_fsb <= end_fsb) in xfs_free_eofblocks()
800 map_len = last_fsb - end_fsb; in xfs_free_eofblocks()
804 error = xfs_bmapi_read(ip, end_fsb, map_len, &imap, &nimaps, 0); in xfs_free_eofblocks()
1533 xfs_fileoff_t end_fsb; in xfs_swap_extent_rmap() local
1552 end_fsb = XFS_B_TO_FSB(ip->i_mount, i_size_read(VFS_I(ip))); in xfs_swap_extent_rmap()
1553 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
Dxfs_aops.c313 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset), end_fsb; in xfs_map_blocks() local
373 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_map_blocks()
419 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
/linux-4.19.296/fs/ext4/
Dfsmap.c472 ext4_fsblk_t end_fsb; in ext4_getfsmap_datadev() local
492 end_fsb = keys[1].fmr_physical; in ext4_getfsmap_datadev()
496 ext4_get_group_no_and_offset(sb, end_fsb, &end_ag, &last_cluster); in ext4_getfsmap_datadev()