Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dm-uevent.c File Reference
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/kobject.h>
#include <linux/dm-ioctl.h>
#include <linux/export.h>
#include "dm.h"
#include "dm-uevent.h"

Go to the source code of this file.

Data Structures

struct  dm_uevent
 

Macros

#define DM_MSG_PREFIX   "uevent"
 

Functions

void dm_send_uevents (struct list_head *events, struct kobject *kobj)
 
 EXPORT_SYMBOL_GPL (dm_send_uevents)
 
void dm_path_uevent (enum dm_uevent_type event_type, struct dm_target *ti, const char *path, unsigned nr_valid_paths)
 
 EXPORT_SYMBOL_GPL (dm_path_uevent)
 
int dm_uevent_init (void)
 
void dm_uevent_exit (void)
 

Macro Definition Documentation

#define DM_MSG_PREFIX   "uevent"

Definition at line 30 of file dm-uevent.c.

Function Documentation

void dm_path_uevent ( enum dm_uevent_type  event_type,
struct dm_target ti,
const char path,
unsigned  nr_valid_paths 
)

dm_path_uevent - called to create a new path event and queue it

: path event type enum : pointer to a dm_target : string containing pathname : number of valid paths remaining

Definition at line 183 of file dm-uevent.c.

void dm_send_uevents ( struct list_head events,
struct kobject kobj 
)

dm_send_uevents - send uevents for given list

: list of events to send : kobject generating event

Definition at line 134 of file dm-uevent.c.

void dm_uevent_exit ( void  )

Definition at line 216 of file dm-uevent.c.

int dm_uevent_init ( void  )

Definition at line 205 of file dm-uevent.c.

EXPORT_SYMBOL_GPL ( dm_send_uevents  )
EXPORT_SYMBOL_GPL ( dm_path_uevent  )

Variable Documentation

Definition at line 34 of file dm-uevent.c.

char* name

Definition at line 35 of file dm-uevent.c.

Definition at line 33 of file dm-uevent.c.