/linux/fs/xfs/libxfs/ |
A 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()
|
A D | xfs_ialloc.c | 936 xfs_agino_t agino, in xfs_ialloc_get_rec() argument 1892 xfs_agino_t agino, in xfs_difree_inobt() argument 1941 off = agino - rec.ir_startino; in xfs_difree_inobt() 2026 xfs_agino_t agino, in xfs_difree_finobt() argument 2154 agino = XFS_INO_TO_AGINO(mp, inode); in xfs_difree() 2206 xfs_agino_t agino, in xfs_imap_lookup() argument 2247 if (rec.ir_startino > agino || in xfs_imap_lookup() 2287 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_imap() 2659 xfs_agino_t agino; in xfs_ialloc_has_inode_record() local 2672 agino = irec.ir_startino; in xfs_ialloc_has_inode_record() [all …]
|
A D | xfs_types.h | 199 xfs_agino_t agino); 201 xfs_agino_t agino);
|
/linux/fs/xfs/scrub/ |
A 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 103 xfs_agino_t agino, in xchk_iallocbt_chunk() argument 110 bno = XFS_AGINO_TO_AGBNO(mp, agino); 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() 428 xfs_agino_t agino; in xchk_iallocbt_rec() local 447 agino = irec.ir_startino; in xchk_iallocbt_rec() 449 if (!xfs_verify_agino(mp, agno, agino) || in xchk_iallocbt_rec() [all …]
|
A D | inode.c | 447 xfs_agino_t agino; in xchk_inode_xref_finobt() local 454 agino = XFS_INO_TO_AGINO(sc->mp, ino); in xchk_inode_xref_finobt() 460 error = xfs_inobt_lookup(sc->sa.fino_cur, agino, XFS_LOOKUP_LE, in xchk_inode_xref_finobt() 475 if (rec.ir_startino > agino || in xchk_inode_xref_finobt() 476 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt() 479 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
|
A D | agheader.c | 857 xfs_agino_t agino; in xchk_agi() local 905 agino = be32_to_cpu(agi->agi_newino); in xchk_agi() 906 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi() 909 agino = be32_to_cpu(agi->agi_dirino); in xchk_agi() 910 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi() 915 agino = be32_to_cpu(agi->agi_unlinked[i]); in xchk_agi() 916 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi()
|
/linux/fs/xfs/ |
A 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()
|
A D | xfs_inode.c | 1882 xfs_agino_t agino) in xfs_iunlink_lookup_backref() argument 1951 xfs_agino_t agino, in xfs_iunlink_change_backref() argument 2065 xfs_agino_t agino, in xfs_iunlink_update_dinode() argument 2161 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink() local 2183 if (next_agino == agino || in xfs_iunlink() 2224 xfs_agino_t agino, in xfs_iunlink_map_ino() argument 2267 xfs_agino_t *agino, in xfs_iunlink_map_prev() argument 2281 if (*agino != NULLAGINO) { in xfs_iunlink_map_prev() 2309 *agino = next_agino; in xfs_iunlink_map_prev() 2348 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink_remove() local [all …]
|
A D | xfs_icache.c | 223 xfs_agino_t agino, in xfs_perag_set_inode_tag() argument 232 radix_tree_tag_set(&pag->pag_ici_root, agino, tag); in xfs_perag_set_inode_tag() 262 xfs_agino_t agino, in xfs_perag_clear_inode_tag() argument 273 if (agino != NULLAGINO) in xfs_perag_clear_inode_tag() 274 radix_tree_tag_clear(&pag->pag_ici_root, agino, tag); in xfs_perag_clear_inode_tag() 572 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget_cache_miss() local 662 error = radix_tree_insert(&pag->pag_ici_root, agino, ip); in xfs_iget_cache_miss() 709 xfs_agino_t agino; in xfs_iget() local 722 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget() 727 ip = radix_tree_lookup(&pag->pag_ici_root, agino); in xfs_iget()
|
A D | xfs_trace.h | 880 __field(xfs_agino_t, agino) 888 __entry->agino = agino; 896 __entry->agino, 909 __field(xfs_agino_t, agino) 915 __entry->agino = agino; 922 __entry->agino, 3613 __field(xfs_agino_t, agino) 3620 __entry->agino = agino; 3627 __entry->agino, 3638 __field(xfs_agino_t, agino) [all …]
|
A D | xfs_itable.c | 242 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, startino); in xfs_bulkstat_already_done() local 245 startino != XFS_AGINO_TO_INO(mp, agno, agino); in xfs_bulkstat_already_done()
|
A D | xfs_log_recover.c | 2694 xfs_agino_t agino, in xlog_recover_process_one_iunlink() argument 2703 ino = XFS_AGINO_TO_INO(mp, agno, agino); in xlog_recover_process_one_iunlink() 2721 agino = be32_to_cpu(dip->di_next_unlinked); in xlog_recover_process_one_iunlink() 2725 return agino; in xlog_recover_process_one_iunlink() 2774 xfs_agino_t agino; in xlog_recover_process_iunlinks() local 2802 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks() 2803 while (agino != NULLAGINO) { in xlog_recover_process_iunlinks() 2804 agino = xlog_recover_process_one_iunlink(mp, in xlog_recover_process_iunlinks() 2805 pag->pag_agno, agino, bucket); in xlog_recover_process_iunlinks()
|
A D | xfs_super.c | 271 xfs_agino_t agino; in xfs_set_inode_alloc() local 291 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc() 292 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_set_inode_alloc() 307 ino = XFS_AGINO_TO_INO(mp, index, agino); in xfs_set_inode_alloc()
|