Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/
Dxfs_health.c442 struct xfs_ag_geometry *ageo) in xfs_ag_geom_health() argument
448 ageo->ag_sick = 0; in xfs_ag_geom_health()
449 ageo->ag_checked = 0; in xfs_ag_geom_health()
454 ageo->ag_checked |= m->ioctl_mask; in xfs_ag_geom_health()
456 ageo->ag_sick |= m->ioctl_mask; in xfs_ag_geom_health()
Dxfs_ioctl.c375 struct xfs_ag_geometry ageo; in xfs_ioc_ag_geometry() local
378 if (copy_from_user(&ageo, arg, sizeof(ageo))) in xfs_ioc_ag_geometry()
380 if (ageo.ag_flags) in xfs_ioc_ag_geometry()
382 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry()
385 pag = xfs_perag_get(mp, ageo.ag_number); in xfs_ioc_ag_geometry()
389 error = xfs_ag_get_geometry(pag, &ageo); in xfs_ioc_ag_geometry()
394 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_ag.c1015 struct xfs_ag_geometry *ageo) in xfs_ag_get_geometry() argument
1033 memset(ageo, 0, sizeof(*ageo)); in xfs_ag_get_geometry()
1034 ageo->ag_number = pag->pag_agno; in xfs_ag_get_geometry()
1037 ageo->ag_icount = be32_to_cpu(agi->agi_count); in xfs_ag_get_geometry()
1038 ageo->ag_ifree = be32_to_cpu(agi->agi_freecount); in xfs_ag_get_geometry()
1041 ageo->ag_length = be32_to_cpu(agf->agf_length); in xfs_ag_get_geometry()
1046 ageo->ag_freeblks = freeblks; in xfs_ag_get_geometry()
1047 xfs_ag_geom_health(pag, ageo); in xfs_ag_get_geometry()
Dxfs_health.h281 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
Dxfs_ag.h333 int xfs_ag_get_geometry(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);