Lines Matching refs:newlen
177 xfs_agino_t newlen, in xfs_inobt_insert() argument
188 thisino < newino + newlen; in xfs_inobt_insert()
620 xfs_agino_t newlen; /* new number of inodes */ in xfs_ialloc_ag_alloc() local
646 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc()
648 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()
788 newlen = XFS_AGB_TO_AGINO(args.mp, args.len); in xfs_ialloc_ag_alloc()
789 ASSERT(newlen <= XFS_INODES_PER_CHUNK); in xfs_ialloc_ag_alloc()
790 allocmask = (1 << (newlen / XFS_INODES_PER_HOLEMASK_BIT)) - 1; in xfs_ialloc_ag_alloc()
807 error = xfs_ialloc_inode_init(args.mp, tp, NULL, newlen, pag->pag_agno, in xfs_ialloc_ag_alloc()
825 rec.ir_count = newlen; in xfs_ialloc_ag_alloc()
826 rec.ir_freecount = newlen; in xfs_ialloc_ag_alloc()
866 error = xfs_inobt_insert(args.mp, tp, agbp, pag, newino, newlen, in xfs_ialloc_ag_alloc()
873 newlen, XFS_BTNUM_FINO); in xfs_ialloc_ag_alloc()
882 be32_add_cpu(&agi->agi_count, newlen); in xfs_ialloc_ag_alloc()
883 be32_add_cpu(&agi->agi_freecount, newlen); in xfs_ialloc_ag_alloc()
884 pag->pagi_freecount += newlen; in xfs_ialloc_ag_alloc()
885 pag->pagi_count += newlen; in xfs_ialloc_ag_alloc()
896 xfs_trans_mod_sb(tp, XFS_TRANS_SB_ICOUNT, (long)newlen); in xfs_ialloc_ag_alloc()
897 xfs_trans_mod_sb(tp, XFS_TRANS_SB_IFREE, (long)newlen); in xfs_ialloc_ag_alloc()