Lines Matching refs:geo
55 xfs_fsop_geom_t *geo, in xfs_fs_geometry() argument
59 memset(geo, 0, sizeof(*geo)); in xfs_fs_geometry()
61 geo->blocksize = mp->m_sb.sb_blocksize; in xfs_fs_geometry()
62 geo->rtextsize = mp->m_sb.sb_rextsize; in xfs_fs_geometry()
63 geo->agblocks = mp->m_sb.sb_agblocks; in xfs_fs_geometry()
64 geo->agcount = mp->m_sb.sb_agcount; in xfs_fs_geometry()
65 geo->logblocks = mp->m_sb.sb_logblocks; in xfs_fs_geometry()
66 geo->sectsize = mp->m_sb.sb_sectsize; in xfs_fs_geometry()
67 geo->inodesize = mp->m_sb.sb_inodesize; in xfs_fs_geometry()
68 geo->imaxpct = mp->m_sb.sb_imax_pct; in xfs_fs_geometry()
69 geo->datablocks = mp->m_sb.sb_dblocks; in xfs_fs_geometry()
70 geo->rtblocks = mp->m_sb.sb_rblocks; in xfs_fs_geometry()
71 geo->rtextents = mp->m_sb.sb_rextents; in xfs_fs_geometry()
72 geo->logstart = mp->m_sb.sb_logstart; in xfs_fs_geometry()
73 ASSERT(sizeof(geo->uuid)==sizeof(mp->m_sb.sb_uuid)); in xfs_fs_geometry()
74 memcpy(geo->uuid, &mp->m_sb.sb_uuid, sizeof(mp->m_sb.sb_uuid)); in xfs_fs_geometry()
76 geo->sunit = mp->m_sb.sb_unit; in xfs_fs_geometry()
77 geo->swidth = mp->m_sb.sb_width; in xfs_fs_geometry()
80 geo->version = XFS_FSOP_GEOM_VERSION; in xfs_fs_geometry()
81 geo->flags = XFS_FSOP_GEOM_FLAGS_NLINK | in xfs_fs_geometry()
115 geo->logsectsize = xfs_sb_version_hassector(&mp->m_sb) ? in xfs_fs_geometry()
117 geo->rtsectsize = mp->m_sb.sb_blocksize; in xfs_fs_geometry()
118 geo->dirblocksize = mp->m_dir_geo->blksize; in xfs_fs_geometry()
121 geo->flags |= in xfs_fs_geometry()
124 geo->logsunit = mp->m_sb.sb_logsunit; in xfs_fs_geometry()