/openbmc/linux/fs/xfs/ |
H A D | xfs_iomap.c | 144 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap() argument 238 xfs_fileoff_t offset_fsb, in xfs_iomap_write_direct() argument 546 xfs_fileoff_t offset_fsb; in xfs_iomap_write_unwritten() local 802 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap, in xfs_direct_write_iomap_begin() 880 error = xfs_iomap_write_direct(ip, offset_fsb, end_fsb - offset_fsb, in xfs_direct_write_iomap_begin() 1060 xfs_trim_extent(&imap, offset_fsb, end_fsb - offset_fsb); in xfs_buffered_write_iomap_begin() 1184 xfs_trim_extent(&cmap, offset_fsb, imap.br_startoff - offset_fsb); in xfs_buffered_write_iomap_begin() 1267 error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap, in xfs_read_iomap_begin() 1337 xfs_trim_extent(&cmap, offset_fsb, end_fsb - offset_fsb); in xfs_seek_iomap_begin() 1362 xfs_trim_extent(&imap, offset_fsb, end_fsb - offset_fsb); in xfs_seek_iomap_begin() [all …]
|
H A D | xfs_reflink.c | 247 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked() argument 328 if (cmap->br_startoff > offset_fsb) { in xfs_find_trim_cow_extent() 566 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks() argument 583 xfs_trim_extent(&del, offset_fsb, end_fsb - offset_fsb); in xfs_reflink_cancel_cow_blocks() 653 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range() local 707 xfs_fileoff_t *offset_fsb, in xfs_reflink_end_cow_extent() argument 748 *offset_fsb = end_fsb; in xfs_reflink_end_cow_extent() 762 *offset_fsb = end_fsb; in xfs_reflink_end_cow_extent() 767 xfs_trim_extent(&del, *offset_fsb, end_fsb - *offset_fsb); in xfs_reflink_end_cow_extent() 845 xfs_fileoff_t offset_fsb; in xfs_reflink_end_cow() local [all …]
|
H A D | xfs_iomap.h | 14 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 D | xfs_pnfs.c | 122 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 D | xfs_aops.c | 245 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 D | xfs_reflink.h | 31 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
|
H A D | xfs_bmap_util.c | 1390 xfs_fileoff_t offset_fsb; in xfs_swap_extent_rmap() local 1409 offset_fsb = 0; in xfs_swap_extent_rmap() 1411 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap() 1416 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap() 1497 offset_fsb += ilen; in xfs_swap_extent_rmap()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 4573 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()
|