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

#include <dm-path-selector.h>

Data Fields

charname
 
struct modulemodule
 
unsigned int table_args
 
unsigned int info_args
 
int(* create )(struct path_selector *ps, unsigned argc, char **argv)
 
void(* destroy )(struct path_selector *ps)
 
int(* add_path )(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error)
 
struct dm_path *(* select_path )(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes)
 
void(* fail_path )(struct path_selector *ps, struct dm_path *p)
 
int(* reinstate_path )(struct path_selector *ps, struct dm_path *p)
 
int(* status )(struct path_selector *ps, struct dm_path *path, status_type_t type, char *result, unsigned int maxlen)
 
int(* start_io )(struct path_selector *ps, struct dm_path *path, size_t nr_bytes)
 
int(* end_io )(struct path_selector *ps, struct dm_path *path, size_t nr_bytes)
 

Detailed Description

Definition at line 30 of file dm-path-selector.h.

Field Documentation

int(* add_path)(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error)

Definition at line 47 of file dm-path-selector.h.

int(* create)(struct path_selector *ps, unsigned argc, char **argv)

Definition at line 40 of file dm-path-selector.h.

void(* destroy)(struct path_selector *ps)

Definition at line 41 of file dm-path-selector.h.

int(* end_io)(struct path_selector *ps, struct dm_path *path, size_t nr_bytes)

Definition at line 81 of file dm-path-selector.h.

Definition at line 65 of file dm-path-selector.h.

unsigned int info_args

Definition at line 35 of file dm-path-selector.h.

Definition at line 32 of file dm-path-selector.h.

char* name

Definition at line 31 of file dm-path-selector.h.

int(* reinstate_path)(struct path_selector *ps, struct dm_path *p)

Definition at line 70 of file dm-path-selector.h.

struct dm_path*(* select_path)(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes)
read

Definition at line 58 of file dm-path-selector.h.

int(* start_io)(struct path_selector *ps, struct dm_path *path, size_t nr_bytes)

Definition at line 79 of file dm-path-selector.h.

Definition at line 76 of file dm-path-selector.h.

unsigned int table_args

Definition at line 34 of file dm-path-selector.h.


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