Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/
Dxfs_iomap.c95 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap() argument
100 iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb); in xfs_hole_to_iomap()
101 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); in xfs_hole_to_iomap()
176 xfs_fileoff_t offset_fsb; in xfs_iomap_write_direct() local
196 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_write_direct()
217 count_fsb = last_fsb - offset_fsb; in xfs_iomap_write_direct()
219 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, extsz); in xfs_iomap_write_direct()
280 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, in xfs_iomap_write_direct()
402 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size() local
424 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size()
[all …]
Dxfs_reflink.c246 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked() argument
255 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
259 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
266 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked()
289 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow() local
291 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow()
297 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb); in xfs_reflink_convert_cow()
314 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() local
325 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_find_trim_cow_extent()
326 got.br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent()
[all …]
Dxfs_aops.c426 xfs_fileoff_t offset_fsb) in xfs_imap_valid() argument
428 if (offset_fsb < wpc->imap.br_startoff || in xfs_imap_valid()
429 offset_fsb >= wpc->imap.br_startoff + wpc->imap.br_blockcount) in xfs_imap_valid()
466 xfs_fileoff_t offset_fsb) in xfs_convert_blocks() argument
477 error = xfs_bmapi_convert_delalloc(ip, wpc->fork, offset_fsb, in xfs_convert_blocks()
482 } while (wpc->imap.br_startoff + wpc->imap.br_blockcount <= offset_fsb); in xfs_convert_blocks()
496 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() local
522 if (xfs_imap_valid(wpc, ip, offset_fsb)) in xfs_map_blocks()
541 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
543 if (cow_fsb != NULLFILEOFF && cow_fsb <= offset_fsb) { in xfs_map_blocks()
[all …]
Dxfs_iomap.h24 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count() argument
31 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()
Dxfs_reflink.h35 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
Dxfs_bmap_util.c1477 xfs_fileoff_t offset_fsb; in xfs_swap_extent_rmap() local
1496 offset_fsb = 0; in xfs_swap_extent_rmap()
1498 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1503 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1562 offset_fsb += ilen; in xfs_swap_extent_rmap()
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_bmap.h231 xfs_fileoff_t offset_fsb, struct xfs_bmbt_irec *imap,
Dxfs_bmap.c4459 xfs_fileoff_t offset_fsb, in xfs_bmapi_convert_delalloc() argument
4481 if (!xfs_iext_lookup_extent(ip, ifp, offset_fsb, &bma.icur, &bma.got) || in xfs_bmapi_convert_delalloc()
4482 bma.got.br_startoff > offset_fsb) { in xfs_bmapi_convert_delalloc()