Searched refs:ageo (Results 1 – 3 of 3) sorted by relevance
388 struct xfs_ag_geometry ageo; in xfs_ioc_ag_geometry() local391 if (copy_from_user(&ageo, arg, sizeof(ageo))) in xfs_ioc_ag_geometry()393 if (ageo.ag_flags) in xfs_ioc_ag_geometry()395 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry()398 pag = xfs_perag_get(mp, ageo.ag_number); in xfs_ioc_ag_geometry()402 error = xfs_ag_get_geometry(pag, &ageo); in xfs_ioc_ag_geometry()407 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
534 struct xfs_ag_geometry *ageo) in xfs_ag_geom_health() argument540 ageo->ag_sick = 0; in xfs_ag_geom_health()541 ageo->ag_checked = 0; in xfs_ag_geom_health()546 ageo->ag_checked |= m->ioctl_mask; in xfs_ag_geom_health()548 ageo->ag_sick |= m->ioctl_mask; in xfs_ag_geom_health()
334 int xfs_ag_get_geometry(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);