|
Linux Kernel
3.7.1
|
#include <linux/spinlock.h>#include <linux/string.h>#include <linux/kobject.h>#include <linux/export.h>#include <linux/kmod.h>#include <linux/slab.h>#include <linux/user_namespace.h>#include <linux/socket.h>#include <linux/skbuff.h>#include <linux/netlink.h>#include <net/sock.h>#include <net/net_namespace.h>Go to the source code of this file.
Functions | |
| int | kobject_action_type (const char *buf, size_t count, enum kobject_action *type) |
| int | kobject_uevent_env (struct kobject *kobj, enum kobject_action action, char *envp_ext[]) |
| EXPORT_SYMBOL_GPL (kobject_uevent_env) | |
| int | kobject_uevent (struct kobject *kobj, enum kobject_action action) |
| EXPORT_SYMBOL_GPL (kobject_uevent) | |
| int | add_uevent_var (struct kobj_uevent_env *env, const char *format,...) |
| EXPORT_SYMBOL_GPL (add_uevent_var) | |
Variables | |
| u64 | uevent_seqnum |
| char | uevent_helper [UEVENT_HELPER_PATH_LEN] = CONFIG_UEVENT_HELPER_PATH |
| int add_uevent_var | ( | struct kobj_uevent_env * | env, |
| const char * | format, | ||
| ... | |||
| ) |
add_uevent_var - add key value string to the environment buffer : environment buffer structure : printf format for the key=value pair
Returns 0 if environment variable was added successfully or -ENOMEM if no space was available.
Definition at line 345 of file kobject_uevent.c.
| EXPORT_SYMBOL_GPL | ( | kobject_uevent_env | ) |
| EXPORT_SYMBOL_GPL | ( | kobject_uevent | ) |
| EXPORT_SYMBOL_GPL | ( | add_uevent_var | ) |
| int kobject_action_type | ( | const char * | buf, |
| size_t | count, | ||
| enum kobject_action * | type | ||
| ) |
| int kobject_uevent | ( | struct kobject * | kobj, |
| enum kobject_action | action | ||
| ) |
kobject_uevent - notify userspace by sending an uevent
: action that is happening : struct kobject that the action is happening to
Returns 0 if kobject_uevent() is completed with success or the corresponding error when it fails.
Definition at line 331 of file kobject_uevent.c.
| int kobject_uevent_env | ( | struct kobject * | kobj, |
| enum kobject_action | action, | ||
| char * | envp_ext[] | ||
| ) |
kobject_uevent_env - send an uevent with environmental data
: action that is happening : struct kobject that the action is happening to : pointer to environmental data
Returns 0 if kobject_uevent_env() is completed with success or the corresponding error when it fails.
Definition at line 131 of file kobject_uevent.c.
| char uevent_helper[UEVENT_HELPER_PATH_LEN] = CONFIG_UEVENT_HELPER_PATH |
Definition at line 32 of file kobject_uevent.c.
| u64 uevent_seqnum |
Definition at line 31 of file kobject_uevent.c.
1.8.2