Searched refs:kset (Results 1 - 25 of 49) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/samples/kobject/
H A DMakefile1 obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o kset-example.o
H A Dkset-example.c2 * Sample kset and ktype implementation
18 * This module shows how to create a kset in sysfs called
19 * /sys/kernel/kset-example
20 * Then tree kobjects are created and assigned to this kset, "foo", "baz",
186 static struct kset *example_kset;
202 * As we have a kset for this kobject, we need to set it before calling
205 foo->kobj.kset = example_kset;
209 * will be created here. As we have already specified a kset for this
211 * will be placed beneath that kset automatically.
236 * Create a kset wit
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dkobject.h64 struct kset *kset; member in struct:kobject
124 int (* const filter)(struct kset *kset, struct kobject *kobj);
125 const char *(* const name)(struct kset *kset, struct kobject *kobj);
126 int (* const uevent)(struct kset *kset, struct kobject *kobj,
143 * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem.
145 * A kset define
159 struct kset { struct
[all...]
H A Discsi_boot_sysfs.h99 struct kset *kset; member in struct:iscsi_boot_kset
H A Dsysdev.h41 struct kset kset; member in struct:sysdev_class
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/base/
H A Dsys.c80 #define to_sysdev_class(k) container_of(k, struct sysdev_class, kset.kobj)
118 return sysfs_create_file(&c->kset.kobj, &a->attr);
125 sysfs_remove_file(&c->kset.kobj, &a->attr);
129 static struct kset *system_kset;
138 memset(&cls->kset.kobj, 0x00, sizeof(struct kobject));
139 cls->kset.kobj.parent = &system_kset->kobj;
140 cls->kset.kobj.ktype = &ktype_sysdev_class;
141 cls->kset.kobj.kset = system_kset;
143 retval = kobject_set_name(&cls->kset
[all...]
H A Dbase.h5 * @subsys - the struct kset that defines this bus. This is the main kobject
20 struct kset subsys;
21 struct kset *drivers_kset;
22 struct kset *devices_kset;
43 * @class_subsys - the struct kset that defines this class. This is the main kobject
56 struct kset class_subsys;
59 struct kset class_dirs;
132 extern struct kset *devices_kset;
H A Dmemory.c36 static const char *memory_uevent_name(struct kset *kset, struct kobject *kobj) argument
41 static int memory_uevent(struct kset *kset, struct kobject *obj, struct kobj_uevent_env *env) argument
323 return sysfs_create_file(&memory_sysdev_class.kset.kobj,
356 return sysfs_create_file(&memory_sysdev_class.kset.kobj,
414 err = sysfs_create_file(&memory_sysdev_class.kset.kobj,
417 err = sysfs_create_file(&memory_sysdev_class.kset.kobj,
492 kobj = kset_find_obj(&memory_sysdev_class.kset, name);
544 memory_sysdev_class.kset
[all...]
H A Dcore.c152 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) argument
166 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) argument
177 static int dev_uevent(struct kset *kset, struct kobject *kobj, argument
276 struct kset *kset; local
282 /* search the kset, the device belongs to */
284 while (!top_kobj->kset
[all...]
H A Dclass.c86 static struct kset *class_kset;
190 cp->class_subsys.kobj.kset = class_kset;
192 cp->class_subsys.kobj.kset = class_kset;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dkobject.c97 * kobject_get_path - generate and return the path associated with a given kobj and kset pair.
121 /* add the kobject to its kset's list */
124 if (!kobj->kset)
127 kset_get(kobj->kset);
128 spin_lock(&kobj->kset->list_lock);
129 list_add_tail(&kobj->entry, &kobj->kset->list);
130 spin_unlock(&kobj->kset->list_lock);
133 /* remove the kobject from its kset's list */
136 if (!kobj->kset)
139 spin_lock(&kobj->kset
747 kset_find_obj(struct kset *kset, const char *name) argument
765 struct kset *kset = container_of(kobj, struct kset, kobj); local
795 struct kset *kset; local
838 struct kset *kset; local
[all...]
H A Dkobject_uevent.c137 struct kset *kset; local
149 /* search the kset we belong to */
151 while (!top_kobj->kset && top_kobj->parent)
154 if (!top_kobj->kset) {
156 "without kset!\n", kobject_name(kobj), kobj,
161 kset = top_kobj->kset;
162 uevent_ops = kset->uevent_ops;
173 if (!uevent_ops->filter(kset, kob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/cluster/
H A Dmasklog.c150 static struct kset mlog_kset = {
154 int mlog_sys_init(struct kset *o2cb_kset)
165 mlog_kset.kobj.kset = o2cb_kset;
H A Dsys.c55 static struct kset *o2cb_kset;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/firmware/
H A Dmemmap.c132 static struct kset *mmap_kset;
140 entry->kobj.kset = mmap_kset;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Discsi_boot_sysfs.c317 boot_kobj->kobj.kset = boot_kset->kset;
355 * @boot_kset: boot kset
377 * @boot_kset: boot kset
401 * @boot_kset: boot kset
435 boot_kset->kset = kset_create_and_add(set_name, NULL, firmware_kobj);
436 if (!boot_kset->kset) {
466 * iscsi_boot_destroy_kset() - destroy kset and kobjects under it
467 * @boot_kset: boot kset
469 * This will remove the kset an
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/
H A Dslot.c14 struct kset *pci_slots_kset;
249 slot->kobj.kset = pci_slots_kset;
369 struct kset *pci_bus_kset;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Domadec.c91 static int kset(AVFormatContext *s, const uint8_t *r_val, const uint8_t *n_val, function
185 kset(s, oc->r_val, NULL, 16);
254 kset(s, s->key, s->key, s->keylen);
264 kset(s, buf, buf, 16);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Domadec.c88 static int kset(AVFormatContext *s, const uint8_t *r_val, const uint8_t *n_val, int len) function
167 kset(s, oc->r_val, NULL, 16);
228 kset(s, s->key, s->key, s->keylen);
238 kset(s, buf, buf, 16);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Dsysfs.c190 static struct kset *btrfs_kset;
214 fs->super_kobj.kset = btrfs_kset;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/dlm/
H A Dlockspace.c162 static struct kset *dlm_kset;
194 static int dlm_uevent(struct kset *kset, struct kobject *kobj, argument
216 printk(KERN_WARNING "%s: can not create kset\n", __func__);
563 ls->ls_kobj.kset = dlm_kset;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Dsys.c58 static struct kset *gfs2_kset;
569 sdp->sd_kobj.kset = gfs2_kset;
611 static int gfs2_uevent(struct kset *kset, struct kobject *kobj, argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/drivers/dma/
H A Ddma-sysfs.c55 return sysfs_create_file(&dma_sysclass.kset.kobj, &attr_devices.attr);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dparams.c737 mk->kobj.kset = module_kset;
841 static int uevent_filter(struct kset *kset, struct kobject *kobj) argument
854 struct kset *module_kset;
868 printk(KERN_WARNING "%s (%d): error creating kset\n",
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-omap1/
H A Dpm.h116 extern struct kset power_subsys;

Completed in 512 milliseconds

12