Lines Matching refs:dageo

96 	struct xfs_da_geometry	*dageo;  in xfs_da_mount()  local
113 dageo = mp->m_dir_geo; 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()
119 dageo->node_hdr_size = sizeof(struct xfs_da3_node_hdr); in xfs_da_mount()
120 dageo->leaf_hdr_size = sizeof(struct xfs_dir3_leaf_hdr); in xfs_da_mount()
121 dageo->free_hdr_size = sizeof(struct xfs_dir3_free_hdr); in xfs_da_mount()
122 dageo->data_entry_offset = in xfs_da_mount()
125 dageo->node_hdr_size = sizeof(struct xfs_da_node_hdr); in xfs_da_mount()
126 dageo->leaf_hdr_size = sizeof(struct xfs_dir2_leaf_hdr); in xfs_da_mount()
127 dageo->free_hdr_size = sizeof(struct xfs_dir2_free_hdr); in xfs_da_mount()
128 dageo->data_entry_offset = in xfs_da_mount()
131 dageo->leaf_max_ents = (dageo->blksize - dageo->leaf_hdr_size) / in xfs_da_mount()
133 dageo->free_max_bests = (dageo->blksize - dageo->free_hdr_size) / in xfs_da_mount()
136 dageo->data_first_offset = dageo->data_entry_offset + in xfs_da_mount()
144 dageo->datablk = xfs_dir2_byte_to_da(dageo, XFS_DIR2_DATA_OFFSET); in xfs_da_mount()
145 dageo->leafblk = xfs_dir2_byte_to_da(dageo, XFS_DIR2_LEAF_OFFSET); in xfs_da_mount()
146 dageo->freeblk = xfs_dir2_byte_to_da(dageo, XFS_DIR2_FREE_OFFSET); in xfs_da_mount()
147 dageo->node_ents = (dageo->blksize - dageo->node_hdr_size) / in xfs_da_mount()
149 dageo->magicpct = (dageo->blksize * 37) / 100; in xfs_da_mount()
152 dageo = mp->m_attr_geo; 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()
155 dageo->blksize = 1 << dageo->blklog; in xfs_da_mount()
156 dageo->fsbcount = 1; in xfs_da_mount()
157 dageo->node_hdr_size = mp->m_dir_geo->node_hdr_size; in xfs_da_mount()
158 dageo->node_ents = (dageo->blksize - dageo->node_hdr_size) / in xfs_da_mount()
160 dageo->magicpct = (dageo->blksize * 37) / 100; in xfs_da_mount()