Searched refs:sb_agblocks (Results 1 – 25 of 25) sorted by relevance
/fs/xfs/ |
D | xfs_fsops.c | 63 geo->agblocks = mp->m_sb.sb_agblocks; in xfs_fs_geometry() 191 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 195 nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks; in xfs_growfs_data_private() 242 (agno * (xfs_rfsblock_t)mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 244 agsize = mp->m_sb.sb_agblocks; in xfs_growfs_data_private() 571 be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
|
D | xfs_mount.h | 316 do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agno() 324 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
|
D | xfs_filestream.c | 159 minfree = mp->m_sb.sb_agblocks / 50; in xfs_filestream_pick_ag()
|
D | xfs_bmap_item.c | 441 bmap->me_len >= mp->m_sb.sb_agblocks || in xfs_bui_recover()
|
D | xfs_rmap_item.c | 460 rmap->me_len >= mp->m_sb.sb_agblocks || in xfs_rui_recover()
|
D | xfs_refcount_item.c | 439 refc->pe_len >= mp->m_sb.sb_agblocks || in xfs_cui_recover()
|
D | xfs_mount.c | 375 if (mp->m_dalign && (sbp->sb_agblocks % mp->m_dalign)) { in xfs_update_alignment() 378 sbp->sb_agblocks); in xfs_update_alignment()
|
D | xfs_extfree_item.c | 524 extp->ext_len >= mp->m_sb.sb_agblocks) { in xfs_efi_recover()
|
D | xfs_super.c | 623 icount += sbp->sb_agblocks - 1; in xfs_set_inode_alloc() 624 do_div(icount, sbp->sb_agblocks); in xfs_set_inode_alloc() 631 agino = XFS_OFFBNO_TO_AGINO(mp, sbp->sb_agblocks - 1, 0); in xfs_set_inode_alloc()
|
D | xfs_ioctl.c | 1233 if (extsize_fsb > mp->m_sb.sb_agblocks / 2) in xfs_ioctl_setattr_check_extsize() 1284 if (cowextsize_fsb > mp->m_sb.sb_agblocks / 2) in xfs_ioctl_setattr_check_cowextsize()
|
D | xfs_bmap_util.c | 378 ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks); in xfs_bmap_count_blocks()
|
D | xfs_log_recover.c | 3865 if (!agbno || agbno == NULLAGBLOCK || agbno >= mp->m_sb.sb_agblocks) { in xlog_recover_do_icreate_pass2() 3880 if (!length || length >= mp->m_sb.sb_agblocks) { in xlog_recover_do_icreate_pass2()
|
/fs/xfs/libxfs/ |
D | xfs_sb.c | 380 to->sb_agblocks = be32_to_cpu(from->sb_agblocks); in __xfs_sb_from_disk() 523 to->sb_agblocks = cpu_to_be32(from->sb_agblocks); in xfs_sb_to_disk()
|
D | xfs_fs.h | 229 #define XFS_MAX_DBLOCKS(s) ((xfs_rfsblock_t)(s)->sb_agcount * (s)->sb_agblocks) 231 (s)->sb_agblocks + XFS_MIN_AG_BLOCKS)
|
D | xfs_ialloc.c | 764 args.max_agbno = round_down(args.mp->m_sb.sb_agblocks, in xfs_ialloc_ag_alloc() 2158 if (agbno >= mp->m_sb.sb_agblocks) { in xfs_difree() 2160 __func__, agbno, mp->m_sb.sb_agblocks); in xfs_difree() 2285 if (agno >= mp->m_sb.sb_agcount || agbno >= mp->m_sb.sb_agblocks || in xfs_imap() 2299 if (agbno >= mp->m_sb.sb_agblocks) { in xfs_imap() 2303 (unsigned long)mp->m_sb.sb_agblocks); in xfs_imap()
|
D | xfs_alloc.c | 131 return mp->m_sb.sb_agblocks - blocks; in xfs_alloc_ag_max_usable() 541 be32_to_cpu(agfl->agfl_bno[i]) >= mp->m_sb.sb_agblocks) in xfs_agfl_verify() 970 args->max_agbno = args->mp->m_sb.sb_agblocks - 1; in xfs_alloc_ag_vextent_near() 1923 (mp->m_sb.sb_agblocks + 1) / 2); in xfs_alloc_compute_maxlevels() 2614 agsize = mp->m_sb.sb_agblocks; in xfs_alloc_vextent() 2868 XFS_WANT_CORRUPTED_GOTO(mp, agbno < mp->m_sb.sb_agblocks, err); in xfs_free_extent()
|
D | xfs_format.h | 117 xfs_agblock_t sb_agblocks; /* size of an allocation group */ member 208 __be32 sb_agblocks; /* size of an allocation group */ member 831 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno)))
|
D | xfs_refcount.c | 853 ext.rc_startblock = cur->bc_mp->m_sb.sb_agblocks; in xfs_refcount_adjust_extents() 1379 ext.rc_startblock = cur->bc_mp->m_sb.sb_agblocks + in xfs_refcount_adjust_cow_extents() 1621 if (mp->m_sb.sb_agblocks >= XFS_REFC_COW_START) in xfs_refcount_recover_cow_leftovers()
|
D | xfs_refcount_btree.c | 394 mp->m_refc_mnr, mp->m_sb.sb_agblocks); in xfs_refcountbt_compute_maxlevels()
|
D | xfs_btree.h | 496 XFS_FSB_TO_AGBNO(mp, fsb) < mp->m_sb.sb_agblocks)
|
D | xfs_ialloc_btree.c | 514 (uint64_t)mp->m_sb.sb_agblocks * mp->m_sb.sb_inopblock / in xfs_inobt_max_size()
|
D | xfs_rmap_btree.c | 535 mp->m_rmap_mnr, mp->m_sb.sb_agblocks); in xfs_rmapbt_compute_maxlevels()
|
D | xfs_dir2.c | 217 agblkno < mp->m_sb.sb_agblocks && in xfs_dir_ino_validate()
|
D | xfs_bmap.c | 396 ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks); in xfs_bmap_check_leaf_extents() 613 ASSERT(agbno < mp->m_sb.sb_agblocks); in xfs_bmap_add_free() 614 ASSERT(len < mp->m_sb.sb_agblocks); in xfs_bmap_add_free() 615 ASSERT(agbno + len <= mp->m_sb.sb_agblocks); in xfs_bmap_add_free() 3428 XFS_FSB_TO_AGBNO(mp, x) < mp->m_sb.sb_agblocks) in xfs_bmap_adjacent() 3983 args.agbno >= mp->m_sb.sb_agblocks) in xfs_bmap_remap_alloc()
|
D | xfs_btree.c | 192 xfs_agblock_t agblocks = cur->bc_mp->m_sb.sb_agblocks; in xfs_btree_check_sptr() 4535 (be32_to_cpu(block->bb_u.s.bb_leftsib) >= mp->m_sb.sb_agblocks && in xfs_btree_sblock_verify() 4539 (be32_to_cpu(block->bb_u.s.bb_rightsib) >= mp->m_sb.sb_agblocks && in xfs_btree_sblock_verify()
|