/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_ialloc_btree.c | 198 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() [all...] |
H A D | xfs_ialloc.c | 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() 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() [all...] |
H A D | xfs_format.h | 1441 __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
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | ialloc.c | 91 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() 396 * ir_startino can be large enough to make im_boffset nonzero. in xchk_iallocbt_check_cluster() 401 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster() [all...] |
H A D | inode.c | 626 if (rec.ir_startino > agino || in xchk_inode_xref_finobt() 627 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt() 630 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | ialloc.c | 166 agino = irec->ir_startino + irec_ino; in xchk_iallocbt_check_cluster_ifree() 229 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino + cluster_base); in xchk_iallocbt_check_cluster() 243 * ir_startino can be large enough to make im_boffset nonzero. in xchk_iallocbt_check_cluster() 248 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster() 257 trace_xchk_iallocbt_check_cluster(mp, agno, irec->ir_startino, in xchk_iallocbt_check_cluster() 260 XFS_INO_TO_OFFSET(mp, irec->ir_startino + in xchk_iallocbt_check_cluster() 369 if (irec->ir_startino & imask) in xchk_iallocbt_rec_alignment() 380 if (irec->ir_startino != iabt->next_startino) { in xchk_iallocbt_rec_alignment() 396 if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) { in xchk_iallocbt_rec_alignment() 401 if (irec->ir_startino in xchk_iallocbt_rec_alignment() [all...] |
H A D | inode.c | 467 if (rec.ir_startino > agino || in xchk_inode_xref_finobt() 468 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt() 471 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_ialloc_btree.c | 194 key->inobt.ir_startino = rec->inobt.ir_startino; in xfs_inobt_init_key_from_rec() 204 x = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_init_high_key_from_rec() 206 key->inobt.ir_startino = cpu_to_be32(x); in xfs_inobt_init_high_key_from_rec() 214 rec->inobt.ir_startino = cpu_to_be32(cur->bc_rec.i.ir_startino); in xfs_inobt_init_rec_from_cur() 259 return (int64_t)be32_to_cpu(key->inobt.ir_startino) - in xfs_inobt_key_diff() 260 cur->bc_rec.i.ir_startino; in xfs_inobt_key_diff() 269 return (int64_t)be32_to_cpu(k1->inobt.ir_startino) - in xfs_inobt_diff_two_keys() 270 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_diff_two_keys() [all...] |
H A D | xfs_ialloc.c | 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() 119 if (!xfs_verify_agino(mp, agno, irec->ir_startino)) in xfs_inobt_get_rec() 143 irec->ir_startino, irec->ir_count, irec->ir_freecount, in xfs_inobt_get_rec() 455 if (trec->ir_startino != srec->ir_startino) in __xfs_inobt_can_merge() 489 ASSERT(trec->ir_startino in __xfs_inobt_rec_merge() [all...] |
H A D | xfs_format.h | 1528 __be32 ir_startino; /* starting inode number */ member 1543 xfs_agino_t ir_startino; /* starting inode number */ member 1560 __be32 ir_startino; /* starting inode number */ member
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_iwalk.c | 101 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_iwalk_ichunk_ra() 131 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start() 214 ino = XFS_AGINO_TO_INO(mp, agno, 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() 366 ASSERT(next_agino >= irec->ir_startino + XFS_INODES_PER_CHUNK); in xfs_iwalk_run_callbacks() 420 rec_fsino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino); in xfs_iwalk_ag()
|
H A D | xfs_itable.c | 336 .xi_startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino), in xfs_inumbers_walk() 348 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + in xfs_inumbers_walk()
|
H A D | xfs_trace.h | 3628 __entry->startino = irec->ir_startino;
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_iwalk.c | 106 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 D | xfs_itable.c | 395 .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 D | xfs_trace.h | 4005 __entry->startino = irec->ir_startino;
|