Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_iomap.c95 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap() argument
102 iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb); in xfs_hole_to_iomap()
103 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); in xfs_hole_to_iomap()
189 xfs_fileoff_t offset_fsb, in xfs_iomap_write_direct() argument
206 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, in xfs_iomap_write_direct()
260 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, bmapi_flags, 0, in xfs_iomap_write_direct()
372 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size() local
395 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size()
507 xfs_fileoff_t offset_fsb; in xfs_iomap_write_unwritten() local
520 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_write_unwritten()
[all …]
Dxfs_reflink.c244 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked() argument
253 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
257 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
264 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked()
287 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow() local
289 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow()
295 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb); in xfs_reflink_convert_cow()
313 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() local
323 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent()
324 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,
25 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count() argument
32 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count()
Dxfs_pnfs.c88 xfs_fileoff_t offset_fsb, end_fsb; in xfs_fs_map_blocks() local
140 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_fs_map_blocks()
143 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, in xfs_fs_map_blocks()
157 error = xfs_iomap_write_direct(ip, offset_fsb, in xfs_fs_map_blocks()
158 end_fsb - offset_fsb, &imap); in xfs_fs_map_blocks()
Dxfs_aops.c347 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() local
395 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
397 if (cow_fsb != NULLFILEOFF && cow_fsb <= offset_fsb) { in xfs_map_blocks()
419 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
425 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
426 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
427 imap.br_startoff = offset_fsb; in xfs_map_blocks()
Dxfs_reflink.h35 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
Dxfs_bmap_util.c1328 xfs_fileoff_t offset_fsb; in xfs_swap_extent_rmap() local
1347 offset_fsb = 0; in xfs_swap_extent_rmap()
1349 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1354 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1413 offset_fsb += ilen; in xfs_swap_extent_rmap()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_bmap.c4511 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_bmapi_convert_delalloc() local
4532 if (!xfs_iext_lookup_extent(ip, ifp, offset_fsb, &bma.icur, &bma.got) || in xfs_bmapi_convert_delalloc()
4533 bma.got.br_startoff > offset_fsb) { in xfs_bmapi_convert_delalloc()