Linux Kernel
3.7.1
|
#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) |
#define DM_MSG_PREFIX "uevent" |
Definition at line 30 of file dm-uevent.c.
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.
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.
Definition at line 216 of file dm-uevent.c.
Definition at line 205 of file dm-uevent.c.
EXPORT_SYMBOL_GPL | ( | dm_send_uevents | ) |
EXPORT_SYMBOL_GPL | ( | dm_path_uevent | ) |
enum kobject_action action |
Definition at line 34 of file dm-uevent.c.
char* name |
Definition at line 35 of file dm-uevent.c.
enum dm_uevent_type type |
Definition at line 33 of file dm-uevent.c.