Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/ !
Dxfs_iomap.c150 xfs_fileoff_t end_fsb) in xfs_hole_to_iomap() argument
157 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); in xfs_hole_to_iomap()
208 xfs_fileoff_t end_fsb) in xfs_iomap_eof_align_last_fsb() argument
229 xfs_fileoff_t aligned_end_fsb = roundup_64(end_fsb, align); in xfs_iomap_eof_align_last_fsb()
237 return end_fsb; in xfs_iomap_eof_align_last_fsb()
755 xfs_fileoff_t end_fsb) in imap_spans_range() argument
759 if (imap->br_startoff + imap->br_blockcount < end_fsb) in imap_spans_range()
777 xfs_fileoff_t end_fsb = xfs_iomap_end_fsb(mp, offset, length); in xfs_direct_write_iomap_begin() local
821 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap, in xfs_direct_write_iomap_begin()
839 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.c292 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() local
293 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow()
568 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks() argument
578 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_reflink_cancel_cow_blocks()
584 xfs_trim_extent(&del, offset_fsb, end_fsb - offset_fsb); in xfs_reflink_cancel_cow_blocks()
650 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range() local
658 end_fsb = NULLFILEOFF; in xfs_reflink_cancel_cow_range()
660 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
672 error = xfs_reflink_cancel_cow_blocks(ip, &tp, offset_fsb, end_fsb, in xfs_reflink_cancel_cow_range()
704 xfs_fileoff_t end_fsb) in xfs_reflink_end_cow_extent() argument
[all …]
Dxfs_bmap_util.c452 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, end_byte); in xfs_bmap_punch_delalloc_range() local
459 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
464 xfs_trim_extent(&del, start_fsb, end_fsb - start_fsb); in xfs_bmap_punch_delalloc_range()
500 xfs_fileoff_t end_fsb; in xfs_can_free_eofblocks() local
541 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_can_free_eofblocks()
543 end_fsb = xfs_rtb_roundup_rtx(mp, end_fsb); in xfs_can_free_eofblocks()
545 if (last_fsb <= end_fsb) in xfs_can_free_eofblocks()
552 if (xfs_iext_lookup_extent(ip, &ip->i_df, end_fsb, &icur, &imap)) in xfs_can_free_eofblocks()
1241 xfs_fileoff_t end_fsb; in xfs_swap_extent_rmap() local
1260 end_fsb = XFS_B_TO_FSB(ip->i_mount, i_size_read(VFS_I(ip))); in xfs_swap_extent_rmap()
[all …]
Dxfs_fsmap.c473 xfs_fsblock_t end_fsb; in __xfs_getfsmap_datadev() local
483 end_fsb = XFS_DADDR_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in __xfs_getfsmap_datadev()
521 end_ag = XFS_FSB_TO_AGNO(mp, end_fsb); in __xfs_getfsmap_datadev()
531 end_fsb); in __xfs_getfsmap_datadev()
678 xfs_fsblock_t start_fsb, end_fsb; in xfs_getfsmap_logdev() local
686 end_fsb = XFS_BB_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in xfs_getfsmap_logdev()
693 trace_xfs_fsmap_high_key_linear(mp, info->dev, end_fsb); in xfs_getfsmap_logdev()
Dxfs_iomap.h19 xfs_fileoff_t end_fsb);
Dxfs_reflink.h41 xfs_fileoff_t end_fsb, bool cancel_real);
Dxfs_aops.c247 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks() local
321 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
/linux-6.12.1/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()
/linux-6.12.1/fs/xfs/libxfs/ !
Dxfs_rtbitmap.c1311 xfs_fileoff_t end_fsb, /* offset to allocate to */ in xfs_rtfile_initialize_blocks() argument
1317 while (offset_fsb < end_fsb) { in xfs_rtfile_initialize_blocks()
1323 end_fsb - offset_fsb, &map); in xfs_rtfile_initialize_blocks()
Dxfs_rtbitmap.h323 xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb, void *data);