Home
last modified time | relevance | path

Searched refs:XFS_B_TO_FSB (Results 1 – 18 of 18) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_iomap.c173 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_direct()
421 alloc_blocks = XFS_B_TO_FSB(mp, offset); in xfs_iomap_prealloc_size()
512 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_file_iomap_begin_delay()
546 end_fsb = min(XFS_B_TO_FSB(mp, offset + count), in xfs_file_iomap_begin_delay()
572 end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb); in xfs_file_iomap_begin_delay()
742 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_iomap_write_allocate()
827 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
1032 end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_file_iomap_begin()
1167 start_fsb = XFS_B_TO_FSB(mp, offset + written); in xfs_file_iomap_end_delalloc()
1168 end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_file_iomap_end_delalloc()
[all …]
Dxfs_bmap_util.c426 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
609 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap()
631 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap()
664 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
796 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks()
797 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_free_eofblocks()
899 allocatesize_fsb = XFS_B_TO_FSB(mp, count); in xfs_alloc_file_space()
1132 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space()
1287 xfs_fileoff_t next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_collapse_file_space()
1288 xfs_fileoff_t shift_fsb = XFS_B_TO_FSB(mp, len); in xfs_collapse_file_space()
[all …]
Dxfs_qm_syscalls.c438 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim()
441 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim()
455 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim()
458 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
Dxfs_rtalloc.c927 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
940 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt()
941 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt()
986 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
Dxfs_reflink.c341 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow()
598 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
654 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow()
1460 fsblen = XFS_B_TO_FSB(mp, len); in xfs_reflink_remap_range()
1720 end = XFS_B_TO_FSB(mp, offset + len); in xfs_reflink_unshare()
Dxfs_pnfs.c146 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
Dxfs_fsops.c184 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
Dxfs_aops.c373 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_map_blocks()
Dxfs_ioctl.c1222 extsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_ioctl_setattr_check_extsize()
1279 cowextsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_cowextsize); in xfs_ioctl_setattr_check_cowextsize()
Dxfs_inode.c1554 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_extents_flags()
1555 last_block = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_itruncate_extents_flags()
Dxfs_qm.c988 maxlblkcnt = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_qm_reset_dqcounts_buf()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_log_rlimit.c34 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
Dxfs_trans_space.h72 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
Dxfs_attr_remote.c48 return XFS_B_TO_FSB(mp, attrlen); in xfs_attr3_rmt_blocks()
Dxfs_format.h592 #define XFS_B_TO_FSB(mp,b) \ macro
Dxfs_bmap.c3698 xfs_trim_extent(irec, 0, XFS_B_TO_FSB(ip->i_mount, in xfs_trim_extent_eof()
/linux-4.19.296/fs/xfs/scrub/
Dialloc.c313 *inode_blocks += XFS_B_TO_FSB(mp, in xchk_iallocbt_rec()
318 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec()
331 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec()
Ddir.c653 lblk = XFS_B_TO_FSB(mp, XFS_DIR2_DATA_OFFSET); in xchk_directory_blocks()
654 leaf_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_LEAF_OFFSET); in xchk_directory_blocks()
655 free_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_FREE_OFFSET); in xchk_directory_blocks()