Searched refs:CAP_BLKS_PER_SEC (Results 1 – 5 of 5) sorted by relevance
104 #define CAP_BLKS_PER_SEC(sbi) \ macro609 unsigned int node_secs = total_node_blocks / CAP_BLKS_PER_SEC(sbi); in __get_secs_required()610 unsigned int dent_secs = total_dent_blocks / CAP_BLKS_PER_SEC(sbi); in __get_secs_required()611 unsigned int node_blocks = total_node_blocks % CAP_BLKS_PER_SEC(sbi); in __get_secs_required()612 unsigned int dent_blocks = total_dent_blocks % CAP_BLKS_PER_SEC(sbi); in __get_secs_required()
42 blks_per_sec = CAP_BLKS_PER_SEC(sbi); in f2fs_update_sit_info()
532 unsigned int sec_blocks = CAP_BLKS_PER_SEC(sbi); in atgc_lookup_victim()1534 CAP_BLKS_PER_SEC(sbi))) in gc_data_segment()
772 valid_blocks == CAP_BLKS_PER_SEC(sbi))); in __locate_dirty_segment()808 valid_blocks == CAP_BLKS_PER_SEC(sbi)) { in __remove_dirty_segment()4752 if (!valid_blocks || valid_blocks == CAP_BLKS_PER_SEC(sbi)) in init_dirty_segmap()5151 sec_cap_blkaddr = sec_start_blkaddr + CAP_BLKS_PER_SEC(sbi); in f2fs_usable_zone_blks_in_seg()
1724 block_t sec_blks = CAP_BLKS_PER_SEC(sbi); in f2fs_expand_inode_data()2532 range->start += CAP_BLKS_PER_SEC(sbi); in __f2fs_ioc_gc_range()2662 sec_num = DIV_ROUND_UP(total, CAP_BLKS_PER_SEC(sbi)); in f2fs_defragment_range()