Lines Matching refs:ir_startino
41 cur->bc_rec.i.ir_startino = ino; in xfs_inobt_lookup()
60 rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino); in xfs_inobt_update()
80 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_btrec_to_irec()
118 if (!xfs_verify_agino(cur->bc_ag.pag, irec->ir_startino)) in xfs_inobt_get_rec()
143 irec->ir_startino, irec->ir_count, irec->ir_freecount, in xfs_inobt_get_rec()
452 if (trec->ir_startino != srec->ir_startino) in __xfs_inobt_can_merge()
486 ASSERT(trec->ir_startino == srec->ir_startino); in __xfs_inobt_rec_merge()
533 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i); in xfs_inobt_insert_sprec()
563 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec()
577 trace_xfs_irec_merge_pre(mp, pag->pag_agno, rec.ir_startino, in xfs_inobt_insert_sprec()
578 rec.ir_holemask, nrec->ir_startino, in xfs_inobt_insert_sprec()
584 trace_xfs_irec_merge_post(mp, pag->pag_agno, nrec->ir_startino, in xfs_inobt_insert_sprec()
823 rec.ir_startino = newino; in xfs_ialloc_ag_alloc()
840 rec.ir_startino), in xfs_ialloc_ag_alloc()
1097 (trec.ir_startino + XFS_INODES_PER_CHUNK - 1) < in xfs_dialloc_ag_inobt()
1098 rec.ir_startino - pagino; in xfs_dialloc_ag_inobt()
1108 pag->pagl_leftrec = trec.ir_startino; in xfs_dialloc_ag_inobt()
1109 pag->pagl_rightrec = rec.ir_startino; in xfs_dialloc_ag_inobt()
1119 pag->pagl_leftrec = trec.ir_startino; in xfs_dialloc_ag_inobt()
1120 pag->pagl_rightrec = rec.ir_startino; in xfs_dialloc_ag_inobt()
1143 pag->pagl_leftrec = trec.ir_startino; in xfs_dialloc_ag_inobt()
1144 pag->pagl_rightrec = rec.ir_startino; in xfs_dialloc_ag_inobt()
1223 ASSERT((XFS_AGINO_TO_OFFSET(mp, rec.ir_startino) % in xfs_dialloc_ag_inobt()
1225 ino = XFS_AGINO_TO_INO(mp, pag->pag_agno, rec.ir_startino + offset); in xfs_dialloc_ag_inobt()
1282 if (pagino >= rec->ir_startino && in xfs_dialloc_ag_finobt_near()
1283 pagino < (rec->ir_startino + XFS_INODES_PER_CHUNK)) in xfs_dialloc_ag_finobt_near()
1313 if ((pagino - rec->ir_startino + XFS_INODES_PER_CHUNK - 1) > in xfs_dialloc_ag_finobt_near()
1314 (rrec.ir_startino - pagino)) { in xfs_dialloc_ag_finobt_near()
1398 error = xfs_inobt_lookup(cur, frec->ir_startino, XFS_LOOKUP_EQ, &i); in xfs_dialloc_ag_update_inobt()
1409 ASSERT((XFS_AGINO_TO_OFFSET(cur->bc_mp, rec.ir_startino) % in xfs_dialloc_ag_update_inobt()
1481 ASSERT((XFS_AGINO_TO_OFFSET(mp, rec.ir_startino) % in xfs_dialloc_ag()
1483 ino = XFS_AGINO_TO_INO(mp, pag->pag_agno, rec.ir_startino + offset); in xfs_dialloc_ag()
1821 rec->ir_startino); in xfs_difree_inode_chunk()
1941 off = agino - rec.ir_startino; in xfs_difree_inobt()
1961 rec.ir_startino); in xfs_difree_inobt()
2031 int offset = agino - ibtrec->ir_startino; in xfs_difree_finobt()
2037 error = xfs_inobt_lookup(cur, ibtrec->ir_startino, XFS_LOOKUP_EQ, &i); in xfs_difree_finobt()
2247 if (rec.ir_startino > agino || in xfs_imap_lookup()
2248 rec.ir_startino + M_IGEO(mp)->ialloc_inos <= agino) in xfs_imap_lookup()
2253 (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino))) in xfs_imap_lookup()
2256 *chunk_agbno = XFS_AGINO_TO_AGBNO(mp, rec.ir_startino); in xfs_imap_lookup()
2654 if (error || irec.ir_startino > high) in xfs_ialloc_has_inode_record()
2657 agino = irec.ir_startino; in xfs_ialloc_has_inode_record()
2961 if (rec.ir_startino + XFS_INODES_PER_CHUNK > agino) { in xfs_ialloc_check_shrink()