Home
last modified time | relevance | path

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

/third_party/f2fs-tools/lib/
Dlibf2fs_zoned.c508 uint32_t usable_segs = 0, zone_segs; in f2fs_get_usable_segments() local
515 usable_segs += c.devices[i].total_segments; in f2fs_get_usable_segments()
523 usable_segs += zone_segs + 1; in f2fs_get_usable_segments()
525 usable_segs += zone_segs; in f2fs_get_usable_segments()
528 usable_segs -= (get_sb(main_blkaddr) - get_sb(segment0_blkaddr)) >> in f2fs_get_usable_segments()
530 return usable_segs; in f2fs_get_usable_segments()