/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_types.c | 100 xfs_agino_t agino) in xfs_verify_agino() argument 106 return agino >= first && agino <= last; in xfs_verify_agino() 117 xfs_agino_t agino) in xfs_verify_agino_or_null() argument 119 return agino == NULLAGINO || xfs_verify_agino(mp, agno, agino); in xfs_verify_agino_or_null() 132 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_verify_ino() local 136 if (XFS_AGINO_TO_INO(mp, agno, agino) != ino) in xfs_verify_ino() 138 return xfs_verify_agino(mp, agno, agino); in xfs_verify_ino()
|
D | xfs_ialloc.c | 1069 xfs_agino_t agino, in xfs_ialloc_get_rec() argument 1076 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_EQ, &i); in xfs_ialloc_get_rec() 1902 xfs_agino_t agino, in xfs_difree_inobt() argument 1917 ASSERT(XFS_AGINO_TO_AGBNO(mp, agino) < be32_to_cpu(agi->agi_length)); in xfs_difree_inobt() 1931 if ((error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i))) { in xfs_difree_inobt() 1947 off = agino - rec.ir_startino; in xfs_difree_inobt() 2033 xfs_agino_t agino, in xfs_difree_finobt() argument 2040 int offset = agino - ibtrec->ir_startino; in xfs_difree_finobt() 2140 xfs_agino_t agino; /* allocation group inode number */ in xfs_difree() local 2158 agino = XFS_INO_TO_AGINO(mp, inode); in xfs_difree() [all …]
|
D | xfs_types.h | 193 xfs_agino_t agino); 195 xfs_agino_t agino);
|
/Linux-v5.4/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_private.a.agno, agino); in xchk_iallocbt_check_cluster_ifree() [all …]
|
D | inode.c | 425 xfs_agino_t agino; in xchk_inode_xref_finobt() local 432 agino = XFS_INO_TO_AGINO(sc->mp, ino); in xchk_inode_xref_finobt() 438 error = xfs_inobt_lookup(sc->sa.fino_cur, agino, XFS_LOOKUP_LE, in xchk_inode_xref_finobt() 453 if (rec.ir_startino > agino || in xchk_inode_xref_finobt() 454 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt() 457 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
|
D | agheader.c | 822 xfs_agino_t agino; in xchk_agi() local 871 agino = be32_to_cpu(agi->agi_newino); in xchk_agi() 872 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi() 875 agino = be32_to_cpu(agi->agi_dirino); in xchk_agi() 876 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi() 881 agino = be32_to_cpu(agi->agi_unlinked[i]); in xchk_agi() 882 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_iwalk.c | 122 xfs_agino_t agino, /* starting inode of chunk */ in xfs_iwalk_adjust_start() argument 128 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start() 258 xfs_agino_t agino, in xfs_iwalk_ag_start() argument 275 if (agino == 0) in xfs_iwalk_ag_start() 285 error = xfs_inobt_lookup(*curpp, agino, XFS_LOOKUP_LE, has_more); in xfs_iwalk_ag_start() 307 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) in xfs_iwalk_ag_start() 315 xfs_iwalk_adjust_start(agino, irec); in xfs_iwalk_ag_start() 387 xfs_agino_t agino; in xfs_iwalk_ag() local 393 agino = XFS_INO_TO_AGINO(mp, iwag->startino); in xfs_iwalk_ag() 394 error = xfs_iwalk_ag_start(iwag, agno, agino, &cur, &agi_bp, &has_more); in xfs_iwalk_ag()
|
D | xfs_inode.c | 1967 xfs_agino_t agino) in xfs_iunlink_lookup_backref() argument 1971 iu = rhashtable_lookup_fast(&pag->pagi_unlinked_hash, &agino, in xfs_iunlink_lookup_backref() 2036 xfs_agino_t agino, in xfs_iunlink_change_backref() argument 2043 iu = rhashtable_lookup_fast(&pag->pagi_unlinked_hash, &agino, in xfs_iunlink_change_backref() 2148 xfs_agino_t agino, in xfs_iunlink_update_dinode() argument 2159 trace_xfs_iunlink_update_dinode(mp, agno, agino, in xfs_iunlink_update_dinode() 2239 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink() local 2240 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink() 2259 if (next_agino == agino || in xfs_iunlink() 2282 error = xfs_iunlink_add_backref(pag, agino, next_agino); in xfs_iunlink() [all …]
|
D | xfs_itable.c | 224 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, startino); in xfs_bulkstat_already_done() local 227 startino != XFS_AGINO_TO_INO(mp, agno, agino); in xfs_bulkstat_already_done()
|
D | xfs_trace.h | 734 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 736 TP_ARGS(mp, agno, agino, holemask, nagino, nholemask), 740 __field(xfs_agino_t, agino) 748 __entry->agino = agino; 755 __entry->agino, __entry->holemask, __entry->nagino, 760 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 762 TP_ARGS(mp, agno, agino, holemask), 766 __field(xfs_agino_t, agino) 772 __entry->agino = agino; 776 MINOR(__entry->dev), __entry->agno, __entry->agino, [all …]
|
D | xfs_icache.c | 502 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget_cache_miss() local 568 error = radix_tree_insert(&pag->pag_ici_root, agino, ip); in xfs_iget_cache_miss() 626 xfs_agino_t agino; in xfs_iget() local 645 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget() 650 ip = radix_tree_lookup(&pag->pag_ici_root, agino); in xfs_iget()
|
D | xfs_super.c | 565 xfs_agino_t agino; in xfs_set_inode_alloc() local 585 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc() 586 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_set_inode_alloc() 601 ino = XFS_AGINO_TO_INO(mp, index, agino); in xfs_set_inode_alloc()
|
D | xfs_log_recover.c | 4973 xfs_agino_t agino, in xlog_recover_process_one_iunlink() argument 4982 ino = XFS_AGINO_TO_INO(mp, agno, agino); in xlog_recover_process_one_iunlink() 4999 agino = be32_to_cpu(dip->di_next_unlinked); in xlog_recover_process_one_iunlink() 5009 return agino; in xlog_recover_process_one_iunlink() 5057 xfs_agino_t agino; in xlog_recover_process_iunlinks() local 5090 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks() 5091 while (agino != NULLAGINO) { in xlog_recover_process_iunlinks() 5092 agino = xlog_recover_process_one_iunlink(mp, in xlog_recover_process_iunlinks() 5093 agno, agino, bucket); in xlog_recover_process_iunlinks()
|