Lines Matching refs:user_block_count
304 block_t limit = min((sbi->user_block_count >> 3), in limit_reserve_root()
305 sbi->user_block_count - sbi->reserved_blocks); in limit_reserve_root()
346 avail_user_block_count = sbi->user_block_count - in adjust_reserved_segment()
372 F2FS_OPTION(sbi).unusable_cap = sbi->user_block_count; in adjust_unusable_cap_perc()
374 F2FS_OPTION(sbi).unusable_cap = (sbi->user_block_count / 100) * in adjust_unusable_cap_perc()
1738 block_t total_count, user_block_count, start_count; in f2fs_statfs() local
1751 user_block_count = sbi->user_block_count; in f2fs_statfs()
1754 buf->f_bfree = user_block_count - valid_user_blocks(sbi) - in f2fs_statfs()
1769 if (avail_node_count > user_block_count) { in f2fs_statfs()
1770 buf->f_files = user_block_count; in f2fs_statfs()
3439 block_t user_block_count, valid_user_blocks; in f2fs_sanity_check_ckpt() local
3465 user_block_count = le64_to_cpu(ckpt->user_block_count); in f2fs_sanity_check_ckpt()
3469 if (!user_block_count || user_block_count >= in f2fs_sanity_check_ckpt()
3472 user_block_count); in f2fs_sanity_check_ckpt()
3477 if (valid_user_blocks > user_block_count) { in f2fs_sanity_check_ckpt()
3479 valid_user_blocks, user_block_count); in f2fs_sanity_check_ckpt()
4265 sbi->user_block_count = le64_to_cpu(sbi->ckpt->user_block_count); in f2fs_fill_super()