Linux Kernel
3.7.1
|
#include <kobject.h>
Data Fields | |
struct list_head | list |
spinlock_t | list_lock |
struct kobject | kobj |
struct kset_uevent_ops * | uevent_ops |
struct kset - a set of kobjects of a specific type, belonging to a specific subsystem.
A kset defines a group of kobjects. They can be individually different "types" but overall these kobjects all want to be grouped together and operated on in the same manner. ksets are used to define the attribute callbacks and other common events that happen to a kobject.
: the list of all kobjects for this kset : a lock for iterating over the kobjects : the embedded kobject for this kset (recursion, isn't it fun...) : the set of uevent operations for this kset. These are called whenever a kobject has something happen to it so that the kset can add new environment variables, or filter out the uevents if so desired.
spinlock_t list_lock |
struct kset_uevent_ops* uevent_ops |