Searched refs:total_segments (Results 1 – 7 of 7) sorted by relevance
300 c.devices[i].total_segments = in f2fs_prepare_super_block()305 c.devices[i].end_blkaddr = c.devices[i].total_segments * in f2fs_prepare_super_block()309 c.devices[i].total_segments = in f2fs_prepare_super_block()315 c.devices[i].total_segments * in f2fs_prepare_super_block()320 sb->devs[i].total_segments = in f2fs_prepare_super_block()321 cpu_to_le32(c.devices[i].total_segments); in f2fs_prepare_super_block()324 c.total_segments += c.devices[i].total_segments; in f2fs_prepare_super_block()326 set_sb(segment_count, (c.total_segments / c.segs_per_zone * in f2fs_prepare_super_block()498 c.total_segments < F2FS_MIN_SEGMENTS || in f2fs_prepare_super_block()
19 static inline unsigned int total_segments(struct f2fs_sb_info *sbi) in total_segments() function
23 MSG(0, "total_count %u\n", total_segments(sbi)); in dump_sbi_info()
205 int total_segments = size / 255 + 1; in ogg_buffer_data() local229 for (i = 0; i < total_segments; ) { in ogg_buffer_data()232 segments = FFMIN(total_segments - i, 255 - page->segments_count); in ogg_buffer_data()248 if (i == total_segments) in ogg_buffer_data()
400 uint32_t total_segments; member476 uint32_t total_segments; member758 __le32 total_segments; member
519 usable_segs += c.devices[i].total_segments; in f2fs_get_usable_segments()
946 unsigned int dev_segs = le32_to_cpu(sb->devs[0].total_segments); in sanity_check_raw_super()950 dev_segs += le32_to_cpu(sb->devs[i].total_segments); in sanity_check_raw_super()1127 c.devices[i].total_segments = in init_sb_info()1128 le32_to_cpu(sb->devs[i].total_segments); in init_sb_info()1133 c.devices[i].total_segments * in init_sb_info()