Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/
Dxfs_iomap.c144 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap() argument
151 iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb); in xfs_hole_to_iomap()
152 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); in xfs_hole_to_iomap()
238 xfs_fileoff_t offset_fsb, in xfs_iomap_write_direct() argument
256 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, in xfs_iomap_write_direct()
308 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, bmapi_flags, 0, in xfs_iomap_write_direct()
419 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size() local
442 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size()
554 xfs_fileoff_t offset_fsb; in xfs_iomap_write_unwritten() local
567 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_write_unwritten()
[all …]
Dxfs_reflink.c247 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked() argument
256 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
260 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
267 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked()
290 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow() local
292 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow()
298 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb); in xfs_reflink_convert_cow()
316 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() local
326 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent()
327 cmap->br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent()
[all …]
Dxfs_iomap.h14 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb,
32 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count() argument
39 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count()
Dxfs_pnfs.c122 xfs_fileoff_t offset_fsb, end_fsb; in xfs_fs_map_blocks() local
175 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_fs_map_blocks()
178 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, in xfs_fs_map_blocks()
193 error = xfs_iomap_write_direct(ip, offset_fsb, in xfs_fs_map_blocks()
194 end_fsb - offset_fsb, 0, &imap, &seq); in xfs_fs_map_blocks()
Dxfs_aops.c284 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() local
333 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
335 if (cow_fsb != NULLFILEOFF && cow_fsb <= offset_fsb) { in xfs_map_blocks()
357 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
363 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
364 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
365 imap.br_startoff = offset_fsb; in xfs_map_blocks()
Dxfs_reflink.h31 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
Dxfs_bmap_util.c1377 xfs_fileoff_t offset_fsb; in xfs_swap_extent_rmap() local
1396 offset_fsb = 0; in xfs_swap_extent_rmap()
1398 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1403 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1484 offset_fsb += ilen; in xfs_swap_extent_rmap()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_bmap.c4514 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_bmapi_convert_delalloc() local
4543 if (!xfs_iext_lookup_extent(ip, ifp, offset_fsb, &bma.icur, &bma.got) || in xfs_bmapi_convert_delalloc()
4544 bma.got.br_startoff > offset_fsb) { in xfs_bmapi_convert_delalloc()