Flash Translation Layer  1.0
Data Fields
device_operations Struct Reference

operations for device More...

#include <device.h>

Collaboration diagram for device_operations:
Collaboration graph

Data Fields

int(* open )(struct device *, const char *name, int flags)
 
ssize_t(* write )(struct device *, struct device_request *)
 
ssize_t(* read )(struct device *, struct device_request *)
 
int(* erase )(struct device *, struct device_request *)
 
int(* close )(struct device *)
 

Detailed Description

operations for device

Field Documentation

◆ close

int(* device_operations::close) (struct device *)

◆ erase

int(* device_operations::erase) (struct device *, struct device_request *)

◆ open

int(* device_operations::open) (struct device *, const char *name, int flags)

◆ read

ssize_t(* device_operations::read) (struct device *, struct device_request *)

◆ write

ssize_t(* device_operations::write) (struct device *, struct device_request *)

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