Lines Matching refs:child_cnt
365 u32 child_cnt = 0, child_files = 0; in fsck_chk_inode_blk() local
446 &child_cnt, &child_files); in fsck_chk_inode_blk()
472 &child_cnt, &child_files, 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()
558 u32 child_cnt = 0, child_files = 0; in fsck_chk_dnode_blk() local
566 &child_cnt, &child_files, in fsck_chk_dnode_blk()
665 static int __chk_dentries(struct f2fs_sb_info *sbi, u32 *child_cnt, in __chk_dentries() argument
747 *child_cnt = *child_cnt + 1; in __chk_dentries()
795 struct f2fs_node *node_blk, u32 *child_cnt, u32 *child_files) in fsck_chk_inline_dentries() argument
805 dentries = __chk_dentries(sbi, child_cnt, child_files, in fsck_chk_inline_dentries()
823 u32 *child_cnt, u32 *child_files, int last_blk) in fsck_chk_dentry_blk() argument
836 dentries = __chk_dentries(sbi, child_cnt, child_files, in fsck_chk_dentry_blk()
858 u32 *child_cnt, u32 *child_files, int last_blk, in fsck_chk_data_blk() argument
893 return fsck_chk_dentry_blk(sbi, blk_addr, child_cnt, in fsck_chk_data_blk()