Searched refs:ageo (Results 1 - 5 of 5) sorted by relevance

/linux-master/fs/xfs/
H A Dxfs_health.c442 struct xfs_ag_geometry *ageo)
448 ageo->ag_sick = 0;
449 ageo->ag_checked = 0;
454 ageo->ag_checked |= m->ioctl_mask;
456 ageo->ag_sick |= m->ioctl_mask;
440 xfs_ag_geom_health( struct xfs_perag *pag, struct xfs_ag_geometry *ageo) argument
H A Dxfs_ioctl.c960 struct xfs_ag_geometry ageo; local
963 if (copy_from_user(&ageo, arg, sizeof(ageo)))
965 if (ageo.ag_flags)
967 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved)))
970 pag = xfs_perag_get(mp, ageo.ag_number);
974 error = xfs_ag_get_geometry(pag, &ageo);
979 if (copy_to_user(arg, &ageo, sizeof(ageo)))
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_ag.c1112 struct xfs_ag_geometry *ageo)
1130 memset(ageo, 0, sizeof(*ageo));
1131 ageo->ag_number = pag->pag_agno;
1134 ageo->ag_icount = be32_to_cpu(agi->agi_count);
1135 ageo->ag_ifree = be32_to_cpu(agi->agi_freecount);
1138 ageo->ag_length = be32_to_cpu(agf->agf_length);
1143 ageo->ag_freeblks = freeblks;
1144 xfs_ag_geom_health(pag, ageo);
1110 xfs_ag_get_geometry( struct xfs_perag *pag, struct xfs_ag_geometry *ageo) argument
H A Dxfs_health.h279 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
H A Dxfs_ag.h346 int xfs_ag_get_geometry(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);

Completed in 117 milliseconds