Searched refs:ageo (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/fs/xfs/libxfs/ |
D | xfs_ag.c | 551 struct xfs_ag_geometry *ageo) in xfs_ag_get_geometry() argument 575 memset(ageo, 0, sizeof(*ageo)); in xfs_ag_get_geometry() 576 ageo->ag_number = agno; in xfs_ag_get_geometry() 579 ageo->ag_icount = be32_to_cpu(agi->agi_count); in xfs_ag_get_geometry() 580 ageo->ag_ifree = be32_to_cpu(agi->agi_freecount); in xfs_ag_get_geometry() 583 ageo->ag_length = be32_to_cpu(agf->agf_length); in xfs_ag_get_geometry() 588 ageo->ag_freeblks = freeblks; in xfs_ag_get_geometry() 589 xfs_ag_geom_health(pag, ageo); in xfs_ag_get_geometry()
|
D | xfs_ag.h | 30 struct xfs_ag_geometry *ageo);
|
D | xfs_health.h | 187 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
|
/Linux-v5.10/fs/xfs/ |
D | xfs_health.c | 338 struct xfs_ag_geometry *ageo) in xfs_ag_geom_health() argument 344 ageo->ag_sick = 0; in xfs_ag_geom_health() 345 ageo->ag_checked = 0; in xfs_ag_geom_health() 350 ageo->ag_checked |= m->ioctl_mask; in xfs_ag_geom_health() 352 ageo->ag_sick |= m->ioctl_mask; in xfs_ag_geom_health()
|
D | xfs_ioctl.c | 1028 struct xfs_ag_geometry ageo; in xfs_ioc_ag_geometry() local 1031 if (copy_from_user(&ageo, arg, sizeof(ageo))) in xfs_ioc_ag_geometry() 1033 if (ageo.ag_flags) in xfs_ioc_ag_geometry() 1035 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry() 1038 error = xfs_ag_get_geometry(mp, ageo.ag_number, &ageo); in xfs_ioc_ag_geometry() 1042 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
|