Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_ag.c551 struct xfs_ag_geometry *ageo) in xfs_ag_get_geometry()
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()
548 xfs_ag_get_geometry( struct xfs_mount *mp, xfs_agnumber_t agno, struct xfs_ag_geometry *ageo) xfs_ag_get_geometry() argument
H A Dxfs_ag.h30 struct xfs_ag_geometry *ageo);
H A Dxfs_health.h187 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_health.c338 struct xfs_ag_geometry *ageo) in xfs_ag_geom_health()
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()
336 xfs_ag_geom_health( struct xfs_perag *pag, struct xfs_ag_geometry *ageo) xfs_ag_geom_health() argument
H A Dxfs_ioctl.c1029 struct xfs_ag_geometry ageo; in xfs_ioc_ag_geometry() local
1032 if (copy_from_user(&ageo, arg, sizeof(ageo))) in xfs_ioc_ag_geometry()
1034 if (ageo.ag_flags) in xfs_ioc_ag_geometry()
1036 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry()
1039 error = xfs_ag_get_geometry(mp, ageo.ag_number, &ageo); in xfs_ioc_ag_geometry()
1043 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_health.c345 struct xfs_ag_geometry *ageo) in xfs_ag_geom_health()
351 ageo->ag_sick = 0; in xfs_ag_geom_health()
352 ageo->ag_checked = 0; in xfs_ag_geom_health()
357 ageo->ag_checked |= m->ioctl_mask; in xfs_ag_geom_health()
359 ageo->ag_sick |= m->ioctl_mask; in xfs_ag_geom_health()
343 xfs_ag_geom_health( struct xfs_perag *pag, struct xfs_ag_geometry *ageo) xfs_ag_geom_health() argument
H A Dxfs_ioctl.c959 struct xfs_ag_geometry ageo; in xfs_ioc_ag_geometry() local
962 if (copy_from_user(&ageo, arg, sizeof(ageo))) in xfs_ioc_ag_geometry()
964 if (ageo.ag_flags) in xfs_ioc_ag_geometry()
966 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry()
969 pag = xfs_perag_get(mp, ageo.ag_number); in xfs_ioc_ag_geometry()
973 error = xfs_ag_get_geometry(pag, &ageo); in xfs_ioc_ag_geometry()
978 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_ag.c1087 struct xfs_ag_geometry *ageo) in xfs_ag_get_geometry()
1105 memset(ageo, 0, sizeof(*ageo)); in xfs_ag_get_geometry()
1106 ageo->ag_number = pag->pag_agno; in xfs_ag_get_geometry()
1109 ageo->ag_icount = be32_to_cpu(agi->agi_count); in xfs_ag_get_geometry()
1110 ageo->ag_ifree = be32_to_cpu(agi->agi_freecount); in xfs_ag_get_geometry()
1113 ageo->ag_length = be32_to_cpu(agf->agf_length); in xfs_ag_get_geometry()
1118 ageo->ag_freeblks = freeblks; in xfs_ag_get_geometry()
1119 xfs_ag_geom_health(pag, ageo); in xfs_ag_get_geometry()
1085 xfs_ag_get_geometry( struct xfs_perag *pag, struct xfs_ag_geometry *ageo) xfs_ag_get_geometry() argument
H A Dxfs_health.h187 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
H A Dxfs_ag.h330 int xfs_ag_get_geometry(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);

Completed in 8 milliseconds