Searched refs:igeo (Results 1 - 8 of 8) sorted by relevance

/linux-master/fs/xfs/libxfs/
H A Dxfs_ialloc.c709 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); local
723 igeo->ialloc_min_blks < igeo->ialloc_blks)
731 newlen = igeo->ialloc_inos;
732 if (igeo->maxicount &&
734 igeo->maxicount)
736 args.minlen = args.maxlen = igeo->ialloc_blks;
745 igeo->ialloc_blks;
766 args.minalignslop = igeo->cluster_align - 1;
769 args.minleft = igeo
1827 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
2880 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
2986 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
[all...]
/linux-master/fs/xfs/
H A Dxfs_icreate_item.c150 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
202 if (length != igeo->ialloc_blks &&
203 length != igeo->ialloc_min_blks) {
223 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster);
224 nbufs = length / igeo->blocks_per_cluster;
229 agbno + i * igeo->blocks_per_cluster);
H A Dxfs_iwalk.c102 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
111 for (i = 0; i < XFS_INODES_PER_CHUNK; i += igeo->inodes_per_cluster) {
114 imask = xfs_inobt_maskn(i, igeo->inodes_per_cluster);
118 igeo->blocks_per_cluster * mp->m_bsize,
121 agbno += igeo->blocks_per_cluster;
H A Dxfs_mount.c603 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
605 igeo->attr_fork_offset = xfs_bmap_compute_attr_offset(mp);
606 ASSERT(igeo->attr_fork_offset < XFS_LITINO(mp));
639 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
753 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) {
757 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw));
H A Dxfs_inode.c2383 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
2392 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster;
2394 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) {
2402 ASSERT(ioffset % igeo->inodes_per_cluster == 0);
2419 mp->m_bsize * igeo->blocks_per_cluster,
2440 for (i = 0; i < igeo->inodes_per_cluster; i++)
/linux-master/fs/xfs/scrub/
H A Dialloc_repair.c296 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
302 nr_inodes = min_t(unsigned int, igeo->inodes_per_cluster,
311 imap.im_len = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster);
323 irec_index < igeo->inodes_per_cluster;
345 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
355 if (!IS_ALIGNED(agbno, igeo->blocks_per_cluster) ||
356 !IS_ALIGNED(agbno + len, igeo->blocks_per_cluster))
364 (!IS_ALIGNED(agbno, igeo->cluster_align) ||
365 !IS_ALIGNED(agbno + len, igeo->cluster_align)))
417 struct xfs_ino_geometry *igeo local
[all...]
H A Dialloc.c503 struct xfs_ino_geometry *igeo = M_IGEO(mp); local
521 igeo->cluster_align_inodes) - 1;
549 if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) {
554 if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) {
559 if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK)
568 iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster;
H A Dagheader.c876 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); local
907 if (level <= 0 || level > igeo->inobt_maxlevels)
916 if (level <= 0 || level > igeo->inobt_maxlevels)

Completed in 204 milliseconds