Home
last modified time | relevance | path

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

/third_party/f2fs-tools/lib/
Dlibf2fs_zoned.c190 dev->nr_zones = dev->total_sectors / sectors; in f2fs_get_zone_blocks()
192 dev->nr_zones++; in f2fs_get_zone_blocks()
210 rep->nr_zones = 1; in f2fs_report_zone()
247 rep->nr_zones = (F2FS_REPORT_ZONES_BUFSZ - sizeof(struct blk_zone_report)) in f2fs_report_zones()
258 if (!rep->nr_zones) { in f2fs_report_zones()
265 for (i = 0; i < rep->nr_zones; i++) { in f2fs_report_zones()
296 dev->zone_cap_blocks = malloc(dev->nr_zones * sizeof(size_t)); in f2fs_check_zones()
301 memset(dev->zone_cap_blocks, 0, (dev->nr_zones * sizeof(size_t))); in f2fs_check_zones()
312 rep->nr_zones = (F2FS_REPORT_ZONES_BUFSZ - sizeof(struct blk_zone_report)) in f2fs_check_zones()
322 if (!rep->nr_zones) in f2fs_check_zones()
[all …]
Dlibf2fs.c1049 dev->nr_zones, dev->nr_rnd_zones); in get_device_info()
/third_party/f2fs-tools/include/
Df2fs_fs.h332 u_int32_t nr_zones; member
1352 __u32 nr_zones; member