Home
last modified time | relevance | path

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

/linux-5.19.10/fs/xfs/
Dxfs_iomap.h15 xfs_fileoff_t count_fsb, unsigned int flags,
32 xfs_filblks_t count_fsb, in xfs_aligned_fsb_count() argument
40 count_fsb += align; in xfs_aligned_fsb_count()
41 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
43 count_fsb += extsz - align; in xfs_aligned_fsb_count()
46 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
419 xfs_trim_extent(cmap, offset_fsb, count_fsb); in xfs_reflink_allocate_cow()
[all …]
Dxfs_iomap.c196 xfs_fileoff_t count_fsb, in xfs_iomap_write_direct() argument
210 ASSERT(count_fsb > 0); in xfs_iomap_write_direct()
212 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, in xfs_iomap_write_direct()
264 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, bmapi_flags, 0, in xfs_iomap_write_direct()
510 xfs_filblks_t count_fsb; in xfs_iomap_write_unwritten() local
523 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
524 count_fsb = (xfs_filblks_t)(count_fsb - offset_fsb); in xfs_iomap_write_unwritten()
570 error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, in xfs_iomap_write_unwritten()
581 i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb); in xfs_iomap_write_unwritten()
609 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()
1374 xfs_filblks_t count_fsb; in xfs_swap_extent_rmap() local
1393 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
1395 while (count_fsb) { in xfs_swap_extent_rmap()
1398 error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec, in xfs_swap_extent_rmap()
1478 count_fsb -= ilen; in xfs_swap_extent_rmap()
Dxfs_mount.h541 xfs_off_t count_fsb);