Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A 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()
411 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size() local
434 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size()
546 xfs_fileoff_t offset_fsb; in xfs_iomap_write_unwritten() local
559 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_write_unwritten()
[all …]
H A 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 …]
H A 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()
H A 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()
H A Dxfs_aops.c245 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() local
295 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
297 if (cow_fsb != NULLFILEOFF && cow_fsb <= offset_fsb) { in xfs_map_blocks()
319 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
325 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
326 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
327 imap.br_startoff = offset_fsb; in xfs_map_blocks()
H A Dxfs_reflink.h31 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
H A Dxfs_bmap_util.c1396 xfs_fileoff_t offset_fsb; in xfs_swap_extent_rmap() local
1415 offset_fsb = 0; in xfs_swap_extent_rmap()
1417 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1422 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1503 offset_fsb += ilen; in xfs_swap_extent_rmap()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_bmap.c4573 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_bmapi_convert_one_delalloc() local
4602 if (!xfs_iext_lookup_extent(ip, ifp, offset_fsb, &bma.icur, &bma.got) || in xfs_bmapi_convert_one_delalloc()
4603 bma.got.br_startoff > offset_fsb) { in xfs_bmapi_convert_one_delalloc()