Searched refs:avail_user_block_count (Results 1 – 2 of 2) sorted by relevance
2251 block_t avail_user_block_count; in inc_valid_block_count() local2271 avail_user_block_count = sbi->user_block_count - in inc_valid_block_count()2275 avail_user_block_count -= F2FS_OPTION(sbi).root_reserved_blocks; in inc_valid_block_count()2278 avail_user_block_count -= sbi->blocks_per_seg * in inc_valid_block_count()2282 if (avail_user_block_count > sbi->unusable_block_count) in inc_valid_block_count()2283 avail_user_block_count -= sbi->unusable_block_count; in inc_valid_block_count()2285 avail_user_block_count = 0; in inc_valid_block_count()2287 if (unlikely(sbi->total_valid_block_count > avail_user_block_count)) { in inc_valid_block_count()2288 diff = sbi->total_valid_block_count - avail_user_block_count; in inc_valid_block_count()
336 block_t avail_user_block_count; in adjust_reserved_segment() local351 avail_user_block_count = sbi->user_block_count - in adjust_reserved_segment()356 avail_user_block_count) { in adjust_reserved_segment()359 avail_user_block_count >> sbi->log_blocks_per_seg); in adjust_reserved_segment()