Home
last modified time | relevance | path

Searched refs:agcount (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_ag.c176 xfs_agnumber_t agcount) in xfs_initialize_perag_data()
189 for (index = 0; index < agcount; index++) { in xfs_initialize_perag_data()
281 xfs_agnumber_t agcount, in __xfs_ag_block_count()
284 ASSERT(agno < agcount); in __xfs_ag_block_count()
286 if (agno < agcount - 1) in __xfs_ag_block_count()
338 xfs_agnumber_t agcount, in xfs_initialize_perag()
352 for (index = 0; index < agcount; index++) { in xfs_initialize_perag()
410 pag->block_count = __xfs_ag_block_count(mp, index, agcount, in xfs_initialize_perag()
417 index = xfs_set_inode_alloc(mp, agcount); in xfs_initialize_perag()
432 for (index = first_initialised; index < agcount; inde in xfs_initialize_perag()
174 xfs_initialize_perag_data( struct xfs_mount *mp, xfs_agnumber_t agcount) xfs_initialize_perag_data() argument
278 __xfs_ag_block_count( struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agnumber_t agcount, xfs_rfsblock_t dblocks) __xfs_ag_block_count() argument
336 xfs_initialize_perag( struct xfs_mount *mp, xfs_agnumber_t agcount, xfs_rfsblock_t dblocks, xfs_agnumber_t *maxagi) xfs_initialize_perag() argument
[all...]
H A Dxfs_fs.h116 __u32 agcount; /* number of allocation groups */ member
142 __u32 agcount; /* number of allocation groups */ member
169 __u32 agcount; /* number of allocation groups */ member
H A Dxfs_sb.c312 uint32_t agcount = 0; in xfs_validate_sb_common() local
387 /* Compute agcount for this number of dblocks and agblocks */ in xfs_validate_sb_common()
389 agcount = div_u64_rem(sbp->sb_dblocks, sbp->sb_agblocks, &rem); in xfs_validate_sb_common()
391 agcount++; in xfs_validate_sb_common()
420 agcount == 0 || agcount != sbp->sb_agcount || in xfs_validate_sb_common()
1192 geo->agcount = sbp->sb_agcount; in xfs_fs_geometry()
H A Dxfs_ag.h136 int xfs_initialize_perag(struct xfs_mount *mp, xfs_agnumber_t agcount,
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_sb.c224 uint32_t agcount = 0; in xfs_validate_sb_common() local
284 /* Compute agcount for this number of dblocks and agblocks */ in xfs_validate_sb_common()
286 agcount = div_u64_rem(sbp->sb_dblocks, sbp->sb_agblocks, &rem); in xfs_validate_sb_common()
288 agcount++; in xfs_validate_sb_common()
318 agcount == 0 || agcount != sbp->sb_agcount || in xfs_validate_sb_common()
885 xfs_agnumber_t agcount) in xfs_initialize_perag_data()
898 for (index = 0; index < agcount; index++) { in xfs_initialize_perag_data()
1124 geo->agcount = sbp->sb_agcount; in xfs_fs_geometry()
883 xfs_initialize_perag_data( struct xfs_mount *mp, xfs_agnumber_t agcount) xfs_initialize_perag_data() argument
H A Dxfs_fs.h131 __u32 agcount; /* number of allocation groups */ member
157 __u32 agcount; /* number of allocation groups */ member
184 __u32 agcount; /* number of allocation groups */ member
H A Dxfs_ialloc.c935 xfs_agnumber_t agcount; /* number of ag's in the filesystem */ in xfs_ialloc_ag_select() local
952 agcount = mp->m_maxagi; in xfs_ialloc_ag_select()
957 if (pagno >= agcount) in xfs_ialloc_ag_select()
961 ASSERT(pagno < agcount); in xfs_ialloc_ag_select()
1033 if (agno >= agcount) in xfs_ialloc_ag_select()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_super.h87 xfs_agnumber_t agcount);
H A Dxfs_mount.c175 xfs_agnumber_t agcount, in xfs_initialize_perag()
188 for (index = 0; index < agcount; index++) { in xfs_initialize_perag()
236 index = xfs_set_inode_alloc(mp, agcount); in xfs_initialize_perag()
250 for (index = first_initialised; index < agcount; index++) { in xfs_initialize_perag()
173 xfs_initialize_perag( xfs_mount_t *mp, xfs_agnumber_t agcount, xfs_agnumber_t *maxagi) xfs_initialize_perag() argument
H A Dxfs_ioctl32.h173 __u32 agcount; /* number of allocation groups */ member
H A Dxfs_super.c237 * An agcount independent of that in the mount structure is provided
246 xfs_agnumber_t agcount) in xfs_set_inode_alloc()
268 max_metadata = agcount; in xfs_set_inode_alloc()
273 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_set_inode_alloc()
285 for (index = 0; index < agcount; index++) { in xfs_set_inode_alloc()
312 return (mp->m_flags & XFS_MOUNT_32BITINODES) ? maxagi : agcount; in xfs_set_inode_alloc()
244 xfs_set_inode_alloc( struct xfs_mount *mp, xfs_agnumber_t agcount) xfs_set_inode_alloc() argument
H A Dxfs_mount.h405 extern int xfs_initialize_perag(xfs_mount_t *mp, xfs_agnumber_t agcount,
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_super.h91 xfs_agnumber_t agcount);
H A Dxfs_ioctl32.h149 __u32 agcount; /* number of allocation groups */ member
H A Dxfs_super.c266 * An agcount independent of that in the mount structure is provided
275 xfs_agnumber_t agcount) in xfs_set_inode_alloc()
297 max_metadata = agcount; in xfs_set_inode_alloc()
302 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_set_inode_alloc()
314 for (index = 0; index < agcount; index++) { in xfs_set_inode_alloc()
325 return xfs_is_inode32(mp) ? maxagi : agcount; in xfs_set_inode_alloc()
273 xfs_set_inode_alloc( struct xfs_mount *mp, xfs_agnumber_t agcount) xfs_set_inode_alloc() argument

Completed in 23 milliseconds