Home
last modified time | relevance | path

Searched refs:total_links (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Dnlinks_repair.c98 uint64_t total_links; in xrep_nlinks_repair_inode() local
167 total_links = xchk_nlink_total(ip, &obs); in xrep_nlinks_repair_inode()
216 total_links = xchk_nlink_total(ip, &obs); in xrep_nlinks_repair_inode()
225 if (total_links > 0 && xfs_inode_on_unlinked_list(ip)) { in xrep_nlinks_repair_inode()
236 if (total_links == 0 && !xfs_inode_on_unlinked_list(ip)) { in xrep_nlinks_repair_inode()
244 if (total_links != actual_nlink) { in xrep_nlinks_repair_inode()
247 set_nlink(VFS_I(ip), min_t(unsigned long long, total_links, in xrep_nlinks_repair_inode()
Dnlinks.c648 uint64_t total_links; in xchk_nlinks_compare_inode() local
684 total_links = xchk_nlink_total(ip, &obs); in xchk_nlinks_compare_inode()
694 if (total_links > XFS_NLINK_PINNED) { in xchk_nlinks_compare_inode()
697 } else if (total_links > XFS_MAXLINK) { in xchk_nlinks_compare_inode()
702 if (total_links != actual_nlink) { in xchk_nlinks_compare_inode()