Searched refs:zone_cap_blocks (Results 1 – 4 of 4) sorted by relevance
306 dev->zone_cap_blocks = malloc(dev->nr_zones * sizeof(size_t)); in f2fs_check_zones()307 if (!dev->zone_cap_blocks) { in f2fs_check_zones()311 memset(dev->zone_cap_blocks, 0, (dev->nr_zones * sizeof(size_t))); in f2fs_check_zones()357 dev->zone_cap_blocks[n] = in f2fs_check_zones()377 dev->zone_cap_blocks[n] = in f2fs_check_zones()519 zone_segs = c.devices[i].zone_cap_blocks[j] >> in f2fs_get_usable_segments()521 if (c.devices[i].zone_cap_blocks[j] % in f2fs_get_usable_segments()
818 free(c.devices[i].zone_cap_blocks); in f2fs_finalize_device()
406 size_t *zone_cap_blocks; member
76 c.devices[dev_idx].zone_cap_blocks[zone_idx]; in is_usable_seg()