Home
last modified time | relevance | path

Searched refs:ir_startino (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/fs/xfs/scrub/
H A Dialloc.c91 if (frec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inobt_xref_finobt()
95 frec_idx = agino - frec.ir_startino; in xchk_inobt_xref_finobt()
147 for (i = agino, rec_idx = agino - irec->ir_startino; in xchk_inobt_chunk_xref_finobt()
194 if (irec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_finobt_xref_inobt()
198 rec_idx = agino - irec.ir_startino; in xchk_finobt_xref_inobt()
235 for (i = agino, rec_idx = agino - frec->ir_startino; in xchk_finobt_chunk_xref_inobt()
321 agino = irec->ir_startino + irec_ino; in xchk_iallocbt_check_cluster_ifree()
382 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino + cluster_base); in xchk_iallocbt_check_cluster()
401 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster()
410 trace_xchk_iallocbt_check_cluster(mp, agno, irec->ir_startino, in xchk_iallocbt_check_cluster()
[all …]
H A Dinode.c630 if (rec.ir_startino > agino || in xchk_inode_xref_finobt()
631 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt()
634 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_ialloc_btree.c198 key->inobt.ir_startino = rec->inobt.ir_startino; in xfs_inobt_init_key_from_rec()
208 x = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_init_high_key_from_rec()
210 key->inobt.ir_startino = cpu_to_be32(x); in xfs_inobt_init_high_key_from_rec()
218 rec->inobt.ir_startino = cpu_to_be32(cur->bc_rec.i.ir_startino); in xfs_inobt_init_rec_from_cur()
263 return (int64_t)be32_to_cpu(key->inobt.ir_startino) - in xfs_inobt_key_diff()
264 cur->bc_rec.i.ir_startino; in xfs_inobt_key_diff()
274 ASSERT(!mask || mask->inobt.ir_startino); in xfs_inobt_diff_two_keys()
276 return (int64_t)be32_to_cpu(k1->inobt.ir_startino) - in xfs_inobt_diff_two_keys()
277 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_diff_two_keys()
374 return be32_to_cpu(k1->inobt.ir_startino) < in xfs_inobt_keys_inorder()
[all …]
H A Dxfs_ialloc.c41 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()
107 if (!xfs_verify_agino(cur->bc_ag.pag, irec->ir_startino)) in xfs_inobt_check_irec()
110 irec->ir_startino + XFS_INODES_PER_CHUNK - 1)) in xfs_inobt_check_irec()
143 irec->ir_startino, irec->ir_count, irec->ir_freecount, in xfs_inobt_complain_bad_rec()
477 if (trec->ir_startino != srec->ir_startino) in __xfs_inobt_can_merge()
511 ASSERT(trec->ir_startino == srec->ir_startino); in __xfs_inobt_rec_merge()
558 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i); in xfs_inobt_insert_sprec()
588 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec()
[all …]
H A Dxfs_format.h1441 __be32 ir_startino; /* starting inode number */ member
1456 xfs_agino_t ir_startino; /* starting inode number */ member
1473 __be32 ir_startino; /* starting inode number */ member
/openbmc/linux/fs/xfs/
H A Dxfs_iwalk.c106 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_iwalk_ichunk_ra()
136 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start()
219 irec->ir_startino + j); in xfs_iwalk_ag_recs()
313 irec->ir_startino + XFS_INODES_PER_CHUNK - 1); in xfs_iwalk_ag_start()
319 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) in xfs_iwalk_ag_start()
369 ASSERT(next_agino >= irec->ir_startino + XFS_INODES_PER_CHUNK); in xfs_iwalk_run_callbacks()
434 rec_fsino = XFS_AGINO_TO_INO(mp, pag->pag_agno, irec->ir_startino); in xfs_iwalk_ag()
H A Dxfs_itable.c395 .xi_startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino), in xfs_inumbers_walk()
407 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + in xfs_inumbers_walk()
H A Dxfs_trace.h4000 __entry->startino = irec->ir_startino;