Searched refs:zone_cap_blocks (Results 1 – 4 of 4) sorted by relevance
294 dev->zone_cap_blocks = malloc(dev->nr_zones * sizeof(size_t)); in f2fs_check_zones()295 if (!dev->zone_cap_blocks) { in f2fs_check_zones()299 memset(dev->zone_cap_blocks, 0, (dev->nr_zones * sizeof(size_t))); in f2fs_check_zones()345 dev->zone_cap_blocks[n] = in f2fs_check_zones()365 dev->zone_cap_blocks[n] = in f2fs_check_zones()507 zone_segs = c.devices[i].zone_cap_blocks[j] >> in f2fs_get_usable_segments()509 if (c.devices[i].zone_cap_blocks[j] % in f2fs_get_usable_segments()
799 free(c.devices[i].zone_cap_blocks); in f2fs_finalize_device()
386 size_t *zone_cap_blocks; member
75 c.devices[dev_idx].zone_cap_blocks[zone_idx]; in is_usable_seg()