Lines Matching refs:i_links
367 u32 i_links = le32_to_cpu(node_blk->i.i_links); in fsck_chk_inode_blk() local
382 if (i_links > 1) { in fsck_chk_inode_blk()
384 add_into_hard_link_list(sbi, nid, i_links); in fsck_chk_inode_blk()
388 DBG(3, "[0x%x] has hard links [0x%x]\n", nid, i_links); in fsck_chk_inode_blk()
391 nid, i_links); in fsck_chk_inode_blk()
393 node_blk->i.i_links = in fsck_chk_inode_blk()
394 cpu_to_le32(i_links + 1); in fsck_chk_inode_blk()
398 nid, i_links, i_links + 1); in fsck_chk_inode_blk()
533 if (ftype == F2FS_FT_DIR && i_links != child_cnt) { in fsck_chk_inode_blk()
535 nid, i_links, child_cnt); in fsck_chk_inode_blk()
537 node_blk->i.i_links = cpu_to_le32(child_cnt); in fsck_chk_inode_blk()
540 nid, i_links, child_cnt); in fsck_chk_inode_blk()
544 if (ftype == F2FS_FT_ORPHAN && i_links) in fsck_chk_inode_blk()
546 nid, i_links); in fsck_chk_inode_blk()