Searched refs:BLKS_PER_SEC (Results 1 – 7 of 7) sorted by relevance
102 #define BLKS_PER_SEC(sbi) \ macro618 unsigned int node_secs = total_node_blocks / BLKS_PER_SEC(sbi); in has_not_enough_free_secs()619 unsigned int dent_secs = total_dent_blocks / BLKS_PER_SEC(sbi); in has_not_enough_free_secs()620 unsigned int node_blocks = total_node_blocks % BLKS_PER_SEC(sbi); in has_not_enough_free_secs()621 unsigned int dent_blocks = total_dent_blocks % BLKS_PER_SEC(sbi); in has_not_enough_free_secs()
478 unsigned int sec_blocks = BLKS_PER_SEC(sbi); in atgc_lookup_victim()1494 BLKS_PER_SEC(sbi))) in gc_data_segment()2073 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs()2095 secs = div_u64(shrunk_blocks, BLKS_PER_SEC(sbi)); in f2fs_resize_fs()
42 blks_per_sec = BLKS_PER_SEC(sbi); in f2fs_update_sit_info()
3838 unsigned int blk_per_sec = BLKS_PER_SEC(sbi); in f2fs_migrate_blocks()3907 unsigned int blks_per_sec = BLKS_PER_SEC(sbi); in check_swap_activate()3908 unsigned int sec_blks_mask = BLKS_PER_SEC(sbi) - 1; in check_swap_activate()
753 valid_blocks == BLKS_PER_SEC(sbi))); in __locate_dirty_segment()789 valid_blocks == BLKS_PER_SEC(sbi)) { in __remove_dirty_segment()2073 dcc->discard_granularity = BLKS_PER_SEC(sbi); in create_discard_cmd_control()4626 block_t blks_per_sec = BLKS_PER_SEC(sbi); in init_dirty_segmap()
1681 block_t sec_blks = BLKS_PER_SEC(sbi); in expand_inode_data()2466 range->start += BLKS_PER_SEC(sbi); in __f2fs_ioc_gc_range()2591 sec_num = DIV_ROUND_UP(total, BLKS_PER_SEC(sbi)); in f2fs_defragment_range()
231 #define MAX_DISCARD_BLOCKS(sbi) BLKS_PER_SEC(sbi)