/linux-6.6.21/fs/xfs/ |
D | xfs_iomap.c | 145 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 …]
|
D | xfs_pnfs.c | 122 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()
|
D | xfs_reflink.c | 291 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 …]
|
D | xfs_bmap_util.c | 599 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 …]
|
D | xfs_fsmap.c | 440 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()
|
D | xfs_iomap.h | 19 xfs_fileoff_t end_fsb);
|
D | xfs_reflink.h | 32 xfs_fileoff_t end_fsb, bool cancel_real);
|
D | xfs_aops.c | 285 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/ |
D | fsmap.c | 472 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()
|