/linux-5.19.10/fs/xfs/libxfs/ |
D | xfs_types.c | 124 xfs_agino_t agino) in xfs_verify_agino() argument 130 return agino >= first && agino <= last; in xfs_verify_agino() 141 xfs_agino_t agino) in xfs_verify_agino_or_null() argument 143 return agino == NULLAGINO || xfs_verify_agino(mp, agno, agino); in xfs_verify_agino_or_null() 156 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_verify_ino() local 160 if (XFS_AGINO_TO_INO(mp, agno, agino) != ino) in xfs_verify_ino() 162 return xfs_verify_agino(mp, agno, agino); in xfs_verify_ino()
|
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 …]
|
D | xfs_types.h | 192 xfs_agino_t agino); 194 xfs_agino_t agino);
|
/linux-5.19.10/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() 116 xchk_iallocbt_chunk_xref(bs->sc, irec, agino, bno, len); in xchk_iallocbt_chunk() 153 xfs_agino_t agino; in xchk_iallocbt_check_cluster_ifree() local 166 agino = irec->ir_startino + irec_ino; in xchk_iallocbt_check_cluster_ifree() 167 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 | 856 xfs_agino_t agino; in xchk_agi() local 904 agino = be32_to_cpu(agi->agi_newino); in xchk_agi() 905 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi() 908 agino = be32_to_cpu(agi->agi_dirino); in xchk_agi() 909 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi() 914 agino = be32_to_cpu(agi->agi_unlinked[i]); in xchk_agi() 915 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi()
|
/linux-5.19.10/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_inode.c | 1856 xfs_agino_t agino) in xfs_iunlink_lookup_backref() argument 1860 iu = rhashtable_lookup_fast(&pag->pagi_unlinked_hash, &agino, in xfs_iunlink_lookup_backref() 1925 xfs_agino_t agino, in xfs_iunlink_change_backref() argument 1932 iu = rhashtable_lookup_fast(&pag->pagi_unlinked_hash, &agino, in xfs_iunlink_change_backref() 2039 xfs_agino_t agino, in xfs_iunlink_update_dinode() argument 2050 trace_xfs_iunlink_update_dinode(mp, pag->pag_agno, agino, in xfs_iunlink_update_dinode() 2135 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink() local 2136 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink() 2157 if (next_agino == agino || in xfs_iunlink() 2181 error = xfs_iunlink_add_backref(pag, agino, next_agino); in xfs_iunlink() [all …]
|
D | xfs_icache.c | 225 xfs_agino_t agino, in xfs_perag_set_inode_tag() argument 234 radix_tree_tag_set(&pag->pag_ici_root, agino, tag); in xfs_perag_set_inode_tag() 264 xfs_agino_t agino, in xfs_perag_clear_inode_tag() argument 275 if (agino != NULLAGINO) in xfs_perag_clear_inode_tag() 276 radix_tree_tag_clear(&pag->pag_ici_root, agino, tag); in xfs_perag_clear_inode_tag() 575 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget_cache_miss() local 665 error = radix_tree_insert(&pag->pag_ici_root, agino, ip); in xfs_iget_cache_miss() 712 xfs_agino_t agino; in xfs_iget() local 725 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget() 730 ip = radix_tree_lookup(&pag->pag_ici_root, agino); in xfs_iget()
|
D | xfs_trace.h | 878 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 880 TP_ARGS(mp, agno, agino, holemask, nagino, nholemask), 884 __field(xfs_agino_t, agino) 892 __entry->agino = agino; 900 __entry->agino, 907 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 909 TP_ARGS(mp, agno, agino, holemask), 913 __field(xfs_agino_t, agino) 919 __entry->agino = agino; 926 __entry->agino, [all …]
|
D | xfs_itable.c | 249 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, startino); in xfs_bulkstat_already_done() local 252 startino != XFS_AGINO_TO_INO(mp, agno, agino); in xfs_bulkstat_already_done()
|
D | xfs_log_recover.c | 2673 xfs_agino_t agino, in xlog_recover_process_one_iunlink() argument 2682 ino = XFS_AGINO_TO_INO(mp, agno, agino); in xlog_recover_process_one_iunlink() 2700 agino = be32_to_cpu(dip->di_next_unlinked); in xlog_recover_process_one_iunlink() 2704 return agino; in xlog_recover_process_one_iunlink() 2753 xfs_agino_t agino; in xlog_recover_process_iunlinks() local 2781 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks() 2782 while (agino != NULLAGINO) { in xlog_recover_process_iunlinks() 2783 agino = xlog_recover_process_one_iunlink(mp, in xlog_recover_process_iunlinks() 2784 pag->pag_agno, agino, bucket); in xlog_recover_process_iunlinks()
|
D | xfs_super.c | 273 xfs_agino_t agino; in xfs_set_inode_alloc() local 293 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc() 294 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_set_inode_alloc() 309 ino = XFS_AGINO_TO_INO(mp, index, agino); in xfs_set_inode_alloc()
|