Lines Matching refs:blk_cnt
286 u32 x_nid, u32 *blk_cnt) in fsck_chk_xattr_blk() argument
305 *blk_cnt = *blk_cnt + 1; in fsck_chk_xattr_blk()
315 u32 *blk_cnt) in fsck_chk_node_blk() argument
327 fsck_chk_inode_blk(sbi, nid, ftype, node_blk, blk_cnt, &ni); in fsck_chk_node_blk()
334 blk_cnt, &ni); in fsck_chk_node_blk()
340 blk_cnt); in fsck_chk_node_blk()
346 blk_cnt); in fsck_chk_node_blk()
362 u32 *blk_cnt, struct node_info *ni) in fsck_chk_inode_blk() argument
408 le32_to_cpu(node_blk->i.i_xattr_nid), blk_cnt) && in fsck_chk_inode_blk()
426 node_blk->i.i_blocks = cpu_to_le64(*blk_cnt); in fsck_chk_inode_blk()
473 (i_blocks == *blk_cnt), in fsck_chk_inode_blk()
476 *blk_cnt = *blk_cnt + 1; in fsck_chk_inode_blk()
499 ftype, ntype, blk_cnt); in fsck_chk_inode_blk()
501 *blk_cnt = *blk_cnt + 1; in fsck_chk_inode_blk()
522 if (i_blocks != *blk_cnt) { in fsck_chk_inode_blk()
525 nid, i_blocks, *blk_cnt); in fsck_chk_inode_blk()
527 node_blk->i.i_blocks = cpu_to_le64(*blk_cnt); in fsck_chk_inode_blk()
530 nid, i_blocks, *blk_cnt); in fsck_chk_inode_blk()
555 u32 *blk_cnt, struct node_info *ni) in fsck_chk_dnode_blk() argument
567 le64_to_cpu(inode->i_blocks) == *blk_cnt, ftype, in fsck_chk_dnode_blk()
570 *blk_cnt = *blk_cnt + 1; in fsck_chk_dnode_blk()
585 enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt) in fsck_chk_idnode_blk() argument
595 ftype, TYPE_DIRECT_NODE, blk_cnt); in fsck_chk_idnode_blk()
597 *blk_cnt = *blk_cnt + 1; in fsck_chk_idnode_blk()
605 enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt) in fsck_chk_didnode_blk() argument
615 ftype, TYPE_INDIRECT_NODE, blk_cnt); in fsck_chk_didnode_blk()
617 *blk_cnt = *blk_cnt + 1; in fsck_chk_didnode_blk()
675 u32 blk_cnt; in __chk_dentries() local
765 blk_cnt = 1; in __chk_dentries()
768 ftype, TYPE_INODE, &blk_cnt); in __chk_dentries()
903 u32 blk_cnt = 0; in fsck_chk_orphan_node() local
929 blk_cnt = 1; in fsck_chk_orphan_node()
931 F2FS_FT_ORPHAN, TYPE_INODE, &blk_cnt); in fsck_chk_orphan_node()