Home
last modified time | relevance | path

Searched full:zone (Results 1 – 25 of 33) sorted by relevance

12

/qemu/tests/qemu-iotests/tests/
H A Dzoned3 # Test zone management operations.
38 echo "(1) report the first zone:"
44 echo "report the last zone:"
48 echo "(2) opening the first zone"
53 echo "opening the second zone"
58 echo "opening the last zone"
64 echo "(3) closing the first zone"
69 echo "closing the last zone"
75 echo "(4) finishing the second zone"
77 echo "After finishing a zone:"
[all …]
H A Dzoned.out4 (1) report the first zone:
19 report the last zone:
23 (2) opening the first zone
27 opening the second zone
31 opening the last zone
36 (3) closing the first zone
40 closing the last zone
45 (4) finishing the second zone
46 After finishing a zone:
50 (5) resetting the second zone
[all …]
H A Dfile-io-error50 # This is a regression test of a bug in which flie-posix would access zone
51 # information in case of an I/O error even when there is no zone information,
/qemu/hw/nvme/
H A Dns.c201 error_setg(errp, "zone capacity %"PRIu64"B exceeds " in nvme_ns_zoned_check_calc_geometry()
202 "zone size %"PRIu64"B", zone_cap, zone_size); in nvme_ns_zoned_check_calc_geometry()
206 error_setg(errp, "zone size %"PRIu64"B too small, " in nvme_ns_zoned_check_calc_geometry()
211 error_setg(errp, "zone capacity %"PRIu64"B too small, " in nvme_ns_zoned_check_calc_geometry()
217 * Save the main zone geometry values to avoid in nvme_ns_zoned_check_calc_geometry()
228 "of one zone (%"PRIu64"B)", zone_size); in nvme_ns_zoned_check_calc_geometry()
239 NvmeZone *zone; in nvme_ns_zoned_init_state() local
253 zone = ns->zone_array; in nvme_ns_zoned_init_state()
254 for (i = 0; i < ns->num_zones; i++, zone++) { in nvme_ns_zoned_init_state()
258 zone->d.zt = NVME_ZONE_TYPE_SEQ_WRITE; in nvme_ns_zoned_init_state()
[all …]
H A Dctrl.c114 * Indicates the maximum data transfer size for the Zone Append command. Like
120 * Indicates if zones in zone state implicitly opened can be automatically
121 * transitioned to zone state closed for resource management purposes.
173 * zoned.zone_size=<zone size in bytes, default: 128MiB>
176 * zoned.zone_capacity=<zone capacity in bytes, default: zone size>
177 * The value 0 (default) forces zone capacity to be the same as zone
178 * size. The value of this property may not exceed zone size.
180 * zoned.descr_ext_size=<zone descriptor extension size, default 0>
182 * namespace(s) will not support zone descriptor extensions.
193 * Setting this property to true enables Read Across Zone Boundaries.
[all …]
H A Dtrace-events108 pci_nvme_open_zone(uint64_t slba, uint32_t zone_idx, int all) "open zone, slba=%"PRIu64", idx=%"PRI…
109 pci_nvme_close_zone(uint64_t slba, uint32_t zone_idx, int all) "close zone, slba=%"PRIu64", idx=%"P…
110 pci_nvme_finish_zone(uint64_t slba, uint32_t zone_idx, int all) "finish zone, slba=%"PRIu64", idx=%…
111 pci_nvme_reset_zone(uint64_t slba, uint32_t zone_idx, int all) "reset zone, slba=%"PRIu64", idx=%"P…
113 pci_nvme_offline_zone(uint64_t slba, uint32_t zone_idx, int all) "offline zone, slba=%"PRIu64", idx…
114 pci_nvme_set_descriptor_extension(uint64_t slba, uint32_t zone_idx) "set zone descriptor extension,…
116 pci_nvme_clear_ns_close(uint32_t state, uint64_t slba) "zone state=%"PRIu32", slba=%"PRIu64" transi…
117 pci_nvme_clear_ns_reset(uint32_t state, uint64_t slba) "zone state=%"PRIu32", slba=%"PRIu64" transi…
144 pci_nvme_err_unaligned_zone_cmd(uint8_t action, uint64_t slba, uint64_t zslba) "unaligned zone op 0…
146 …i_nvme_err_write_not_at_wp(uint64_t slba, uint64_t zone, uint64_t wp) "writing at slba=%"PRIu64",
[all …]
H A Dnvme.h314 static inline NvmeZoneState nvme_get_zone_state(NvmeZone *zone) in nvme_get_zone_state() argument
316 return zone->d.zs >> 4; in nvme_get_zone_state()
319 static inline void nvme_set_zone_state(NvmeZone *zone, NvmeZoneState state) in nvme_set_zone_state() argument
321 zone->d.zs = state << 4; in nvme_set_zone_state()
324 static inline uint64_t nvme_zone_rd_boundary(NvmeNamespace *ns, NvmeZone *zone) in nvme_zone_rd_boundary() argument
326 return zone->d.zslba + ns->zone_size; in nvme_zone_rd_boundary()
329 static inline uint64_t nvme_zone_wr_boundary(NvmeZone *zone) in nvme_zone_wr_boundary() argument
331 return zone->d.zslba + zone->d.zcap; in nvme_zone_wr_boundary()
334 static inline bool nvme_wp_is_valid(NvmeZone *zone) in nvme_wp_is_valid() argument
336 uint8_t st = nvme_get_zone_state(zone); in nvme_wp_is_valid()
/qemu/include/standard-headers/linux/
H A Dvirtio_blk.h186 /* Zone append command */
192 /* Open zone command */
195 /* Close zone command */
198 /* Finish zone command */
201 /* Reset zone command */
238 * Zone descriptor. A part of VIRTIO_BLK_T_ZONE_REPORT command reply.
241 /* Zone capacity */
243 /* The starting sector of the zone */
245 /* Zone write pointer position in sectors */
247 /* Zone type */
[all …]
H A Dinput.h370 * @deadband: size of the dead zone, where no force is produced
371 * @center: position of the dead zone
/qemu/docs/system/devices/
H A Dnvme.rst201 Define the zone size (``ZSZE``).
204 Define the zone capacity (``ZCAP``). If left at the default (``0``), the zone
205 capacity will equal the zone size.
208 Set the Zone Descriptor Extension Size (``ZDES``). Must be a multiple of 64
212 Set to ``on`` to allow reads to cross zone boundaries.
224 Set the maximum data transfer size for the Zone Append command. Like
/qemu/block/
H A Dfile-posix.c1376 * If the reset_all flag is true, then the wps of zone whose state is
1419 * zone type: 0 for SWR/SWP zones and 1 for conventional zones. in get_zones_wp()
1427 /* Zone not writable */ in get_zones_wp()
1431 /* Zone not writable nor readable */ in get_zones_wp()
1454 error_report("update zone wp failed"); in update_zones_wp()
1482 * The zoned device must at least have zone size and nr_zones fields. in raw_refresh_zoned_limits()
2108 * parse_zone - Fill a zone descriptor
2111 static inline int parse_zone(struct BlockZoneDescriptor *zone, in parse_zone() argument
2113 zone->start = blkz->start << BDRV_SECTOR_BITS; in parse_zone()
2114 zone->length = blkz->len << BDRV_SECTOR_BITS; in parse_zone()
[all …]
/qemu/docs/devel/
H A Dzoned-storage.rst33 including report zones, four zone operations, and zone append.
/qemu/hw/acpi/
H A Dbios-linker-loader.c42 * and @alloc.zone (can be HIGH or FSEG) requirements.
50 uint8_t zone; member
187 * @alloc_fseg: request allocation in FSEG zone (useful for the RSDP ACPI table)
209 entry.alloc.zone = alloc_fseg ? BIOS_LINKER_LOADER_ALLOC_ZONE_FSEG : in bios_linker_loader_alloc()
/qemu/target/microblaze/
H A Dmmu.c117 /* Now let's see if there is a zone that overrides the protbits. */ in mmu_translate()
124 "tlb zone select out of range! %d\n", tlb_zsel); in mmu_translate()
277 /* Changes to the zone protection reg flush the QEMU TLB. in mmu_write()
H A Dcpu.h83 #define ESR_DIZ (1<<11) /* Zone Protection */
/qemu/include/block/
H A Dblock-common.h116 * Zone descriptor data structure.
117 * Provides information on a zone with all position and size values in bytes.
129 * Track write pointers of a zone in bytes.
268 * the zone type is SWR.
H A Dblock-io.h115 /* Report zone information of zone block device. */
H A Dblock_int-common.h891 /* device zone model */
894 /* zone size expressed in bytes */
900 /* maximum sectors of a zone append write operation */
1278 /* array of write pointers' location of each zone in the zoned device. */
/qemu/accel/kvm/
H A Dkvm-all.c1199 struct kvm_coalesced_mmio_zone zone; in kvm_coalesce_mmio_region() local
1201 zone.addr = start; in kvm_coalesce_mmio_region()
1202 zone.size = size; in kvm_coalesce_mmio_region()
1203 zone.pad = 0; in kvm_coalesce_mmio_region()
1205 (void)kvm_vm_ioctl(s, KVM_REGISTER_COALESCED_MMIO, &zone); in kvm_coalesce_mmio_region()
1216 struct kvm_coalesced_mmio_zone zone; in kvm_uncoalesce_mmio_region() local
1218 zone.addr = start; in kvm_uncoalesce_mmio_region()
1219 zone.size = size; in kvm_uncoalesce_mmio_region()
1220 zone.pad = 0; in kvm_uncoalesce_mmio_region()
1222 (void)kvm_vm_ioctl(s, KVM_UNREGISTER_COALESCED_MMIO, &zone); in kvm_uncoalesce_mmio_region()
[all …]
/qemu/
H A Dqemu-io-cmds.c1767 printf("zone report failed: %s\n", strerror(-ret)); in zone_report_f()
1788 .oneline = "report zone information",
1809 printf("zone open failed: %s\n", strerror(-ret)); in zone_open_f()
1821 .oneline = "explicit open a range of zones in zone block device",
1842 printf("zone close failed: %s\n", strerror(-ret)); in zone_close_f()
1854 .oneline = "close a range of zones in zone block device",
1875 printf("zone finish failed: %s\n", strerror(-ret)); in zone_finish_f()
1887 .oneline = "finish a range of zones in zone block device",
1908 printf("zone reset failed: %s\n", strerror(-ret)); in zone_reset_f()
1920 .oneline = "reset a zone write pointer in zone block device",
[all …]
/qemu/hw/block/
H A Dvirtio-blk.c472 * append: true if only zone append requests issued.
630 virtio_error(vdev, "in buffer too small for zone report"); in virtio_blk_handle_zone_report()
635 /* start byte offset of the zone report */ in virtio_blk_handle_zone_report()
698 /* The zoned device allows the last smaller zone. */ in virtio_blk_handle_zone_mgmt()
/qemu/qapi/
H A Dblock-core.json872 # @min_zone_append_latency_ns: Minimum latency of zone append
884 # @max_zone_append_latency_ns: Maximum latency of zone append
896 # @avg_zone_append_latency_ns: Average latency of zone append
908 # @avg_zone_append_queue_depth: Average number of pending zone append
945 # @zone_append_operations: The number of zone append operations
960 # @zone_append_total_time_ns: Total time spent on zone append writes
980 # @zone_append_merged: Number of zone append requests that have been
996 # @failed_zone_append_operations: The number of failed zone append
1011 # @invalid_zone_append_operations: The number of invalid zone append
/qemu/target/ppc/
H A Dmmu-booke.c106 /* Raise Zone protection fault. */ in mmu40x_get_physical_address()
/qemu/qga/
H A Dcommands.c597 info->zone = g_strdup(name); in qmp_guest_get_timezone()
/qemu/scsi/
H A Dutils.c382 case 0x550e: /* INSUFFICIENT ZONE RESOURCES */ in scsi_sense_is_guest_recoverable()

12