Home
last modified time | relevance | path

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

/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
205 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, in xfs_iomap_write_direct()
255 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, bmapi_flags, 0, in xfs_iomap_write_direct()
365 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size() local
388 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size()
500 xfs_fileoff_t offset_fsb; in xfs_iomap_write_unwritten() local
513 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_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_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_aops.c263 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() local
310 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
312 if (cow_fsb != NULLFILEOFF && cow_fsb <= offset_fsb) { in xfs_map_blocks()
334 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
340 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
341 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
342 imap.br_startoff = offset_fsb; in xfs_map_blocks()
Dxfs_reflink.h34 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
Dxfs_bmap_util.c1363 xfs_fileoff_t offset_fsb; in xfs_swap_extent_rmap() local
1382 offset_fsb = 0; in xfs_swap_extent_rmap()
1384 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1389 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1464 offset_fsb += ilen; in xfs_swap_extent_rmap()
/fs/xfs/libxfs/
Dxfs_bmap.c4560 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_bmapi_convert_delalloc() local
4587 if (!xfs_iext_lookup_extent(ip, ifp, offset_fsb, &bma.icur, &bma.got) || in xfs_bmapi_convert_delalloc()
4588 bma.got.br_startoff > offset_fsb) { in xfs_bmapi_convert_delalloc()