Searched refs:kobject (Results 26 - 50 of 258) sorted by relevance

1234567891011

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/char/
H A Dtape_class.h17 #include <linux/kobject.h>
45 * Pointer to the logical device name (will also be used as kobject name
H A Dsclp_cpi_sys.c221 static ssize_t system_name_show(struct kobject *kobj,
232 static ssize_t system_name_store(struct kobject *kobj,
253 static ssize_t sysplex_name_show(struct kobject *kobj,
264 static ssize_t sysplex_name_store(struct kobject *kobj,
285 static ssize_t system_type_show(struct kobject *kobj,
296 static ssize_t system_type_store(struct kobject *kobj,
317 static ssize_t system_level_show(struct kobject *kobj,
328 static ssize_t system_level_store(struct kobject *kobj,
354 static ssize_t set_store(struct kobject *kobj,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/cluster/
H A Dsys.c29 #include <linux/kobject.h>
38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/hotplug/
H A Dfakephp.c17 #include <linux/kobject.h>
26 struct kobject kobj;
33 static ssize_t legacy_show(struct kobject *kobj, struct attribute *attr,
46 static ssize_t legacy_store(struct kobject *kobj, struct attribute *attr,
68 static void legacy_release(struct kobject *kobj)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/samples/kobject/
H A Dkset-example.c10 #include <linux/kobject.h>
32 struct kobject kobj;
51 * transpose back from a "default" kobject to our custom struct foo_obj and
54 static ssize_t foo_attr_show(struct kobject *kobj,
74 static ssize_t foo_attr_store(struct kobject *kobj,
103 static void foo_release(struct kobject *kobj)
178 * whenever a kobject of this type is registered with the kernel.
202 * As we have a kset for this kobject, we need to set it before calling
203 * the kobject core.
208 * Initialize and add the kobject t
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Dsysfs.c25 #include <linux/kobject.h>
104 static ssize_t btrfs_super_attr_show(struct kobject *kobj,
116 static ssize_t btrfs_super_attr_store(struct kobject *kobj,
129 static ssize_t btrfs_root_attr_show(struct kobject *kobj,
141 static ssize_t btrfs_root_attr_store(struct kobject *kobj,
153 static void btrfs_super_release(struct kobject *kobj)
160 static void btrfs_root_release(struct kobject *kobj)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dcpuidle.h17 #include <linux/kobject.h>
83 struct kobject kobj;
99 struct kobject kobj;
H A Dcpufreq.h18 #include <linux/kobject.h>
69 extern struct kobject *cpufreq_global_kobject;
105 struct kobject kobj;
299 ssize_t (*show)(struct kobject *kobj,
301 ssize_t (*store)(struct kobject *a, struct attribute *b,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/edac/
H A Dedac_device_sysfs.c116 static ssize_t edac_dev_ctl_info_show(struct kobject *kobj,
128 static ssize_t edac_dev_ctl_info_store(struct kobject *kobj,
180 * One 'main' kobject for each control structure allocated.
186 * bumps the 'main' kobject.
200 static void edac_device_ctrl_master_release(struct kobject *kobj)
215 /* ktype for the main (master) kobject */
248 /* Init the devices's kobject */
249 memset(&edac_dev->kobj, 0, sizeof(struct kobject));
276 debugf4("%s() Registered '.../edac/%s' kobject\n",
291 * the '..../edac/<name>' kobject
[all...]
H A Dedac_core.h33 #include <linux/kobject.h>
321 struct kobject kobj; /* sysfs kobject for this csrow */
336 struct kobject kobj; /* kobj for the group */
421 struct kobject edac_mci_kobj;
518 ssize_t (*show)(struct kobject *, struct attribute *, char *);
519 ssize_t (*store)(struct kobject *, struct attribute *,
539 struct kobject kobj;
553 struct kobject kobj;
640 struct kobject kob
[all...]
H A Dedac_pci_sysfs.c32 static struct kobject *edac_pci_top_main_kobj;
76 /* DEVICE instance kobject release() function */
77 static void edac_pci_instance_release(struct kobject *kobj)
100 static ssize_t edac_pci_instance_show(struct kobject *kobj,
112 static ssize_t edac_pci_instance_store(struct kobject *kobj,
157 * construct one EDAC PCI instance's kobject for use
161 struct kobject *main_kobj;
176 /* And now register this new kobject under the main kobj */
187 debugf1("%s() Register instance 'pci%d' kobject\n", __func__, idx);
206 /* Unregister the instance kobject an
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/base/
H A Dmap.c16 #include <linux/kobject.h>
96 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index)
98 struct kobject *kobj;
105 struct kobject *(*probe)(dev_t, int *, void *);
H A Dbase.h5 * @subsys - the struct kset that defines this bus. This is the main kobject
15 * This structure is the one that is the actual kobject allowing struct
31 struct kobject kobj;
43 * @class_subsys - the struct kset that defines this class. This is the main kobject
51 * This structure is the one that is the actual kobject allowing struct
128 extern char *make_class_name(const char *name, struct kobject *kobj);
H A Dcore.c31 static struct kobject *dev_kobj;
32 struct kobject *sysfs_dev_char_kobj;
33 struct kobject *sysfs_dev_block_kobj;
74 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
90 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr,
110 * @kobj: device's kobject.
116 static void device_release(struct kobject *kobj)
134 static const void *device_namespace(struct kobject *kobj)
152 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj)
166 static const char *dev_uevent_name(struct kset *kset, struct kobject *kob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/drm/ttm/
H A Dttm_memory.h35 #include <linux/kobject.h>
78 struct kobject kobj;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dcacheinfo.c17 #include <linux/kobject.h>
28 * - a "cache" kobject for the top-level directory
32 struct kobject *kobj; /* bare (not embedded) kobject for cache
39 * cpu. This object's lifetime is managed via the embedded kobject.
42 struct kobject kobj;
124 static struct cache_index_dir *kobj_to_cache_index_dir(struct kobject *k)
455 struct kobject *kobj = NULL;
482 static void cache_index_release(struct kobject *kobj)
494 static ssize_t cache_index_show(struct kobject *
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/sysfs/
H A Dfile.c14 #include <linux/kobject.h>
69 * kobject's show() method to fill the buffer with this attribute's
77 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj;
187 * flush_write_buffer - push buffer to kobject.
192 * Get the correct pointers for the kobject and the attribute we're
201 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj;
226 * then push it to the kobject in flush_write_buffer().
336 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj;
350 /* every kobject with an attribute needs a ktype assigned */
355 "kobject
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dchar_dev.c18 #include <linux/kobject.h>
344 static struct kobject *cdev_get(struct cdev *p)
347 struct kobject *kobj;
378 struct kobject *kobj;
423 struct kobject *kobj;
461 static struct kobject *exact_match(dev_t dev, int *part, void *data)
509 static void cdev_default_release(struct kobject *kobj)
515 static void cdev_dynamic_release(struct kobject *kobj)
561 static struct kobject *base_probe(dev_t dev, int *part, void *data)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/parisc/
H A Dpdc_stable.c64 #include <linux/kobject.h>
106 struct kobject kobj;
222 /* kobject is already registered */
416 * @kobj: The kobject to get info from.
421 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf)
435 * @kobj: The kobject to write info to.
441 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr,
472 /* Specific kobject type for our PDC paths */
501 static ssize_t pdcs_size_read(struct kobject *kobj,
521 static ssize_t pdcs_auto_read(struct kobject *kob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/
H A Dxt_IDLETIMER.c40 #include <linux/kobject.h>
46 ssize_t (*show)(struct kobject *kobj,
55 struct kobject *kobj;
64 static struct kobject *idletimer_tg_kobj;
81 static ssize_t idletimer_tg_show(struct kobject *kobj, struct attribute *attr,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/kernel/
H A Dipl.c181 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \
191 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \
198 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
214 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \
220 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
267 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr,
320 static ssize_t ipl_vm_parm_show(struct kobject *kobj,
387 static ssize_t sys_ipl_device_show(struct kobject *kobj,
406 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj,
423 static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/firmware/
H A Dmemmap.c43 struct kobject kobj; /* kobject for each entry */
49 static ssize_t memmap_attr_show(struct kobject *kobj,
223 static ssize_t memmap_attr_show(struct kobject *kobj,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/
H A Dslot.c8 #include <linux/kobject.h>
17 static ssize_t pci_slot_attr_show(struct kobject *kobj,
25 static ssize_t pci_slot_attr_store(struct kobject *kobj,
100 static void pci_slot_release(struct kobject *kobj)
156 struct kobject *dup_slot;
340 struct kobject *kobj = NULL;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/sh4/
H A Dsq.c255 * queue, but considering the kobject hell we already have to deal with,
258 static struct kobject *sq_kobject[NR_CPUS];
268 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr,
279 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr,
342 struct kobject *kobj;
345 sq_kobject[cpu] = kzalloc(sizeof(struct kobject), GFP_KERNEL);
360 struct kobject *kobj = sq_kobject[cpu];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dkobject_uevent.c19 #include <linux/kobject.h>
42 /* the strings here must match the enum in include/linux/kobject.h */
89 struct kobject *kobj = data;
104 static int kobj_usermode_filter(struct kobject *kobj)
123 * @kobj: struct kobject that the action is happening to
129 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
136 struct kobject *top_kobj;
146 pr_debug("kobject: '%s' (%p): %s\n",
155 pr_debug("kobject: '%s' (%p): %s: attempted to send uevent "
166 pr_debug("kobject
[all...]

Completed in 300 milliseconds

1234567891011