/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_trans_resv.c | 74 if (xfs_sb_version_hasrmapbt(&mp->m_sb)) in xfs_allocfree_log_count() 76 if (xfs_sb_version_hasreflink(&mp->m_sb)) in xfs_allocfree_log_count() 119 mp->m_sb.sb_inodesize + in xfs_calc_inode_res() 158 if (!xfs_sb_version_hasfinobt(&mp->m_sb)) in xfs_calc_finobt_res() 190 if (xfs_sb_version_has_v3inode(&mp->m_sb)) in xfs_calc_inode_chunk_res() 213 rtbmp_bytes = (MAXEXTLEN / mp->m_sb.sb_rextsize) / NBBY; in xfs_rtalloc_log_count() 268 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation() 271 if (xfs_sb_version_hasrealtime(&mp->m_sb)) { in xfs_calc_write_reservation() 275 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation() 282 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation() [all …]
|
D | xfs_types.c | 21 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_ag_block_count() 23 if (agno < mp->m_sb.sb_agcount - 1) in xfs_ag_block_count() 24 return mp->m_sb.sb_agblocks; in xfs_ag_block_count() 25 return mp->m_sb.sb_dblocks - (agno * mp->m_sb.sb_agblocks); in xfs_ag_block_count() 59 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_fsbno() 134 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_ino() 147 return ino == mp->m_sb.sb_rbmino || ino == mp->m_sb.sb_rsumino || in xfs_internal_inum() 148 (xfs_sb_version_hasquota(&mp->m_sb) && in xfs_internal_inum() 149 xfs_is_quota_inode(&mp->m_sb, ino)); in xfs_internal_inum() 175 return rtbno < mp->m_sb.sb_rblocks; in xfs_verify_rtbno() [all …]
|
D | xfs_ag.c | 52 return mp->m_sb.sb_logstart > 0 && in is_log_ag() 53 id->agno == XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart); in is_log_ag() 84 mp->m_sb.sb_logstart); in xfs_freesp_init_recs() 108 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs() 198 if (xfs_sb_version_hasreflink(&mp->m_sb)) { in xfs_rmaproot_init() 212 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart)); in xfs_rmaproot_init() 213 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init() 236 xfs_sb_to_disk(dsb, &mp->m_sb); in xfs_sbblock_init() 257 if (xfs_sb_version_hasrmapbt(&mp->m_sb)) { in xfs_agfblock_init() 270 if (xfs_sb_version_hascrc(&mp->m_sb)) in xfs_agfblock_init() [all …]
|
D | xfs_inode_buf.c | 52 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify() 58 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify() 61 xfs_dinode_good_version(&mp->m_sb, dip->di_version) && in xfs_inode_buf_verify() 256 if (xfs_sb_version_has_v3inode(&ip->i_mount->m_sb)) { in xfs_inode_from_disk() 337 if (xfs_sb_version_has_v3inode(&ip->i_mount->m_sb)) { in xfs_inode_to_disk() 346 uuid_copy(&to->di_uuid, &ip->i_mount->m_sb.sb_meta_uuid); in xfs_inode_to_disk() 454 if (!xfs_sb_version_has_v3inode(&mp->m_sb)) in xfs_dinode_verify() 456 if (!xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_verify() 461 if (!uuid_equal(&dip->di_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dinode_verify() 484 if (mode && XFS_DFORK_BOFF(dip) > mp->m_sb.sb_inodesize) in xfs_dinode_verify() [all …]
|
D | xfs_ialloc.c | 61 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_update() 81 if (xfs_sb_version_hassparseinodes(&mp->m_sb)) { in xfs_inobt_btrec_to_irec() 307 if (xfs_sb_version_has_v3inode(&mp->m_sb)) { in xfs_ialloc_inode_init() 321 mp->m_sb.sb_inodesize, length, gen); in xfs_ialloc_inode_init() 341 int ioffset = i << mp->m_sb.sb_inodelog; in xfs_ialloc_inode_init() 342 uint isize = XFS_DINODE_SIZE(&mp->m_sb); in xfs_ialloc_inode_init() 354 &mp->m_sb.sb_meta_uuid); in xfs_ialloc_inode_init() 425 mod = agbno % mp->m_sb.sb_inoalignmt; in xfs_align_sparse_ino() 641 if (xfs_sb_version_hassparseinodes(&tp->t_mountp->m_sb) && in xfs_ialloc_ag_alloc() 761 if (xfs_sb_version_hassparseinodes(&args.mp->m_sb) && in xfs_ialloc_ag_alloc() [all …]
|
D | xfs_symlink_remote.c | 30 int buflen = XFS_SYMLINK_BUF_SPACE(mp, mp->m_sb.sb_blocksize); in xfs_symlink_blocks() 45 if (!xfs_sb_version_hascrc(&mp->m_sb)) in xfs_symlink_hdr_set() 52 uuid_copy(&dsl->sl_uuid, &mp->m_sb.sb_meta_uuid); in xfs_symlink_hdr_set() 92 if (!xfs_sb_version_hascrc(&mp->m_sb)) in xfs_symlink_verify() 96 if (!uuid_equal(&dsl->sl_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_symlink_verify() 119 if (!xfs_sb_version_hascrc(&mp->m_sb)) in xfs_symlink_read_verify() 140 if (!xfs_sb_version_hascrc(&mp->m_sb)) in xfs_symlink_write_verify() 176 if (!xfs_sb_version_hascrc(&mp->m_sb)) { in xfs_symlink_local_to_remote()
|
D | xfs_dquot_buf.c | 73 !xfs_sb_version_hasbigtime(&mp->m_sb)) in xfs_dquot_verify() 109 if (xfs_sb_version_hascrc(&mp->m_sb) && in xfs_dqblk_verify() 110 !uuid_equal(&dqb->dd_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dqblk_verify() 137 if (xfs_sb_version_hascrc(&mp->m_sb)) { in xfs_dqblk_repair() 138 uuid_copy(&dqb->dd_uuid, &mp->m_sb.sb_meta_uuid); in xfs_dqblk_repair() 154 if (!xfs_sb_version_hascrc(&mp->m_sb)) in xfs_dquot_buf_verify_crc()
|
D | xfs_dir2.c | 99 ASSERT(mp->m_sb.sb_versionnum & XFS_SB_VERSION_DIRV2BIT); in xfs_da_mount() 100 ASSERT(xfs_dir2_dirblock_bytes(&mp->m_sb) <= XFS_MAX_BLOCKSIZE); in xfs_da_mount() 114 dageo->blklog = mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog; in xfs_da_mount() 115 dageo->fsblog = mp->m_sb.sb_blocklog; in xfs_da_mount() 116 dageo->blksize = xfs_dir2_dirblock_bytes(&mp->m_sb); in xfs_da_mount() 117 dageo->fsbcount = 1 << mp->m_sb.sb_dirblklog; in xfs_da_mount() 118 if (xfs_sb_version_hascrc(&mp->m_sb)) { in xfs_da_mount() 153 dageo->blklog = mp->m_sb.sb_blocklog; in xfs_da_mount() 154 dageo->fsblog = mp->m_sb.sb_blocklog; in xfs_da_mount() 733 if (unlikely(xfs_sb_version_hasasciici(&mp->m_sb))) in xfs_dir2_hashname() [all …]
|
D | xfs_ialloc_btree.c | 79 if (!xfs_sb_version_hasinobtcounts(&cur->bc_mp->m_sb)) in xfs_inobt_mod_blockcount() 215 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_init_rec_from_cur() 295 if (xfs_sb_version_hascrc(&mp->m_sb)) { in xfs_inobt_verify() 447 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_inobt_init_common() 449 if (xfs_sb_version_hascrc(&mp->m_sb)) in xfs_inobt_init_common() 512 if (xfs_sb_version_hasinobtcounts(&cur->bc_mp->m_sb)) { in xfs_inobt_commit_staged_btree() 522 if (xfs_sb_version_hasinobtcounts(&cur->bc_mp->m_sb)) { in xfs_inobt_commit_staged_btree() 645 if (mp->m_sb.sb_logstart && in xfs_inobt_max_size() 646 XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart) == agno) in xfs_inobt_max_size() 647 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size() [all …]
|
D | xfs_log_rlimit.c | 95 if (xfs_sb_version_haslogv2(&mp->m_sb) && mp->m_sb.sb_logsunit > 1) in xfs_log_calc_minimum_size() 96 lsunit = BTOBB(mp->m_sb.sb_logsunit); in xfs_log_calc_minimum_size()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | agheader.c | 103 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock() 106 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) in xchk_superblock() 109 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) in xchk_superblock() 112 if (sb->sb_rextents != cpu_to_be64(mp->m_sb.sb_rextents)) in xchk_superblock() 115 if (!uuid_equal(&sb->sb_uuid, &mp->m_sb.sb_uuid)) in xchk_superblock() 118 if (sb->sb_logstart != cpu_to_be64(mp->m_sb.sb_logstart)) in xchk_superblock() 121 if (sb->sb_rootino != cpu_to_be64(mp->m_sb.sb_rootino)) in xchk_superblock() 124 if (sb->sb_rbmino != cpu_to_be64(mp->m_sb.sb_rbmino)) in xchk_superblock() 127 if (sb->sb_rsumino != cpu_to_be64(mp->m_sb.sb_rsumino)) in xchk_superblock() 130 if (sb->sb_rextsize != cpu_to_be32(mp->m_sb.sb_rextsize)) in xchk_superblock() [all …]
|
D | rtbitmap.c | 52 startblock = rec->ar_startext * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec() 53 blockcount = rec->ar_extcount * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec() 73 for (off = 0; off < mp->m_sb.sb_rbmblocks;) { in xchk_rtbitmap_check_extents() 81 mp->m_sb.sb_rbmblocks - off, &map, &nmap, in xchk_rtbitmap_check_extents() 106 XFS_FSB_TO_B(sc->mp, sc->mp->m_sb.sb_rbmblocks)) { in xchk_rtbitmap() 183 do_div(startext, sc->mp->m_sb.sb_rextsize); in xchk_xref_is_used_rt_space() 184 do_div(endext, sc->mp->m_sb.sb_rextsize); in xchk_xref_is_used_rt_space()
|
D | agheader_repair.c | 52 xfs_sb_to_disk(bp->b_addr, &mp->m_sb); in xrep_superblock() 166 if (xfs_sb_version_hasreflink(&sc->mp->m_sb) && in xrep_agf_find_btrees() 195 if (xfs_sb_version_hascrc(&mp->m_sb)) in xrep_agf_init_header() 196 uuid_copy(&agf->agf_uuid, &mp->m_sb.sb_meta_uuid); in xrep_agf_init_header() 225 if (xfs_sb_version_hasreflink(&sc->mp->m_sb)) { in xrep_agf_set_roots() 282 if (xfs_sb_version_hasreflink(&mp->m_sb)) { in xrep_agf_calc_from_btrees() 365 if (!xfs_sb_version_hasrmapbt(&mp->m_sb)) in xrep_agf() 589 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xrep_agfl_init_header() 640 if (!xfs_sb_version_hasrmapbt(&mp->m_sb)) in xrep_agfl() 739 if (xfs_sb_version_hasfinobt(&mp->m_sb) && in xrep_agi_find_btrees() [all …]
|
D | quota.c | 108 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item() 118 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item() 131 if (xfs_sb_version_hasreflink(&mp->m_sb)) { in xchk_quota_item() 132 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 136 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 140 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
|
D | inode.c | 128 if ((flags & XFS_DIFLAG_NEWRTBM) && ino != mp->m_sb.sb_rbmino) in xchk_inode_flags() 171 !xfs_sb_version_hasreflink(&mp->m_sb)) in xchk_inode_flags2() 194 !xfs_sb_version_hasbigtime(&mp->m_sb)) in xchk_inode_flags2() 272 !xfs_sb_version_hasprojid32bit(&mp->m_sb)) in xchk_dinode() 360 mp->m_sb.sb_dblocks + mp->m_sb.sb_rblocks) in xchk_dinode() 363 if (be64_to_cpu(dip->di_nblocks) >= mp->m_sb.sb_dblocks) in xchk_dinode() 390 if (XFS_DFORK_APTR(dip) >= (char *)dip + mp->m_sb.sb_inodesize) in xchk_dinode() 554 if (!xfs_sb_version_hasreflink(&mp->m_sb)) in xchk_inode_check_reflink_iflag()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_mount.c | 58 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount() 103 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_unmount() 142 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_free_perag() 273 struct xfs_sb *sbp = &mp->m_sb; in xfs_readsb() 374 struct xfs_sb *sbp = &mp->m_sb; in xfs_check_new_dalign() 419 mp->m_sb.sb_blocksize); in xfs_validate_new_dalign() 426 if (mp->m_dalign && (mp->m_sb.sb_agblocks % mp->m_dalign)) { in xfs_validate_new_dalign() 429 mp->m_sb.sb_agblocks); in xfs_validate_new_dalign() 436 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign() 441 if (!xfs_sb_version_hasdalign(&mp->m_sb)) { in xfs_validate_new_dalign() [all …]
|
D | xfs_fsops.c | 42 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 44 if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) in xfs_growfs_data_private() 54 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 58 nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks; in xfs_growfs_data_private() 59 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 62 new = nb - mp->m_sb.sb_dblocks; in xfs_growfs_data_private() 63 oagcount = mp->m_sb.sb_agcount; in xfs_growfs_data_private() 96 (id.agno * (xfs_rfsblock_t)mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 98 id.agsize = mp->m_sb.sb_agblocks; in xfs_growfs_data_private() 126 if (nb > mp->m_sb.sb_dblocks) in xfs_growfs_data_private() [all …]
|
D | xfs_trans.c | 272 xfs_sb_version_haslazysbcount(&mp->m_sb)); in xfs_trans_alloc() 348 if (xfs_sb_version_haslazysbcount(&mp->m_sb)) in xfs_trans_mod_sb() 353 if (xfs_sb_version_haslazysbcount(&mp->m_sb)) in xfs_trans_mod_sb() 382 if (xfs_sb_version_haslazysbcount(&mp->m_sb)) in xfs_trans_mod_sb() 392 if (xfs_sb_version_haslazysbcount(&mp->m_sb)) in xfs_trans_mod_sb() 479 if (!xfs_sb_version_haslazysbcount(&(tp->t_mountp->m_sb))) { in xfs_trans_apply_sb_deltas() 577 (xfs_sb_version_haslazysbcount(&mp->m_sb) || in xfs_trans_unreserve_and_mod_sb() 587 if (xfs_sb_version_haslazysbcount(&mp->m_sb) || in xfs_trans_unreserve_and_mod_sb() 618 mp->m_sb.sb_fdblocks += tp->t_fdblocks_delta + tp->t_res_fdblocks_delta; in xfs_trans_unreserve_and_mod_sb() 619 mp->m_sb.sb_icount += idelta; in xfs_trans_unreserve_and_mod_sb() [all …]
|
D | xfs_qm.c | 306 if (xfs_is_quota_inode(&mp->m_sb, ip->i_ino)) in xfs_qm_need_dqattach() 394 ASSERT(!xfs_is_quota_inode(&ip->i_mount->m_sb, ip->i_ino)); in xfs_qm_dqdetach() 663 if (xfs_sb_version_hasbigtime(&mp->m_sb)) { in xfs_qm_init_quotainfo() 675 mp->m_qflags |= (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_CHKD); in xfs_qm_init_quotainfo() 756 if (!xfs_sb_version_has_pquotino(&mp->m_sb) && in xfs_qm_qino_alloc() 761 (mp->m_sb.sb_gquotino != NULLFSINO)) { in xfs_qm_qino_alloc() 762 ino = mp->m_sb.sb_gquotino; in xfs_qm_qino_alloc() 764 mp->m_sb.sb_pquotino != NULLFSINO)) in xfs_qm_qino_alloc() 767 (mp->m_sb.sb_pquotino != NULLFSINO)) { in xfs_qm_qino_alloc() 768 ino = mp->m_sb.sb_pquotino; in xfs_qm_qino_alloc() [all …]
|
D | xfs_qm_bhv.c | 78 quotaondisk = xfs_sb_version_hasquota(&mp->m_sb) && in xfs_qm_newmount() 79 (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_ACCT); in xfs_qm_newmount() 82 uquotaondisk = mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT; in xfs_qm_newmount() 83 pquotaondisk = mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT; in xfs_qm_newmount() 84 gquotaondisk = mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT; in xfs_qm_newmount()
|
D | xfs_rtalloc.c | 115 for (bbno = omp->m_sb.sb_rbmblocks - 1; in xfs_rtcopy_summary() 168 error = xfs_rtfind_forw(mp, tp, end, mp->m_sb.sb_rextents - 1, in xfs_rtallocate_range() 251 maxlen = min(mp->m_sb.sb_rextents, i + maxlen) - i; in xfs_rtallocate_extent_block() 446 if (bno >= mp->m_sb.sb_rextents) in xfs_rtallocate_extent_near() 447 bno = mp->m_sb.sb_rextents - 1; in xfs_rtallocate_extent_near() 450 maxlen = min(mp->m_sb.sb_rextents, bno + maxlen) - bno; in xfs_rtallocate_extent_near() 593 else if (i > 0 && (int)bbno + i < mp->m_sb.sb_rbmblocks - 1) in xfs_rtallocate_extent_near() 599 else if (i <= 0 && (int)bbno - i < mp->m_sb.sb_rbmblocks - 1) in xfs_rtallocate_extent_near() 655 for (i = 0; i < mp->m_sb.sb_rbmblocks; i++) { in xfs_rtallocate_extent_size() 714 for (i = 0; i < mp->m_sb.sb_rbmblocks; i++) { in xfs_rtallocate_extent_size() [all …]
|
D | xfs_qm_syscalls.c | 40 mp->m_sb.sb_qflags = (mp->m_qflags & ~(flags)) & XFS_MOUNT_QUOTA_ALL; in xfs_qm_log_quotaoff() 134 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff() 324 if (!xfs_sb_version_hasquota(&mp->m_sb) || flags == 0 || in xfs_qm_scall_trunc_qfiles() 332 error = xfs_qm_scall_trunc_qfile(mp, mp->m_sb.sb_uquotino); in xfs_qm_scall_trunc_qfiles() 337 error = xfs_qm_scall_trunc_qfile(mp, mp->m_sb.sb_gquotino); in xfs_qm_scall_trunc_qfiles() 342 error = xfs_qm_scall_trunc_qfile(mp, mp->m_sb.sb_pquotino); in xfs_qm_scall_trunc_qfiles() 377 if (((mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon() 379 ((mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon() 381 ((mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon() 385 __func__, flags, mp->m_sb.sb_qflags); in xfs_qm_scall_quotaon() [all …]
|
D | xfs_super.c | 250 xfs_sb_t *sbp = &mp->m_sb; in xfs_set_inode_alloc() 469 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize); in xfs_setup_devices() 476 if (xfs_sb_version_hassector(&mp->m_sb)) in xfs_setup_devices() 477 log_sector_size = mp->m_sb.sb_logsectsize; in xfs_setup_devices() 485 mp->m_sb.sb_sectsize); in xfs_setup_devices() 790 xfs_sb_t *sbp = &mp->m_sb; in xfs_fs_statfs() 958 if (xfs_sb_version_haslogv2(&mp->m_sb)) { in xfs_finish_flags() 960 mp->m_sb.sb_logsunit > XLOG_BIG_RECORD_BSIZE) { in xfs_finish_flags() 961 mp->m_logbsize = mp->m_sb.sb_logsunit; in xfs_finish_flags() 963 mp->m_logbsize < mp->m_sb.sb_logsunit) { in xfs_finish_flags() [all …]
|
D | xfs_icreate_item.c | 172 if (agno >= mp->m_sb.sb_agcount) { in xlog_recover_icreate_commit_pass2() 177 if (!agbno || agbno == NULLAGBLOCK || agbno >= mp->m_sb.sb_agblocks) { in xlog_recover_icreate_commit_pass2() 182 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_icreate_commit_pass2() 192 if (!length || length >= mp->m_sb.sb_agblocks) { in xlog_recover_icreate_commit_pass2() 209 if ((count >> mp->m_sb.sb_inopblog) != length) { in xlog_recover_icreate_commit_pass2()
|
D | xfs_bmap_util.c | 86 prod = align / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 93 ASSERT(ap->length % mp->m_sb.sb_rextsize == 0); in xfs_bmap_rtalloc() 105 ralen = ap->length / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 113 if (ralen * mp->m_sb.sb_rextsize >= MAXEXTLEN) in xfs_bmap_rtalloc() 114 ralen = MAXEXTLEN / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 134 ap->blkno = rtx * mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 144 do_div(ap->blkno, mp->m_sb.sb_rextsize); in xfs_bmap_rtalloc() 154 ap->blkno *= mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 155 ralen *= mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 794 resrtextents /= mp->m_sb.sb_rextsize; in xfs_alloc_file_space() [all …]
|