Searched refs:ageo (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ag.c | 967 struct xfs_ag_geometry *ageo) in xfs_ag_get_geometry() argument 985 memset(ageo, 0, sizeof(*ageo)); in xfs_ag_get_geometry() 986 ageo->ag_number = pag_agno(pag); in xfs_ag_get_geometry() 989 ageo->ag_icount = be32_to_cpu(agi->agi_count); in xfs_ag_get_geometry() 990 ageo->ag_ifree = be32_to_cpu(agi->agi_freecount); in xfs_ag_get_geometry() 993 ageo->ag_length = be32_to_cpu(agf->agf_length); in xfs_ag_get_geometry() 998 ageo->ag_freeblks = freeblks; in xfs_ag_get_geometry() 999 xfs_ag_geom_health(pag, ageo); in xfs_ag_get_geometry()
|
| H A D | xfs_ag.h | 339 int xfs_ag_get_geometry(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
|
| /linux/fs/xfs/ |
| H A D | xfs_ioctl.c | 385 struct xfs_ag_geometry ageo; in xfs_ioc_ag_geometry() local 388 if (copy_from_user(&ageo, arg, sizeof(ageo))) in xfs_ioc_ag_geometry() 390 if (ageo.ag_flags) in xfs_ioc_ag_geometry() 392 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry() 395 pag = xfs_perag_get(mp, ageo.ag_number); in xfs_ioc_ag_geometry() 399 error = xfs_ag_get_geometry(pag, &ageo); in xfs_ioc_ag_geometry() 404 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
|
| H A D | xfs_health.c | 534 struct xfs_ag_geometry *ageo) in xfs_ag_geom_health() argument 540 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()
|