Searched refs:zone_cap_blocks (Results 1 – 4 of 4) sorted by relevance
296 dev->zone_cap_blocks = malloc(dev->nr_zones * sizeof(size_t)); in f2fs_check_zones()297 if (!dev->zone_cap_blocks) { in f2fs_check_zones()301 memset(dev->zone_cap_blocks, 0, (dev->nr_zones * sizeof(size_t))); in f2fs_check_zones()347 dev->zone_cap_blocks[n] = in f2fs_check_zones()367 dev->zone_cap_blocks[n] = in f2fs_check_zones()506 zone_segs = c.devices[i].zone_cap_blocks[j] >> in f2fs_get_usable_segments()508 if (c.devices[i].zone_cap_blocks[j] % in f2fs_get_usable_segments()
789 free(c.devices[i].zone_cap_blocks); in f2fs_finalize_device()
335 size_t *zone_cap_blocks; member
75 c.devices[dev_idx].zone_cap_blocks[zone_idx]; in is_usable_seg()