Searched refs:avail_user_block_count (Results 1 – 2 of 2) sorted by relevance
2311 block_t avail_user_block_count; in inc_valid_block_count() local2332 avail_user_block_count = sbi->user_block_count - in inc_valid_block_count()2336 avail_user_block_count -= F2FS_OPTION(sbi).root_reserved_blocks; in inc_valid_block_count()2339 avail_user_block_count -= sbi->blocks_per_seg * in inc_valid_block_count()2343 if (avail_user_block_count > sbi->unusable_block_count) in inc_valid_block_count()2344 avail_user_block_count -= sbi->unusable_block_count; in inc_valid_block_count()2346 avail_user_block_count = 0; in inc_valid_block_count()2348 if (unlikely(sbi->total_valid_block_count > avail_user_block_count)) { in inc_valid_block_count()2349 diff = sbi->total_valid_block_count - avail_user_block_count; in inc_valid_block_count()
331 block_t avail_user_block_count; in adjust_reserved_segment() local346 avail_user_block_count = sbi->user_block_count - in adjust_reserved_segment()351 avail_user_block_count) { in adjust_reserved_segment()354 avail_user_block_count >> sbi->log_blocks_per_seg); in adjust_reserved_segment()