Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dextent_cache.c67 if ((GET_SEGOFF_FROM_SEG0(sbi, ei.blk) % BLKS_PER_SEC(sbi)) || in sanity_check_extent_cache()
68 (ei.len % BLKS_PER_SEC(sbi))) { in sanity_check_extent_cache()
71 BLKS_PER_SEC(sbi)); in sanity_check_extent_cache()
H A Dsegment.h75 (BLKS_PER_SEC(sbi) - (sbi)->unusable_blocks_per_sec)
80 #define CAP_BLKS_PER_SEC(sbi) BLKS_PER_SEC(sbi)
H A Dgc.c2378 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs()
2400 secs = div_u64(shrunk_blocks, BLKS_PER_SEC(sbi)); in f2fs_resize_fs()
H A Ddebug.c114 else if (sec_blks == BLKS_PER_SEC(sbi)) in update_multidevice_stats()
H A Df2fs.h2109 #define BLKS_PER_SEC(sbi) (SEGS_TO_BLKS(sbi, (sbi)->segs_per_sec)) macro
2875 return div_u64(get_pages(sbi, block_type) + BLKS_PER_SEC(sbi) - 1, in get_blocktype_secs()
2876 BLKS_PER_SEC(sbi)); in get_blocktype_secs()
H A Dsysfs.c1898 (BLKS_PER_SEC(sbi) << (F2FS_BLKSIZE_BITS - 10)) >> 10); in disk_map_seq_show()
H A Ddata.c4192 unsigned int blk_per_sec = BLKS_PER_SEC(sbi); in f2fs_migrate_blocks()
4271 unsigned int blks_per_sec = BLKS_PER_SEC(sbi); in check_swap_activate()
H A Dsegment.c2283 BLKS_PER_SEC(sbi)); in f2fs_clear_prefree_segments()