Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/
Dxfs_iomap.h15 xfs_fileoff_t count_fsb, struct xfs_bmbt_irec *imap);
26 xfs_filblks_t count_fsb, in xfs_aligned_fsb_count() argument
34 count_fsb += align; in xfs_aligned_fsb_count()
35 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
37 count_fsb += extsz - align; in xfs_aligned_fsb_count()
40 return count_fsb; in xfs_aligned_fsb_count()
Dxfs_reflink.c245 xfs_filblks_t count_fsb) in xfs_reflink_convert_cow_locked() argument
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()
289 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow() local
295 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb); in xfs_reflink_convert_cow()
314 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent() local
324 cmap->br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent()
338 xfs_trim_extent(cmap, offset_fsb, count_fsb); in xfs_find_trim_cow_extent()
355 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_reflink_allocate_cow() local
428 xfs_trim_extent(cmap, offset_fsb, count_fsb); in xfs_reflink_allocate_cow()
[all …]
Dxfs_iomap.c190 xfs_fileoff_t count_fsb, in xfs_iomap_write_direct() argument
204 ASSERT(count_fsb > 0); in xfs_iomap_write_direct()
206 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, in xfs_iomap_write_direct()
260 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, bmapi_flags, 0, in xfs_iomap_write_direct()
508 xfs_filblks_t count_fsb; in xfs_iomap_write_unwritten() local
521 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
522 count_fsb = (xfs_filblks_t)(count_fsb - offset_fsb); in xfs_iomap_write_unwritten()
568 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, in xfs_iomap_write_unwritten()
579 i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb); in xfs_iomap_write_unwritten()
607 count_fsb -= numblks_fsb; in xfs_iomap_write_unwritten()
[all …]
Dxfs_bmap_util.c58 xfs_off_t count_fsb) in xfs_zero_extent() argument
67 count_fsb << (mp->m_super->s_blocksize_bits - 9), in xfs_zero_extent()
1330 xfs_filblks_t count_fsb; in xfs_swap_extent_rmap() local
1349 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1351 while (count_fsb) { in xfs_swap_extent_rmap()
1354 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1412 count_fsb -= ilen; in xfs_swap_extent_rmap()
Dxfs_mount.h423 xfs_off_t count_fsb);