Home
last modified time | relevance | path

Searched refs:next_agino (Results 1 – 10 of 10) sorted by relevance

/linux/fs/xfs/
H A Dxfs_iunlink_item.c85 be32_to_cpu(dip->di_next_unlinked), iup->next_agino); in xfs_iunlink_log_dinode()
87 dip->di_next_unlinked = cpu_to_be32(iup->next_agino); in xfs_iunlink_log_dinode()
145 xfs_agino_t next_agino) in xfs_iunlink_log_inode() argument
150 ASSERT(xfs_verify_agino_or_null(pag, next_agino)); in xfs_iunlink_log_inode()
158 if (ip->i_next_unlinked == next_agino) { in xfs_iunlink_log_inode()
159 if (next_agino != NULLAGINO) in xfs_iunlink_log_inode()
169 iup->next_agino = next_agino; in xfs_iunlink_log_inode()
H A Dxfs_iunlink_item.h18 xfs_agino_t next_agino; member
25 struct xfs_perag *pag, xfs_agino_t next_agino);
H A Dxfs_iwalk.c354 xfs_agino_t next_agino; in xfs_iwalk_run_callbacks() local
357 next_agino = XFS_INO_TO_AGINO(mp, iwag->lastino) + 1; in xfs_iwalk_run_callbacks()
363 ASSERT(next_agino >= iwag->recs[iwag->nr_recs - 1].ir_startino + in xfs_iwalk_run_callbacks()
392 return xfs_inobt_lookup(*curpp, next_agino, XFS_LOOKUP_GE, has_more); in xfs_iwalk_run_callbacks()
H A Dxfs_inode.c1514 xfs_agino_t next_agino) in xfs_iunlink_reload_next() argument
1522 ASSERT(next_agino != NULLAGINO); in xfs_iunlink_reload_next()
1526 next_ip = radix_tree_lookup(&pag->pag_ici_root, next_agino); in xfs_iunlink_reload_next()
1533 next_agino, pag->pag_agno); in xfs_iunlink_reload_next()
1541 ino = XFS_AGINO_TO_INO(mp, pag->pag_agno, next_agino); in xfs_iunlink_reload_next()
2827 xfs_agino_t prev_agino, next_agino; in xfs_inode_reload_unlinked_bucket() local
2859 next_agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xfs_inode_reload_unlinked_bucket()
2860 while (next_agino != NULLAGINO) { in xfs_inode_reload_unlinked_bucket()
2864 if (next_agino == agino) { in xfs_inode_reload_unlinked_bucket()
2872 next_ip = xfs_iunlink_lookup(pag, next_agino); in xfs_inode_reload_unlinked_bucket()
[all …]
H A Dxfs_inode.h616 xfs_agino_t prev_agino, xfs_agino_t next_agino);
H A Dxfs_trace.h4098 __field(xfs_agino_t, next_agino)
4105 __entry->next_agino = ip->i_next_unlinked;
4112 __entry->next_agino)
/linux/fs/xfs/scrub/
H A Dagheader_repair.c986 xfs_agino_t next_agino) in xrep_iunlink_store_next() argument
988 ASSERT(next_agino != 0); in xrep_iunlink_store_next()
990 return xfarray_store(ragi->iunlink_next, agino, &next_agino); in xrep_iunlink_store_next()
1084 xfs_agino_t next_agino; in xrep_iunlink_walk_ondisk_bucket() local
1087 next_agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xrep_iunlink_walk_ondisk_bucket()
1088 while (next_agino != NULLAGINO) { in xrep_iunlink_walk_ondisk_bucket()
1089 xfs_agino_t agino = next_agino; in xrep_iunlink_walk_ondisk_bucket()
1100 next_agino = xrep_iunlink_next(sc, agino); in xrep_iunlink_walk_ondisk_bucket()
1101 if (!next_agino) in xrep_iunlink_walk_ondisk_bucket()
1102 next_agino = xrep_iunlink_reload_next(ragi, prev_agino, in xrep_iunlink_walk_ondisk_bucket()
[all …]
H A Dtrace.h3326 __field(xfs_agino_t, next_agino)
3335 __entry->next_agino = ip->i_next_unlinked;
3344 __entry->next_agino)
3356 __field(xfs_agino_t, next_agino)
3365 __entry->next_agino = ip->i_next_unlinked;
3376 __entry->next_agino)
3387 __field(xfs_agino_t, next_agino)
3394 __entry->next_agino = ip->i_next_unlinked;
3402 __entry->next_agino)
3407 xfs_agino_t prev_agino, xfs_agino_t next_agino),
[all …]
H A Dialloc_repair.c609 xfs_agino_t next_agino = 0; in xrep_ibt_check_overlap() local
620 if (irec.ir_startino < next_agino) in xrep_ibt_check_overlap()
623 next_agino = irec.ir_startino + XFS_INODES_PER_CHUNK; in xrep_ibt_check_overlap()
/linux/fs/xfs/libxfs/
H A Dxfs_inode_util.c410 xfs_agino_t next_agino) in xfs_iunlink_update_backref() argument
415 if (next_agino == NULLAGINO) in xfs_iunlink_update_backref()
418 ip = xfs_iunlink_lookup(pag, next_agino); in xfs_iunlink_update_backref()
475 xfs_agino_t next_agino; in xfs_iunlink_insert_inode() local
485 next_agino = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_insert_inode()
486 if (next_agino == agino || in xfs_iunlink_insert_inode()
487 !xfs_verify_agino_or_null(pag, next_agino)) { in xfs_iunlink_insert_inode()
497 error = xfs_iunlink_update_backref(pag, agino, next_agino); in xfs_iunlink_insert_inode()
499 error = xfs_iunlink_reload_next(tp, agibp, agino, next_agino); in xfs_iunlink_insert_inode()
503 if (next_agino != NULLAGINO) { in xfs_iunlink_insert_inode()
[all …]