Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_types.c100 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()
Dxfs_ialloc.c1078 xfs_agino_t agino, in xfs_ialloc_get_rec() argument
1085 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_EQ, &i); in xfs_ialloc_get_rec()
1932 xfs_agino_t agino, in xfs_difree_inobt() argument
1946 ASSERT(XFS_AGINO_TO_AGBNO(mp, agino) < be32_to_cpu(agi->agi_length)); in xfs_difree_inobt()
1960 if ((error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i))) { in xfs_difree_inobt()
1982 off = agino - rec.ir_startino; in xfs_difree_inobt()
2066 xfs_agino_t agino, in xfs_difree_finobt() argument
2073 int offset = agino - ibtrec->ir_startino; in xfs_difree_finobt()
2182 xfs_agino_t agino; /* allocation group inode number */ in xfs_difree() local
2200 agino = XFS_INO_TO_AGINO(mp, inode); in xfs_difree()
[all …]
Dxfs_types.h192 xfs_agino_t agino);
194 xfs_agino_t agino);
/fs/xfs/scrub/
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
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.agno, agino); in xchk_iallocbt_check_cluster_ifree()
[all …]
Dinode.c439 xfs_agino_t agino; in xchk_inode_xref_finobt() local
446 agino = XFS_INO_TO_AGINO(sc->mp, ino); in xchk_inode_xref_finobt()
452 error = xfs_inobt_lookup(sc->sa.fino_cur, agino, XFS_LOOKUP_LE, in xchk_inode_xref_finobt()
467 if (rec.ir_startino > agino || in xchk_inode_xref_finobt()
468 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt()
471 if (rec.ir_free & XFS_INOBT_MASK(agino - rec.ir_startino)) in xchk_inode_xref_finobt()
Dagheader.c852 xfs_agino_t agino; in xchk_agi() local
901 agino = be32_to_cpu(agi->agi_newino); in xchk_agi()
902 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi()
905 agino = be32_to_cpu(agi->agi_dirino); in xchk_agi()
906 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi()
911 agino = be32_to_cpu(agi->agi_unlinked[i]); in xchk_agi()
912 if (!xfs_verify_agino_or_null(mp, agno, agino)) in xchk_agi()
/fs/xfs/
Dxfs_iwalk.c125 xfs_agino_t agino, /* starting inode of chunk */ in xfs_iwalk_adjust_start() argument
131 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start()
261 xfs_agino_t agino, in xfs_iwalk_ag_start() argument
278 if (agino == 0) in xfs_iwalk_ag_start()
288 error = xfs_inobt_lookup(*curpp, agino, XFS_LOOKUP_LE, has_more); in xfs_iwalk_ag_start()
314 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) in xfs_iwalk_ag_start()
322 xfs_iwalk_adjust_start(agino, irec); in xfs_iwalk_ag_start()
396 xfs_agino_t agino; in xfs_iwalk_ag() local
402 agino = XFS_INO_TO_AGINO(mp, iwag->startino); in xfs_iwalk_ag()
403 error = xfs_iwalk_ag_start(iwag, agno, agino, &cur, &agi_bp, &has_more); in xfs_iwalk_ag()
Dxfs_inode.c1958 xfs_agino_t agino) in xfs_iunlink_lookup_backref() argument
1962 iu = rhashtable_lookup_fast(&pag->pagi_unlinked_hash, &agino, in xfs_iunlink_lookup_backref()
2027 xfs_agino_t agino, in xfs_iunlink_change_backref() argument
2034 iu = rhashtable_lookup_fast(&pag->pagi_unlinked_hash, &agino, in xfs_iunlink_change_backref()
2141 xfs_agino_t agino, in xfs_iunlink_update_dinode() argument
2152 trace_xfs_iunlink_update_dinode(mp, agno, agino, in xfs_iunlink_update_dinode()
2236 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink() local
2237 short bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink()
2256 if (next_agino == agino || in xfs_iunlink()
2279 error = xfs_iunlink_add_backref(agibp->b_pag, agino, next_agino); in xfs_iunlink()
[all …]
Dxfs_trace.h741 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino,
743 TP_ARGS(mp, agno, agino, holemask, nagino, nholemask),
747 __field(xfs_agino_t, agino)
755 __entry->agino = agino;
762 __entry->agino, __entry->holemask, __entry->nagino,
767 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino,
769 TP_ARGS(mp, agno, agino, holemask),
773 __field(xfs_agino_t, agino)
779 __entry->agino = agino;
783 MINOR(__entry->dev), __entry->agno, __entry->agino,
[all …]
Dxfs_icache.c484 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget_cache_miss() local
574 error = radix_tree_insert(&pag->pag_ici_root, agino, ip); in xfs_iget_cache_miss()
621 xfs_agino_t agino; in xfs_iget() local
634 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget()
639 ip = radix_tree_lookup(&pag->pag_ici_root, agino); in xfs_iget()
Dxfs_log_recover.c2670 xfs_agino_t agino, in xlog_recover_process_one_iunlink() argument
2679 ino = XFS_AGINO_TO_INO(mp, agno, agino); in xlog_recover_process_one_iunlink()
2696 agino = be32_to_cpu(dip->di_next_unlinked); in xlog_recover_process_one_iunlink()
2706 return agino; in xlog_recover_process_one_iunlink()
2754 xfs_agino_t agino; in xlog_recover_process_iunlinks() local
2787 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks()
2788 while (agino != NULLAGINO) { in xlog_recover_process_iunlinks()
2789 agino = xlog_recover_process_one_iunlink(mp, in xlog_recover_process_iunlinks()
2790 agno, agino, bucket); in xlog_recover_process_iunlinks()
Dxfs_itable.c224 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()
Dxfs_super.c252 xfs_agino_t agino; in xfs_set_inode_alloc() local
272 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc()
273 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_set_inode_alloc()
288 ino = XFS_AGINO_TO_INO(mp, index, agino); in xfs_set_inode_alloc()