Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dm-path-selector.c File Reference
#include <linux/device-mapper.h>
#include <linux/module.h>
#include "dm-path-selector.h"
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  ps_internal
 

Macros

#define pst_to_psi(__pst)   container_of((__pst), struct ps_internal, pst)
 

Functions

struct path_selector_typedm_get_path_selector (const char *name)
 
void dm_put_path_selector (struct path_selector_type *pst)
 
int dm_register_path_selector (struct path_selector_type *pst)
 
int dm_unregister_path_selector (struct path_selector_type *pst)
 
 EXPORT_SYMBOL_GPL (dm_register_path_selector)
 
 EXPORT_SYMBOL_GPL (dm_unregister_path_selector)
 

Macro Definition Documentation

#define pst_to_psi (   __pst)    container_of((__pst), struct ps_internal, pst)

Definition at line 24 of file dm-path-selector.c.

Function Documentation

struct path_selector_type* dm_get_path_selector ( const char name)
read

Definition at line 54 of file dm-path-selector.c.

void dm_put_path_selector ( struct path_selector_type pst)

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

int dm_register_path_selector ( struct path_selector_type pst)

Definition at line 97 of file dm-path-selector.c.

int dm_unregister_path_selector ( struct path_selector_type pst)

Definition at line 118 of file dm-path-selector.c.

EXPORT_SYMBOL_GPL ( dm_register_path_selector  )
EXPORT_SYMBOL_GPL ( dm_unregister_path_selector  )