Home
last modified time | relevance | path

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

/linux-6.15/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()
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()
320 agino = irec->ir_startino + irec_ino; in xchk_iallocbt_check_cluster_ifree()
409 irec->ir_startino, imap.im_blkno, imap.im_len, in xchk_iallocbt_check_cluster()
411 XFS_INO_TO_OFFSET(mp, irec->ir_startino + in xchk_iallocbt_check_cluster()
520 if (irec->ir_startino & imask) in xchk_iallocbt_rec_alignment()
531 if (irec->ir_startino != iabt->next_startino) { in xchk_iallocbt_rec_alignment()
[all …]
H A Dialloc_repair.c201 ri->rie.ir_startino = NULLAGINO; in xrep_ibt_stash()
226 xfs_agino_t ir_startino; in xrep_ibt_cluster_record() local
231 ir_startino = cluster_ir_startino; in xrep_ibt_cluster_record()
233 ir_startino = rounddown(ir_startino, XFS_INODES_PER_CHUNK); in xrep_ibt_cluster_record()
240 if (ri->rie.ir_startino != NULLAGINO && in xrep_ibt_cluster_record()
241 ri->rie.ir_startino + XFS_INODES_PER_CHUNK <= ir_startino) { in xrep_ibt_cluster_record()
247 if (ri->rie.ir_startino == NULLAGINO) { in xrep_ibt_cluster_record()
248 ri->rie.ir_startino = ir_startino; in xrep_ibt_cluster_record()
476 ri->rie.ir_startino = NULLAGINO; in xrep_ibt_find_inodes()
486 if (ri->rie.ir_startino != NULLAGINO) in xrep_ibt_find_inodes()
[all …]
H A Discan.c72 if (skip_agino < rec->ir_startino) in xchk_iscan_mask_skipino()
77 rec->ir_free |= xfs_inobt_maskn(skip_agino - rec->ir_startino, 1); in xchk_iscan_mask_skipino()
143 XFS_IS_CORRUPT(mp, lastino >= rec.ir_startino)) { in xchk_iscan_find_next()
147 lastino = rec.ir_startino + XFS_INODES_PER_CHUNK - 1; in xchk_iscan_find_next()
153 if (rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_iscan_find_next()
165 if (agino >= rec.ir_startino) in xchk_iscan_find_next()
167 agino + 1 - rec.ir_startino); in xchk_iscan_find_next()
178 *cursor = rec.ir_startino + next; in xchk_iscan_find_next()
H A Dinode.c686 if (rec.ir_startino > agino || in xchk_inode_xref_finobt()
687 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt()
690 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
H A Drmap_repair.c697 agino = irec.ir_startino; in xrep_rmap_walk_inobt()
712 for (i = 0, agino = irec.ir_startino; in xrep_rmap_walk_inobt()
H A Dagheader_repair.c1251 for (i = 0, agino = irec.ir_startino; in xrep_iunlink_mark_ondisk_rec()
H A Dtrace.h2110 __entry->startino = rec->ir_startino;
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_ialloc_btree.c207 key->inobt.ir_startino = rec->inobt.ir_startino; in xfs_inobt_init_key_from_rec()
217 x = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_init_high_key_from_rec()
219 key->inobt.ir_startino = cpu_to_be32(x); in xfs_inobt_init_high_key_from_rec()
227 rec->inobt.ir_startino = cpu_to_be32(cur->bc_rec.i.ir_startino); in xfs_inobt_init_rec_from_cur()
274 cur->bc_rec.i.ir_startino; in xfs_inobt_key_diff()
284 ASSERT(!mask || mask->inobt.ir_startino); in xfs_inobt_diff_two_keys()
287 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_diff_two_keys()
385 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
395 be32_to_cpu(r2->inobt.ir_startino); in xfs_inobt_recs_inorder()
405 ASSERT(!mask || mask->inobt.ir_startino); in xfs_inobt_keys_contiguous()
[all …]
H A Dxfs_ialloc.c42 cur->bc_rec.i.ir_startino = ino; in xfs_inobt_lookup()
61 rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino); in xfs_inobt_update()
81 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_btrec_to_irec()
488 if (trec->ir_startino != srec->ir_startino) in __xfs_inobt_can_merge()
522 ASSERT(trec->ir_startino == srec->ir_startino); in __xfs_inobt_rec_merge()
595 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec()
902 rec.ir_startino = newino; in xfs_ialloc_ag_alloc()
1206 rec.ir_startino - pagino; in xfs_dialloc_ag_inobt()
2002 rec->ir_startino); in xfs_difree_inode_chunk()
2129 off = agino - rec.ir_startino; in xfs_difree_inobt()
[all …]
H A Dxfs_format.h1601 __be32 ir_startino; /* starting inode number */ member
1616 xfs_agino_t ir_startino; /* starting inode number */ member
1633 __be32 ir_startino; /* starting inode number */ member
/linux-6.15/fs/xfs/
H A Dxfs_iwalk.c107 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_iwalk_ichunk_ra()
137 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start()
211 irec->ir_startino + j), in xfs_iwalk_ag_recs()
308 irec->ir_startino + XFS_INODES_PER_CHUNK - 1); in xfs_iwalk_ag_start()
314 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) in xfs_iwalk_ag_start()
362 ASSERT(next_agino >= iwag->recs[iwag->nr_recs - 1].ir_startino + in xfs_iwalk_run_callbacks()
427 rec_fsino = xfs_agino_to_ino(pag, irec->ir_startino); in xfs_iwalk_ag()
H A Dxfs_itable.c428 .xi_startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino), in xfs_inumbers_walk()
440 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + in xfs_inumbers_walk()
H A Dxfs_trace.h1114 __entry->agino = rec->ir_startino;
1116 __entry->nagino = nrec->ir_startino;
1141 __entry->agino = nrec->ir_startino;
4597 __entry->startino = irec->ir_startino;