Searched refs:igeo (Results 1 – 6 of 6) sorted by relevance
/linux/fs/xfs/libxfs/ |
H A D | xfs_ialloc.c | 708 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() local 722 igeo->ialloc_min_blks < igeo->ialloc_blks) in xfs_ialloc_ag_alloc() 730 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc() 731 if (igeo->maxicount && in xfs_ialloc_ag_alloc() 733 igeo->maxicount) in xfs_ialloc_ag_alloc() 735 args.minlen = args.maxlen = igeo->ialloc_blks; in xfs_ialloc_ag_alloc() 744 igeo->ialloc_blks; in xfs_ialloc_ag_alloc() 765 args.minalignslop = igeo->cluster_align - 1; in xfs_ialloc_ag_alloc() 768 args.minleft = igeo->inobt_maxlevels; in xfs_ialloc_ag_alloc() 797 if (igeo->ialloc_align) { in xfs_ialloc_ag_alloc() [all …]
|
/linux/fs/xfs/ |
H A D | xfs_icreate_item.c | 150 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2() local 202 if (length != igeo->ialloc_blks && in xlog_recover_icreate_commit_pass2() 203 length != igeo->ialloc_min_blks) { in xlog_recover_icreate_commit_pass2() 223 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2() 224 nbufs = length / igeo->blocks_per_cluster; in xlog_recover_icreate_commit_pass2() 229 agbno + i * igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()
|
H A D | xfs_mount.c | 616 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() local 618 igeo->attr_fork_offset = xfs_bmap_compute_attr_offset(mp); in xfs_mount_setup_inode_geom() 619 ASSERT(igeo->attr_fork_offset < XFS_LITINO(mp)); in xfs_mount_setup_inode_geom() 677 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs() local 794 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { in xfs_mountfs() 798 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)); in xfs_mountfs()
|
/linux/fs/xfs/scrub/ |
H A D | ialloc_repair.c | 294 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_process_cluster() local 300 nr_inodes = min_t(unsigned int, igeo->inodes_per_cluster, in xrep_ibt_process_cluster() 309 imap.im_len = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xrep_ibt_process_cluster() 321 irec_index < igeo->inodes_per_cluster; in xrep_ibt_process_cluster() 343 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_check_inode_ext() local 353 if (!IS_ALIGNED(agbno, igeo->blocks_per_cluster) || in xrep_ibt_check_inode_ext() 354 !IS_ALIGNED(agbno + len, igeo->blocks_per_cluster)) in xrep_ibt_check_inode_ext() 362 (!IS_ALIGNED(agbno, igeo->cluster_align) || in xrep_ibt_check_inode_ext() 363 !IS_ALIGNED(agbno + len, igeo->cluster_align))) in xrep_ibt_check_inode_ext() 415 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_record_inode_blocks() local [all …]
|
H A D | ialloc.c | 501 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment() local 519 igeo->cluster_align_inodes) - 1; in xchk_iallocbt_rec_alignment() 547 if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) { in xchk_iallocbt_rec_alignment() 552 if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) { in xchk_iallocbt_rec_alignment() 557 if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK) in xchk_iallocbt_rec_alignment() 566 iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster; in xchk_iallocbt_rec_alignment()
|
H A D | agheader.c | 978 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); in xchk_agi() local 1009 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi() 1018 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()
|