FEMU  原版 master 7e238cc
FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
FemuExtCtrlOps结构体 参考

扩展操作接口,具体实现在各模式ssd中 更多...

#include <nvme.h>

成员变量

void * state
 
void(* init )(struct FemuCtrl *, Error **)
 
void(* exit )(struct FemuCtrl *)
 
uint16_t(* rw_check_req )(struct FemuCtrl *, NvmeCmd *, NvmeRequest *)
 
int(* start_ctrl )(struct FemuCtrl *)
 
uint16_t(* admin_cmd )(struct FemuCtrl *, NvmeCmd *)
 
uint16_t(* io_cmd )(struct FemuCtrl *, NvmeNamespace *, NvmeCmd *, NvmeRequest *)
 
uint16_t(* get_log )(struct FemuCtrl *, NvmeCmd *)
 

详细描述

扩展操作接口,具体实现在各模式ssd中

结构体成员变量说明

◆ admin_cmd

uint16_t(* FemuExtCtrlOps::admin_cmd) (struct FemuCtrl *, NvmeCmd *)

◆ exit

void(* FemuExtCtrlOps::exit) (struct FemuCtrl *)

◆ get_log

uint16_t(* FemuExtCtrlOps::get_log) (struct FemuCtrl *, NvmeCmd *)

◆ init

void(* FemuExtCtrlOps::init) (struct FemuCtrl *, Error **)

◆ io_cmd

uint16_t(* FemuExtCtrlOps::io_cmd) (struct FemuCtrl *, NvmeNamespace *, NvmeCmd *, NvmeRequest *)

◆ rw_check_req

uint16_t(* FemuExtCtrlOps::rw_check_req) (struct FemuCtrl *, NvmeCmd *, NvmeRequest *)

◆ start_ctrl

int(* FemuExtCtrlOps::start_ctrl) (struct FemuCtrl *)

◆ state

void* FemuExtCtrlOps::state

该结构体的文档由以下文件生成: