Home
last modified time | relevance | path

Searched refs:BLKS_PER_SEC (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dsegment.h102 #define BLKS_PER_SEC(sbi) \ macro
608 unsigned int node_secs = total_node_blocks / BLKS_PER_SEC(sbi); in has_not_enough_free_secs()
609 unsigned int dent_secs = total_dent_blocks / BLKS_PER_SEC(sbi); in has_not_enough_free_secs()
610 unsigned int node_blocks = total_node_blocks % BLKS_PER_SEC(sbi); in has_not_enough_free_secs()
611 unsigned int dent_blocks = total_dent_blocks % BLKS_PER_SEC(sbi); in has_not_enough_free_secs()
H A Dgc.c463 unsigned int sec_blocks = BLKS_PER_SEC(sbi); in atgc_lookup_victim()
1439 BLKS_PER_SEC(sbi))) in gc_data_segment()
2016 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs()
2034 secs = div_u64(shrunk_blocks, BLKS_PER_SEC(sbi)); in f2fs_resize_fs()
H A Ddebug.c42 blks_per_sec = BLKS_PER_SEC(sbi); in f2fs_update_sit_info()
H A Ddata.c3990 unsigned int blk_per_sec = BLKS_PER_SEC(sbi); in f2fs_migrate_blocks()
4059 unsigned int blks_per_sec = BLKS_PER_SEC(sbi); in check_swap_activate()
4060 unsigned int sec_blks_mask = BLKS_PER_SEC(sbi) - 1; in check_swap_activate()
H A Dfile.c1677 block_t sec_blks = BLKS_PER_SEC(sbi); in expand_inode_data()
2562 range->start += BLKS_PER_SEC(sbi); in __f2fs_ioc_gc_range()
2687 sec_num = DIV_ROUND_UP(total, BLKS_PER_SEC(sbi)); in f2fs_defragment_range()
H A Dsegment.c834 valid_blocks == BLKS_PER_SEC(sbi))); in __locate_dirty_segment()
870 valid_blocks == BLKS_PER_SEC(sbi)) { in __remove_dirty_segment()
4670 block_t blks_per_sec = BLKS_PER_SEC(sbi); in init_dirty_segmap()
H A Df2fs.h221 #define MAX_DISCARD_BLOCKS(sbi) BLKS_PER_SEC(sbi)