/linux-6.1.9/fs/xfs/scrub/ |
D | ialloc.c | 60 xfs_agino_t agino) in xchk_iallocbt_chunk_xref_other() argument 72 error = xfs_ialloc_has_inode_record(*pcur, agino, agino, &has_irec); in xchk_iallocbt_chunk_xref_other() 85 xfs_agino_t agino, in xchk_iallocbt_chunk_xref() argument 93 xchk_iallocbt_chunk_xref_other(sc, irec, agino); in xchk_iallocbt_chunk_xref() 103 xfs_agino_t agino, in xchk_iallocbt_chunk() argument 110 bno = XFS_AGINO_TO_AGBNO(mp, agino); in xchk_iallocbt_chunk() 115 xchk_iallocbt_chunk_xref(bs->sc, irec, agino, bno, len); in xchk_iallocbt_chunk() 152 xfs_agino_t agino; in xchk_iallocbt_check_cluster_ifree() local 165 agino = irec->ir_startino + irec_ino; in xchk_iallocbt_check_cluster_ifree() 166 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_ag.pag->pag_agno, agino); in xchk_iallocbt_check_cluster_ifree() [all …]
|
D | inode.c | 463 xfs_agino_t agino; in xchk_inode_xref_finobt() local 470 agino = XFS_INO_TO_AGINO(sc->mp, ino); in xchk_inode_xref_finobt() 476 error = xfs_inobt_lookup(sc->sa.fino_cur, agino, XFS_LOOKUP_LE, in xchk_inode_xref_finobt() 491 if (rec.ir_startino > agino || in xchk_inode_xref_finobt() 492 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt() 495 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
|
D | agheader.c | 855 xfs_agino_t agino; in xchk_agi() local 903 agino = be32_to_cpu(agi->agi_newino); in xchk_agi() 904 if (!xfs_verify_agino_or_null(pag, agino)) in xchk_agi() 907 agino = be32_to_cpu(agi->agi_dirino); in xchk_agi() 908 if (!xfs_verify_agino_or_null(pag, agino)) in xchk_agi() 913 agino = be32_to_cpu(agi->agi_unlinked[i]); in xchk_agi() 914 if (!xfs_verify_agino_or_null(pag, agino)) in xchk_agi()
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_types.c | 84 xfs_agino_t agino) in xfs_verify_agno_agino() argument 90 return agino >= first && agino <= last; in xfs_verify_agno_agino() 103 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_verify_ino() local 107 if (XFS_AGINO_TO_INO(mp, agno, agino) != ino) in xfs_verify_ino() 109 return xfs_verify_agno_agino(mp, agno, agino); in xfs_verify_ino()
|
D | xfs_ag.h | 156 xfs_verify_agino(struct xfs_perag *pag, xfs_agino_t agino) in xfs_verify_agino() argument 158 if (agino < pag->agino_min) in xfs_verify_agino() 160 if (agino > pag->agino_max) in xfs_verify_agino() 170 xfs_verify_agino_or_null(struct xfs_perag *pag, xfs_agino_t agino) in xfs_verify_agino_or_null() argument 172 if (agino == NULLAGINO) in xfs_verify_agino_or_null() 174 return xfs_verify_agino(pag, agino); in xfs_verify_agino_or_null()
|
D | xfs_ialloc.c | 936 xfs_agino_t agino, in xfs_ialloc_get_rec() argument 943 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_EQ, &i); in xfs_ialloc_get_rec() 1892 xfs_agino_t agino, in xfs_difree_inobt() argument 1905 ASSERT(XFS_AGINO_TO_AGBNO(mp, agino) < be32_to_cpu(agi->agi_length)); in xfs_difree_inobt() 1919 if ((error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i))) { in xfs_difree_inobt() 1941 off = agino - rec.ir_startino; in xfs_difree_inobt() 2026 xfs_agino_t agino, in xfs_difree_finobt() argument 2031 int offset = agino - ibtrec->ir_startino; in xfs_difree_finobt() 2140 xfs_agino_t agino; /* allocation group inode number */ in xfs_difree() local 2154 agino = XFS_INO_TO_AGINO(mp, inode); in xfs_difree() [all …]
|
/linux-6.1.9/fs/xfs/ |
D | xfs_iwalk.c | 130 xfs_agino_t agino, /* starting inode of chunk */ in xfs_iwalk_adjust_start() argument 136 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start() 265 xfs_agino_t agino, in xfs_iwalk_ag_start() argument 283 if (agino == 0) in xfs_iwalk_ag_start() 293 error = xfs_inobt_lookup(*curpp, agino, XFS_LOOKUP_LE, has_more); in xfs_iwalk_ag_start() 319 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) in xfs_iwalk_ag_start() 327 xfs_iwalk_adjust_start(agino, irec); in xfs_iwalk_ag_start() 410 xfs_agino_t agino; in xfs_iwalk_ag() local 416 agino = XFS_INO_TO_AGINO(mp, iwag->startino); in xfs_iwalk_ag() 417 error = xfs_iwalk_ag_start(iwag, agino, &cur, &agi_bp, &has_more); in xfs_iwalk_ag()
|
D | xfs_icache.c | 226 xfs_agino_t agino, in xfs_perag_set_inode_tag() argument 235 radix_tree_tag_set(&pag->pag_ici_root, agino, tag); in xfs_perag_set_inode_tag() 265 xfs_agino_t agino, in xfs_perag_clear_inode_tag() argument 276 if (agino != NULLAGINO) in xfs_perag_clear_inode_tag() 277 radix_tree_tag_clear(&pag->pag_ici_root, agino, tag); in xfs_perag_clear_inode_tag() 576 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget_cache_miss() local 666 error = radix_tree_insert(&pag->pag_ici_root, agino, ip); in xfs_iget_cache_miss() 713 xfs_agino_t agino; in xfs_iget() local 726 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget() 731 ip = radix_tree_lookup(&pag->pag_ici_root, agino); in xfs_iget()
|
D | xfs_trace.h | 881 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 883 TP_ARGS(mp, agno, agino, holemask, nagino, nholemask), 887 __field(xfs_agino_t, agino) 895 __entry->agino = agino; 903 __entry->agino, 910 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 912 TP_ARGS(mp, agno, agino, holemask), 916 __field(xfs_agino_t, agino) 922 __entry->agino = agino; 929 __entry->agino, [all …]
|
D | xfs_inode.c | 1828 xfs_agino_t agino) in xfs_iunlink_lookup() argument 1833 ip = radix_tree_lookup(&pag->pag_ici_root, agino); in xfs_iunlink_lookup() 1917 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink_insert_inode() local 1918 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_insert_inode() 1927 if (next_agino == agino || in xfs_iunlink_insert_inode() 1937 error = xfs_iunlink_update_backref(pag, agino, next_agino); in xfs_iunlink_insert_inode() 1953 return xfs_iunlink_update_bucket(tp, pag, agibp, bucket_index, agino); in xfs_iunlink_insert_inode() 1999 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink_remove_inode() local 2001 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink_remove_inode() 2035 if (head_agino != agino) { in xfs_iunlink_remove_inode()
|
D | xfs_itable.c | 253 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, startino); in xfs_bulkstat_already_done() local 256 startino != XFS_AGINO_TO_INO(mp, agno, agino); in xfs_bulkstat_already_done()
|
D | xfs_log_recover.c | 2685 xfs_agino_t prev_agino, agino; in xlog_recover_iunlink_bucket() local 2688 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_iunlink_bucket() 2689 while (agino != NULLAGINO) { in xlog_recover_iunlink_bucket() 2691 XFS_AGINO_TO_INO(mp, pag->pag_agno, agino), in xlog_recover_iunlink_bucket() 2699 agino = ip->i_next_unlinked; in xlog_recover_iunlink_bucket() 2717 prev_agino = agino; in xlog_recover_iunlink_bucket()
|
D | xfs_super.c | 274 xfs_agino_t agino; in xfs_set_inode_alloc() local 294 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc() 295 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_set_inode_alloc() 310 ino = XFS_AGINO_TO_INO(mp, index, agino); in xfs_set_inode_alloc()
|