Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mtd_blktrans_ops Struct Reference

#include <blktrans.h>

Data Fields

charname
 
int major
 
int part_bits
 
int blksize
 
int blkshift
 
int(* readsect )(struct mtd_blktrans_dev *dev, unsigned long block, char *buffer)
 
int(* writesect )(struct mtd_blktrans_dev *dev, unsigned long block, char *buffer)
 
int(* discard )(struct mtd_blktrans_dev *dev, unsigned long block, unsigned nr_blocks)
 
void(* background )(struct mtd_blktrans_dev *dev)
 
int(* getgeo )(struct mtd_blktrans_dev *dev, struct hd_geometry *geo)
 
int(* flush )(struct mtd_blktrans_dev *dev)
 
int(* open )(struct mtd_blktrans_dev *dev)
 
int(* release )(struct mtd_blktrans_dev *dev)
 
void(* add_mtd )(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
 
void(* remove_dev )(struct mtd_blktrans_dev *dev)
 
struct list_head devs
 
struct list_head list
 
struct moduleowner
 

Detailed Description

Definition at line 53 of file blktrans.h.

Field Documentation

Definition at line 79 of file blktrans.h.

void(* background)(struct mtd_blktrans_dev *dev)

Definition at line 67 of file blktrans.h.

int blkshift

Definition at line 58 of file blktrans.h.

int blksize

Definition at line 57 of file blktrans.h.

Definition at line 82 of file blktrans.h.

int(* discard)(struct mtd_blktrans_dev *dev, unsigned long block, unsigned nr_blocks)

Definition at line 65 of file blktrans.h.

Definition at line 71 of file blktrans.h.

Definition at line 70 of file blktrans.h.

Definition at line 83 of file blktrans.h.

int major

Definition at line 55 of file blktrans.h.

char* name

Definition at line 54 of file blktrans.h.

Definition at line 74 of file blktrans.h.

struct module* owner

Definition at line 84 of file blktrans.h.

int part_bits

Definition at line 56 of file blktrans.h.

int(* readsect)(struct mtd_blktrans_dev *dev, unsigned long block, char *buffer)

Definition at line 61 of file blktrans.h.

Definition at line 75 of file blktrans.h.

void(* remove_dev)(struct mtd_blktrans_dev *dev)

Definition at line 80 of file blktrans.h.

int(* writesect)(struct mtd_blktrans_dev *dev, unsigned long block, char *buffer)

Definition at line 63 of file blktrans.h.


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