Home
last modified time | relevance | path

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

/linux-5.19.10/fs/xfs/
Dxfs_bmap_util.c324 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
507 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap()
527 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap()
560 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
688 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_can_free_eofblocks()
691 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_can_free_eofblocks()
810 endoffset_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_alloc_file_space()
984 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space()
1108 xfs_fileoff_t next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_collapse_file_space()
1109 xfs_fileoff_t shift_fsb = XFS_B_TO_FSB(mp, len); in xfs_collapse_file_space()
[all …]
Dxfs_qm_syscalls.c335 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim()
338 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim()
350 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim()
353 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
Dxfs_iomap.c121 return min(XFS_B_TO_FSB(mp, offset + count), in xfs_iomap_end_fsb()
122 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_iomap_end_fsb()
425 alloc_blocks = XFS_B_TO_FSB(mp, offset); in xfs_iomap_prealloc_size()
523 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
1029 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_buffered_write_iomap_begin()
1127 start_fsb = XFS_B_TO_FSB(mp, offset + written); in xfs_buffered_write_iomap_end()
1128 end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_buffered_write_iomap_end()
1214 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_seek_iomap_begin()
1299 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_xattr_iomap_begin()
Dxfs_aops.c119 XFS_B_TO_FSB(mp, size)); in xfs_end_ioend()
278 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
Dxfs_reflink.c288 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow()
546 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
739 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow()
1236 len = min_t(xfs_filblks_t, XFS_B_TO_FSB(mp, remap_len), in xfs_reflink_remap_blocks()
Dxfs_rtalloc.c983 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
996 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt()
997 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_disk_size); in xfs_growfs_rt()
1047 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
Dxfs_pnfs.c173 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
Dxfs_ioctl.c1251 XFS_B_TO_FSB(mp, fa->fsx_extsize), in xfs_ioctl_setattr_check_extsize()
1276 XFS_B_TO_FSB(mp, fa->fsx_cowextsize), in xfs_ioctl_setattr_check_cowextsize()
1390 ip->i_extsize = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_fileattr_set()
1396 ip->i_cowextsize = XFS_B_TO_FSB(mp, fa->fsx_cowextsize); in xfs_fileattr_set()
Dxfs_fsops.c229 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
Dxfs_qm.c992 maxlblkcnt = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_qm_reset_dqcounts_buf()
Dxfs_inode.c1362 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_extents_flags()
/linux-5.19.10/fs/xfs/scrub/
Dialloc.c463 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec()
476 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec()
565 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
Ddir.c687 lblk = XFS_B_TO_FSB(mp, XFS_DIR2_DATA_OFFSET); in xchk_directory_blocks()
688 leaf_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_LEAF_OFFSET); in xchk_directory_blocks()
689 free_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_FREE_OFFSET); in xchk_directory_blocks()
/linux-5.19.10/fs/xfs/libxfs/
Dxfs_log_rlimit.c33 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
Dxfs_trans_space.h78 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
Dxfs_attr_remote.c58 return XFS_B_TO_FSB(mp, attrlen); in xfs_attr3_rmt_blocks()
Dxfs_format.h460 #define XFS_B_TO_FSB(mp,b) \ macro