Flash Translation Layer  1.0
Data Fields
device_request Struct Reference

request for device More...

#include <device.h>

Collaboration diagram for device_request:
Collaboration graph

Data Fields

unsigned int flag
 
size_t data_len
 
size_t sector
 
struct device_address paddr
 
void * data
 
device_end_req_fn end_rq
 
gint is_finish
 
pthread_mutex_t mutex
 
pthread_cond_t cond
 
void * rq_private
 

Detailed Description

request for device

Field Documentation

◆ cond

pthread_cond_t device_request::cond

◆ data

void* device_request::data

pointer of the data

◆ data_len

size_t device_request::data_len

data length (bytes)

◆ end_rq

device_end_req_fn device_request::end_rq

end request function

◆ flag

unsigned int device_request::flag

flag describes the bio's direction

◆ is_finish

gint device_request::is_finish

◆ mutex

pthread_mutex_t device_request::mutex

◆ paddr

struct device_address device_request::paddr

this contains the ppa

◆ rq_private

void* device_request::rq_private

contain the request's private data

◆ sector

size_t device_request::sector

sector cursor (bytes)


The documentation for this struct was generated from the following file: