Home
last modified time | relevance | path

Searched refs:avail_user_block_count (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/f2fs/
Df2fs.h2311 block_t avail_user_block_count; in inc_valid_block_count() local
2332 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()
Dsuper.c331 block_t avail_user_block_count; in adjust_reserved_segment() local
346 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()