Lines Matching refs:i_links
697 u32 i_links = le32_to_cpu(node_blk->i.i_links); in fsck_chk_inode_blk() local
747 if (i_links > 1 && ftype != F2FS_FT_ORPHAN && in fsck_chk_inode_blk()
750 add_into_hard_link_list(sbi, nid, i_links); in fsck_chk_inode_blk()
754 DBG(3, "[0x%x] has hard links [0x%x]\n", nid, i_links); in fsck_chk_inode_blk()
757 nid, i_links); in fsck_chk_inode_blk()
759 node_blk->i.i_links = in fsck_chk_inode_blk()
760 cpu_to_le32(i_links + 1); in fsck_chk_inode_blk()
764 nid, i_links, i_links + 1); in fsck_chk_inode_blk()
1102 if (i_links != child.links) { in fsck_chk_inode_blk()
1104 nid, i_links, child.links); in fsck_chk_inode_blk()
1106 node_blk->i.i_links = cpu_to_le32(child.links); in fsck_chk_inode_blk()
1109 nid, i_links, child.links); in fsck_chk_inode_blk()
1155 if (ftype == F2FS_FT_ORPHAN && i_links) { in fsck_chk_inode_blk()
1157 nid, i_links); in fsck_chk_inode_blk()
1159 node_blk->i.i_links = 0; in fsck_chk_inode_blk()
1162 nid, i_links); in fsck_chk_inode_blk()
2237 node_blk->i.i_links = cpu_to_le32(node->actual_links); in fix_hard_links()