Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/
Dxfs_iomap.c145 xfs_fileoff_t end_fsb) in xfs_hole_to_iomap() argument
152 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); in xfs_hole_to_iomap()
203 xfs_fileoff_t end_fsb) in xfs_iomap_eof_align_last_fsb() argument
224 xfs_fileoff_t aligned_end_fsb = roundup_64(end_fsb, align); in xfs_iomap_eof_align_last_fsb()
232 return end_fsb; in xfs_iomap_eof_align_last_fsb()
764 xfs_fileoff_t end_fsb) in imap_spans_range() argument
768 if (imap->br_startoff + imap->br_blockcount < end_fsb) in imap_spans_range()
786 xfs_fileoff_t end_fsb = xfs_iomap_end_fsb(mp, offset, length); in xfs_direct_write_iomap_begin() local
810 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap, in xfs_direct_write_iomap_begin()
828 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_direct_write_iomap_begin()
[all …]
Dxfs_pnfs.c122 xfs_fileoff_t offset_fsb, end_fsb; in xfs_fs_map_blocks() local
174 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
178 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, in xfs_fs_map_blocks()
187 end_fsb = xfs_iomap_eof_align_last_fsb(ip, end_fsb); in xfs_fs_map_blocks()
189 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks()
194 end_fsb - offset_fsb, 0, &imap, &seq); in xfs_fs_map_blocks()
Dxfs_reflink.c291 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() local
292 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow()
581 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks() argument
591 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_reflink_cancel_cow_blocks()
597 xfs_trim_extent(&del, offset_fsb, end_fsb - offset_fsb); in xfs_reflink_cancel_cow_blocks()
668 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range() local
676 end_fsb = NULLFILEOFF; in xfs_reflink_cancel_cow_range()
678 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
690 error = xfs_reflink_cancel_cow_blocks(ip, &tp, offset_fsb, end_fsb, in xfs_reflink_cancel_cow_range()
722 xfs_fileoff_t end_fsb) in xfs_reflink_end_cow_extent() argument
[all …]
Dxfs_bmap_util.c599 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, end_byte); in xfs_bmap_punch_delalloc_range() local
607 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
612 xfs_trim_extent(&del, start_fsb, end_fsb - start_fsb); in xfs_bmap_punch_delalloc_range()
649 xfs_fileoff_t end_fsb; in xfs_can_free_eofblocks() local
691 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_can_free_eofblocks()
693 end_fsb = roundup_64(end_fsb, mp->m_sb.sb_rextsize); in xfs_can_free_eofblocks()
695 if (last_fsb <= end_fsb) in xfs_can_free_eofblocks()
703 error = xfs_bmapi_read(ip, end_fsb, last_fsb - end_fsb, &imap, &nimaps, in xfs_can_free_eofblocks()
1378 xfs_fileoff_t end_fsb; in xfs_swap_extent_rmap() local
1397 end_fsb = XFS_B_TO_FSB(ip->i_mount, i_size_read(VFS_I(ip))); in xfs_swap_extent_rmap()
[all …]
Dxfs_fsmap.c440 xfs_fsblock_t start_fsb, end_fsb; in xfs_getfsmap_logdev() local
448 end_fsb = XFS_BB_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in xfs_getfsmap_logdev()
455 trace_xfs_fsmap_high_key_linear(mp, info->dev, end_fsb); in xfs_getfsmap_logdev()
597 xfs_fsblock_t end_fsb; in __xfs_getfsmap_datadev() local
607 end_fsb = XFS_DADDR_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in __xfs_getfsmap_datadev()
645 end_ag = XFS_FSB_TO_AGNO(mp, end_fsb); in __xfs_getfsmap_datadev()
655 end_fsb); in __xfs_getfsmap_datadev()
Dxfs_iomap.h19 xfs_fileoff_t end_fsb);
Dxfs_reflink.h32 xfs_fileoff_t end_fsb, bool cancel_real);
Dxfs_aops.c285 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks() local
358 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
/linux-6.6.21/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()