Lines Matching refs:agino

1085 	xfs_agino_t		agino,  in xfs_ialloc_get_rec()  argument
1092 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_EQ, &i); in xfs_ialloc_get_rec()
1918 xfs_agino_t agino, in xfs_difree_inobt() argument
1933 ASSERT(XFS_AGINO_TO_AGBNO(mp, agino) < be32_to_cpu(agi->agi_length)); in xfs_difree_inobt()
1947 if ((error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i))) { in xfs_difree_inobt()
1963 off = agino - rec.ir_startino; in xfs_difree_inobt()
2049 xfs_agino_t agino, in xfs_difree_finobt() argument
2056 int offset = agino - ibtrec->ir_startino; in xfs_difree_finobt()
2156 xfs_agino_t agino; /* allocation group inode number */ in xfs_difree() local
2174 agino = XFS_INO_TO_AGINO(mp, inode); in xfs_difree()
2175 if (inode != XFS_AGINO_TO_INO(mp, agno, agino)) { in xfs_difree()
2178 (unsigned long long)XFS_AGINO_TO_INO(mp, agno, agino)); in xfs_difree()
2182 agbno = XFS_AGINO_TO_AGBNO(mp, agino); in xfs_difree()
2202 error = xfs_difree_inobt(mp, tp, agbp, agino, xic, &rec); in xfs_difree()
2210 error = xfs_difree_finobt(mp, tp, agbp, agino, &rec); in xfs_difree()
2226 xfs_agino_t agino, in xfs_imap_lookup() argument
2253 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i); in xfs_imap_lookup()
2267 if (rec.ir_startino > agino || in xfs_imap_lookup()
2268 rec.ir_startino + mp->m_ialloc_inos <= agino) in xfs_imap_lookup()
2273 (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino))) in xfs_imap_lookup()
2293 xfs_agino_t agino; /* inode number within alloc group */ in xfs_imap() local
2308 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_imap()
2309 agbno = XFS_AGINO_TO_AGBNO(mp, agino); in xfs_imap()
2311 ino != XFS_AGINO_TO_INO(mp, agno, agino)) { in xfs_imap()
2330 if (ino != XFS_AGINO_TO_INO(mp, agno, agino)) { in xfs_imap()
2334 XFS_AGINO_TO_INO(mp, agno, agino)); in xfs_imap()
2351 error = xfs_imap_lookup(mp, tp, agno, agino, agbno, in xfs_imap()
2382 error = xfs_imap_lookup(mp, tp, agno, agino, agbno, in xfs_imap()
2687 xfs_agino_t agino; in xfs_ialloc_has_inode_record() local
2700 agino = irec.ir_startino; in xfs_ialloc_has_inode_record()
2703 i++, agino += XFS_INODES_PER_HOLEMASK_BIT) { in xfs_ialloc_has_inode_record()
2706 if (agino + XFS_INODES_PER_HOLEMASK_BIT > low && in xfs_ialloc_has_inode_record()
2707 agino <= high) { in xfs_ialloc_has_inode_record()