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()
479 unsigned int sec_blocks = BLKS_PER_SEC(sbi); in atgc_lookup_victim()1508 BLKS_PER_SEC(sbi))) in gc_data_segment()2107 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs()2129 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()
3795 unsigned int blk_per_sec = BLKS_PER_SEC(sbi); in f2fs_migrate_blocks()3864 unsigned int blks_per_sec = BLKS_PER_SEC(sbi); in check_swap_activate()3865 unsigned int sec_blks_mask = BLKS_PER_SEC(sbi) - 1; in check_swap_activate()
857 valid_blocks == BLKS_PER_SEC(sbi))); in __locate_dirty_segment()893 valid_blocks == BLKS_PER_SEC(sbi)) { in __remove_dirty_segment()2177 dcc->discard_granularity = BLKS_PER_SEC(sbi); in create_discard_cmd_control()4724 block_t blks_per_sec = BLKS_PER_SEC(sbi); in init_dirty_segmap()
1679 block_t sec_blks = BLKS_PER_SEC(sbi); in expand_inode_data()2569 range->start += BLKS_PER_SEC(sbi); in __f2fs_ioc_gc_range()2694 sec_num = DIV_ROUND_UP(total, BLKS_PER_SEC(sbi)); in f2fs_defragment_range()
231 #define MAX_DISCARD_BLOCKS(sbi) BLKS_PER_SEC(sbi)