#include "../nvme.h"
结构体 | |
struct | NvmeZonedResult |
struct | NvmeIdCtrlZoned |
struct | NvmeZoneReportHeader |
struct | NvmeZoneDescr |
struct | NvmeLBAFE |
struct | NvmeIdNsZoned |
struct | NvmeZone |
struct | NvmeNamespaceParams |
宏定义 | |
#define | NVME_SET_CSI(vec, csi) (vec |= (uint8_t)(1 << (csi))) |
类型定义 | |
typedef struct QEMU_PACKED NvmeZonedResult | NvmeZonedResult |
typedef struct NvmeIdCtrlZoned | NvmeIdCtrlZoned |
typedef struct QEMU_PACKED NvmeZoneReportHeader | NvmeZoneReportHeader |
typedef struct QEMU_PACKED NvmeZoneDescr | NvmeZoneDescr |
typedef enum NvmeZoneState | NvmeZoneState |
typedef struct QEMU_PACKED NvmeLBAFE | NvmeLBAFE |
typedef struct QEMU_PACKED NvmeIdNsZoned | NvmeIdNsZoned |
typedef struct NvmeZone | NvmeZone |
typedef struct NvmeNamespaceParams | NvmeNamespaceParams |
函数 | |
static uint32_t | zns_nsid (NvmeNamespace *ns) |
static NvmeLBAF * | zns_ns_lbaf (NvmeNamespace *ns) |
static uint8_t | zns_ns_lbads (NvmeNamespace *ns) |
static uint64_t | zns_ns_nlbas (NvmeNamespace *ns) |
static size_t | zns_l2b (NvmeNamespace *ns, uint64_t lba) |
static NvmeZoneState | zns_get_zone_state (NvmeZone *zone) |
static void | zns_set_zone_state (NvmeZone *zone, NvmeZoneState state) |
static uint64_t | zns_zone_rd_boundary (NvmeNamespace *ns, NvmeZone *zone) |
static uint64_t | zns_zone_wr_boundary (NvmeZone *zone) |
static bool | zns_wp_is_valid (NvmeZone *zone) |
static uint8_t * | zns_get_zd_extension (NvmeNamespace *ns, uint32_t zone_idx) |
static void | zns_aor_inc_open (NvmeNamespace *ns) |
static void | zns_aor_dec_open (NvmeNamespace *ns) |
static void | zns_aor_inc_active (NvmeNamespace *ns) |
static void | zns_aor_dec_active (NvmeNamespace *ns) |
void | zns_ns_shutdown (NvmeNamespace *ns) |
void | zns_ns_cleanup (NvmeNamespace *ns) |
#define NVME_SET_CSI | ( | vec, | |
csi | |||
) | (vec |= (uint8_t)(1 << (csi))) |
typedef struct NvmeIdCtrlZoned NvmeIdCtrlZoned |
typedef struct QEMU_PACKED NvmeIdNsZoned NvmeIdNsZoned |
typedef struct NvmeNamespaceParams NvmeNamespaceParams |
typedef struct QEMU_PACKED NvmeZoneDescr NvmeZoneDescr |
typedef struct QEMU_PACKED NvmeZonedResult NvmeZonedResult |
typedef struct QEMU_PACKED NvmeZoneReportHeader NvmeZoneReportHeader |
typedef enum NvmeZoneState NvmeZoneState |
enum NvmeZoneAttr |
enum NvmeZoneReportType |
enum NvmeZoneSendAction |
enum NvmeZoneState |
enum NvmeZoneType |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void zns_ns_cleanup | ( | NvmeNamespace * | ns | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void zns_ns_shutdown | ( | NvmeNamespace * | ns | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |