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

#include <nvme.h>

NvmeRequest 的协作图:

Public 成员函数

 QTAILQ_ENTRY (NvmeRequest) entry
 

成员变量

struct NvmeSQueuesq
 
struct NvmeCQueuecq
 
struct NvmeNamespacens
 
uint16_t status
 
uint64_t slba
 开始lba 更多...
 
uint16_t is_write
 是否为写操作 更多...
 
uint16_t nlb
 逻辑块个数 更多...
 
uint16_t ctrl
 
uint64_t meta_size
 
uint64_t mptr
 
void * meta_buf
 
uint64_t oc12_slba
 
uint64_t * oc12_ppa_list
 
NvmeCmd cmd
 
NvmeCqe cqe
 
uint8_t cmd_opcode
 
QEMUSGList qsg
 dma用 更多...
 
QEMUIOVector iov
 
int64_t stime
 io开始时间 更多...
 
int64_t reqlat
 io延迟 更多...
 
int64_t gcrt
 
int64_t expire_time
 io应该结束的时间 更多...
 
uint64_t predef
 
void * opaque
 
size_t pos
 

成员函数说明

◆ QTAILQ_ENTRY()

NvmeRequest::QTAILQ_ENTRY ( NvmeRequest  )

结构体成员变量说明

◆ cmd

NvmeCmd NvmeRequest::cmd

◆ cmd_opcode

uint8_t NvmeRequest::cmd_opcode

◆ cq

struct NvmeCQueue* NvmeRequest::cq

◆ cqe

NvmeCqe NvmeRequest::cqe

◆ ctrl

uint16_t NvmeRequest::ctrl

◆ expire_time

int64_t NvmeRequest::expire_time

io应该结束的时间

◆ gcrt

int64_t NvmeRequest::gcrt

◆ iov

QEMUIOVector NvmeRequest::iov

◆ is_write

uint16_t NvmeRequest::is_write

是否为写操作

◆ meta_buf

void* NvmeRequest::meta_buf

◆ meta_size

uint64_t NvmeRequest::meta_size

◆ mptr

uint64_t NvmeRequest::mptr

◆ nlb

uint16_t NvmeRequest::nlb

逻辑块个数

◆ ns

struct NvmeNamespace* NvmeRequest::ns

◆ oc12_ppa_list

uint64_t* NvmeRequest::oc12_ppa_list

◆ oc12_slba

uint64_t NvmeRequest::oc12_slba

◆ opaque

void* NvmeRequest::opaque

◆ pos

size_t NvmeRequest::pos

◆ predef

uint64_t NvmeRequest::predef

◆ qsg

QEMUSGList NvmeRequest::qsg

dma用

◆ reqlat

int64_t NvmeRequest::reqlat

io延迟

◆ slba

uint64_t NvmeRequest::slba

开始lba

◆ sq

struct NvmeSQueue* NvmeRequest::sq

◆ status

uint16_t NvmeRequest::status

◆ stime

int64_t NvmeRequest::stime

io开始时间


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