Home
last modified time | relevance | path

Searched refs:agino (Results 1 – 13 of 13) sorted by relevance

/linux/fs/xfs/libxfs/
A Dxfs_types.c124 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 Dxfs_ialloc.c936 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 Dxfs_types.h199 xfs_agino_t agino);
201 xfs_agino_t agino);
/linux/fs/xfs/scrub/
A Dialloc.c60 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 Dinode.c447 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 Dagheader.c857 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 Dxfs_iwalk.c130 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 Dxfs_inode.c1882 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 Dxfs_icache.c223 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 Dxfs_trace.h880 __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 Dxfs_itable.c242 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 Dxfs_log_recover.c2694 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 Dxfs_super.c271 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()

Completed in 40 milliseconds