Home
last modified time | relevance | path

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

/openbmc/qemu/hw/nvme/
H A Dnvme.h153 typedef struct NvmeZone { struct
156 QTAILQ_ENTRY(NvmeZone) entry; argument
157 } NvmeZone; typedef
255 NvmeZone *zone_array;
256 QTAILQ_HEAD(, NvmeZone) exp_open_zones;
257 QTAILQ_HEAD(, NvmeZone) imp_open_zones;
258 QTAILQ_HEAD(, NvmeZone) closed_zones;
259 QTAILQ_HEAD(, NvmeZone) full_zones;
312 static inline NvmeZoneState nvme_get_zone_state(NvmeZone *zone) in nvme_get_zone_state()
317 static inline void nvme_set_zone_state(NvmeZone *zone, NvmeZoneState state) in nvme_set_zone_state()
[all …]
H A Dns.c239 NvmeZone *zone; in nvme_ns_zoned_init_state()
242 ns->zone_array = g_new0(NvmeZone, ns->num_zones); in nvme_ns_zoned_init_state()
337 static void nvme_clear_zone(NvmeNamespace *ns, NvmeZone *zone) in nvme_clear_zone()
366 NvmeZone *zone, *next; in nvme_zoned_ns_shutdown()
H A Dctrl.c379 static void nvme_assign_zone_state(NvmeNamespace *ns, NvmeZone *zone, in nvme_assign_zone_state()
1812 static inline NvmeZone *nvme_get_zone_by_slba(NvmeNamespace *ns, uint64_t slba) in nvme_get_zone_by_slba()
1823 static uint16_t nvme_check_zone_state_for_write(NvmeZone *zone) in nvme_check_zone_state_for_write()
1849 static uint16_t nvme_check_zone_write(NvmeNamespace *ns, NvmeZone *zone, in nvme_check_zone_write()
1883 static uint16_t nvme_check_zone_state_for_read(NvmeZone *zone) in nvme_check_zone_state_for_read()
1906 NvmeZone *zone; in nvme_check_zone_read()
1940 static uint16_t nvme_zrm_finish(NvmeNamespace *ns, NvmeZone *zone) in nvme_zrm_finish()
1970 static uint16_t nvme_zrm_close(NvmeNamespace *ns, NvmeZone *zone) in nvme_zrm_close()
1986 static uint16_t nvme_zrm_reset(NvmeNamespace *ns, NvmeZone *zone) in nvme_zrm_reset()
2018 NvmeZone *zone; in nvme_zrm_auto_transition_zone()
[all …]