Home
last modified time | relevance | path

Searched refs:count_fsb (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/fs/xfs/
Dxfs_iomap.h25 xfs_filblks_t count_fsb, in xfs_aligned_fsb_count() argument
33 count_fsb += align; in xfs_aligned_fsb_count()
34 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
36 count_fsb += extsz - align; in xfs_aligned_fsb_count()
39 return count_fsb; in xfs_aligned_fsb_count()
Dxfs_iomap.c178 xfs_filblks_t count_fsb, resaligned; in xfs_iomap_write_direct() local
217 count_fsb = last_fsb - offset_fsb; in xfs_iomap_write_direct()
218 ASSERT(count_fsb > 0); 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()
740 xfs_filblks_t count_fsb; in xfs_iomap_write_unwritten() local
753 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
754 count_fsb = (xfs_filblks_t)(count_fsb - offset_fsb); in xfs_iomap_write_unwritten()
790 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, in xfs_iomap_write_unwritten()
801 i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb); in xfs_iomap_write_unwritten()
[all …]
Dxfs_reflink.c247 xfs_filblks_t count_fsb) in xfs_reflink_convert_cow_locked() argument
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()
291 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow() local
297 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb); in xfs_reflink_convert_cow()
315 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent() local
326 got.br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent()
340 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_find_trim_cow_extent()
357 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_reflink_allocate_cow() local
430 xfs_trim_extent(imap, offset_fsb, count_fsb); in xfs_reflink_allocate_cow()
[all …]
Dxfs_bmap_util.c58 xfs_off_t count_fsb) in xfs_zero_extent() argument
66 count_fsb << (mp->m_super->s_blocksize_bits - 9), in xfs_zero_extent()
1479 xfs_filblks_t count_fsb; in xfs_swap_extent_rmap() local
1498 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1500 while (count_fsb) { in xfs_swap_extent_rmap()
1503 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1561 count_fsb -= ilen; in xfs_swap_extent_rmap()
Dxfs_mount.h458 xfs_off_t count_fsb);