|
static uint32_t | zns_zone_idx (NvmeNamespace *ns, uint64_t slba) |
|
static NvmeZone * | zns_get_zone_by_slba (NvmeNamespace *ns, uint64_t slba) |
|
static int | zns_init_zone_geometry (NvmeNamespace *ns, Error **errp) |
|
static void | zns_init_zoned_state (NvmeNamespace *ns) |
|
static void | zns_init_zone_identify (FemuCtrl *n, NvmeNamespace *ns, int lba_index) |
|
static void | zns_clear_zone (NvmeNamespace *ns, NvmeZone *zone) |
|
static void | zns_zoned_ns_shutdown (NvmeNamespace *ns) |
|
void | zns_ns_shutdown (NvmeNamespace *ns) |
|
void | zns_ns_cleanup (NvmeNamespace *ns) |
|
static void | zns_assign_zone_state (NvmeNamespace *ns, NvmeZone *zone, NvmeZoneState state) |
|
static int | zns_aor_check (NvmeNamespace *ns, uint32_t act, uint32_t opn) |
|
static uint16_t | zns_check_zone_state_for_write (NvmeZone *zone) |
|
static uint16_t | zns_check_zone_write (FemuCtrl *n, NvmeNamespace *ns, NvmeZone *zone, uint64_t slba, uint32_t nlb, bool append) |
|
static uint16_t | zns_check_zone_state_for_read (NvmeZone *zone) |
|
static uint16_t | zns_check_zone_read (NvmeNamespace *ns, uint64_t slba, uint32_t nlb) |
|
static void | zns_auto_transition_zone (NvmeNamespace *ns) |
|
static uint16_t | zns_auto_open_zone (NvmeNamespace *ns, NvmeZone *zone) |
|
static void | zns_finalize_zoned_write (NvmeNamespace *ns, NvmeRequest *req, bool failed) |
|
static uint64_t | zns_advance_zone_wp (NvmeNamespace *ns, NvmeZone *zone, uint32_t nlb) |
|
static void | zns_aio_zone_reset_cb (NvmeRequest *req, NvmeZone *zone) |
|
static uint16_t | zns_open_zone (NvmeNamespace *ns, NvmeZone *zone, NvmeZoneState state, NvmeRequest *req) |
|
static uint16_t | zns_close_zone (NvmeNamespace *ns, NvmeZone *zone, NvmeZoneState state, NvmeRequest *req) |
|
static uint16_t | zns_finish_zone (NvmeNamespace *ns, NvmeZone *zone, NvmeZoneState state, NvmeRequest *req) |
|
static uint16_t | zns_reset_zone (NvmeNamespace *ns, NvmeZone *zone, NvmeZoneState state, NvmeRequest *req) |
|
static uint16_t | zns_offline_zone (NvmeNamespace *ns, NvmeZone *zone, NvmeZoneState state, NvmeRequest *req) |
|
static uint16_t | zns_set_zd_ext (NvmeNamespace *ns, NvmeZone *zone) |
|
static uint16_t | zns_bulk_proc_zone (NvmeNamespace *ns, NvmeZone *zone, enum NvmeZoneProcessingMask proc_mask, op_handler_t op_hndlr, NvmeRequest *req) |
|
static uint16_t | zns_do_zone_op (NvmeNamespace *ns, NvmeZone *zone, enum NvmeZoneProcessingMask proc_mask, op_handler_t op_hndlr, NvmeRequest *req) |
|
static uint16_t | zns_get_mgmt_zone_slba_idx (FemuCtrl *n, NvmeCmd *c, uint64_t *slba, uint32_t *zone_idx) |
|
static uint16_t | zns_zone_mgmt_send (FemuCtrl *n, NvmeRequest *req) |
|
static bool | zns_zone_matches_filter (uint32_t zafs, NvmeZone *zl) |
|
static uint16_t | zns_zone_mgmt_recv (FemuCtrl *n, NvmeRequest *req) |
|
static bool | nvme_csi_has_nvm_support (NvmeNamespace *ns) |
|
static uint16_t | zns_check_bounds (NvmeNamespace *ns, uint64_t slba, uint32_t nlb) |
|
static uint16_t | zns_map_dptr (FemuCtrl *n, size_t len, NvmeRequest *req) |
|
static uint16_t | zns_do_write (FemuCtrl *n, NvmeRequest *req, bool append, bool wrz) |
|
static uint16_t | zns_admin_cmd (FemuCtrl *n, NvmeCmd *cmd) |
|
static uint16_t | zns_zone_append (FemuCtrl *n, NvmeRequest *req) |
|
static uint16_t | zns_check_dulbe (NvmeNamespace *ns, uint64_t slba, uint32_t nlb) |
|
static uint16_t | zns_read (FemuCtrl *n, NvmeNamespace *ns, NvmeCmd *cmd, NvmeRequest *req) |
|
static uint16_t | zns_write (FemuCtrl *n, NvmeNamespace *ns, NvmeCmd *cmd, NvmeRequest *req) |
|
static uint16_t | zns_io_cmd (FemuCtrl *n, NvmeNamespace *ns, NvmeCmd *cmd, NvmeRequest *req) |
|
static void | zns_set_ctrl_str (FemuCtrl *n) |
|
static void | zns_set_ctrl (FemuCtrl *n) |
|
static int | zns_init_zone_cap (FemuCtrl *n) |
|
static int | zns_start_ctrl (FemuCtrl *n) |
|
static void | zns_init (FemuCtrl *n, Error **errp) |
|
static void | zns_exit (FemuCtrl *n) |
|
int | nvme_register_znssd (FemuCtrl *n) |
|