Searched refs:kobject (Results 1 - 25 of 258) sorted by relevance

1234567891011

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/drm/ttm/
H A Dttm_module.h35 struct kobject;
38 extern struct kobject *ttm_get_kobj(void);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dkobject.h2 * kobject.h - generic kernel object infrastructure.
11 * Please read Documentation/kobject.txt before using the kobject
37 /* counter to tag the uevent, read only except for the kobject core */
60 struct kobject { struct
63 struct kobject *parent;
75 extern int kobject_set_name(struct kobject *kobj, const char *name, ...)
77 extern int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
80 static inline const char *kobject_name(const struct kobject *kobj)
85 extern void kobject_init(struct kobject *kob
[all...]
H A Dsysfs.h22 struct kobject;
58 mode_t (*is_visible)(struct kobject *,
92 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,
94 ssize_t (*write)(struct file *,struct kobject *, struct bin_attribute *,
96 int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr,
113 ssize_t (*show)(struct kobject *, struct attribute *,char *);
114 ssize_t (*store)(struct kobject *,struct attribute *,const char *, size_t);
121 int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *),
124 int __must_check sysfs_create_dir(struct kobject *kobj);
125 void sysfs_remove_dir(struct kobject *kob
[all...]
H A Dkobj_map.h10 typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
16 struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
H A Dkobject_ns.h8 * Split from kobject.h by David Howells (dhowells@redhat.com)
12 * Please read Documentation/kobject.txt before using the kobject
21 struct kobject;
48 const struct kobj_ns_type_operations *kobj_child_ns_ops(struct kobject *parent);
49 const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj);
H A Dcdev.h4 #include <linux/kobject.h>
13 struct kobject kobj;
H A Dfirmware-map.h20 #include <linux/kobject.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/base/
H A Dhypervisor.c11 #include <linux/kobject.h>
15 struct kobject *hypervisor_kobj;
H A Dfirmware.c11 #include <linux/kobject.h>
18 struct kobject *firmware_kobj;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/samples/
H A DMakefile3 obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ tracepoints/ trace_events/ \
/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 Dkobject-example.c2 * Sample kobject implementation
10 #include <linux/kobject.h>
18 * /sys/kernel/kobject-example In that directory, 3 files are created:
30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr,
36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr,
50 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr,
62 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr,
94 * the kobject directory. If we specify a name, a subdirectory will be
102 static struct kobject *example_kobj;
109 * Create a simple kobject wit
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/batman-adv/
H A Dbat_sysfs.h31 ssize_t (*show)(struct kobject *kobj, struct attribute *attr,
33 ssize_t (*store)(struct kobject *kobj, struct attribute *attr,
39 int sysfs_add_hardif(struct kobject **hardif_obj, struct net_device *dev);
40 void sysfs_del_hardif(struct kobject **hardif_obj);
H A Dbat_sysfs.c39 static ssize_t show_aggr_ogms(struct kobject *kobj, struct attribute *attr,
50 static ssize_t store_aggr_ogms(struct kobject *kobj, struct attribute *attr,
88 static ssize_t show_bond(struct kobject *kobj, struct attribute *attr,
99 static ssize_t store_bond(struct kobject *kobj, struct attribute *attr,
137 static ssize_t show_vis_mode(struct kobject *kobj, struct attribute *attr,
149 static ssize_t store_vis_mode(struct kobject *kobj, struct attribute *attr,
191 static ssize_t show_orig_interval(struct kobject *kobj, struct attribute *attr,
201 static ssize_t store_orig_interval(struct kobject *kobj, struct attribute *attr,
235 static ssize_t show_log_level(struct kobject *kobj, struct attribute *attr,
245 static ssize_t store_log_level(struct kobject *kob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Ddm-uevent.h33 extern void dm_send_uevents(struct list_head *events, struct kobject *kobj);
48 struct kobject *kobj)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dksysfs.c11 #include <linux/kobject.h>
29 static ssize_t uevent_seqnum_show(struct kobject *kobj,
37 static ssize_t uevent_helper_show(struct kobject *kobj,
42 static ssize_t uevent_helper_store(struct kobject *kobj,
58 static ssize_t profiling_show(struct kobject *kobj,
63 static ssize_t profiling_store(struct kobject *kobj,
89 static ssize_t kexec_loaded_show(struct kobject *kobj,
96 static ssize_t kexec_crash_loaded_show(struct kobject *kobj,
103 static ssize_t kexec_crash_size_show(struct kobject *kobj,
108 static ssize_t kexec_crash_size_store(struct kobject *kob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Duv_sysfs.c26 struct kobject *sgi_uv_kobj;
28 static ssize_t partition_id_show(struct kobject *kobj,
34 static ssize_t coherence_id_show(struct kobject *kobj,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dkobject.c2 * kobject.c - library routines for handling generic kernel objects
11 * Please see the file Documentation/kobject.txt for critical information
12 * about using the kobject interface.
15 #include <linux/kobject.h>
30 static int populate_dir(struct kobject *kobj)
47 static int create_dir(struct kobject *kobj)
61 static int get_kobj_path_length(struct kobject *kobj)
64 struct kobject *parent = kobj;
79 static void fill_kobj_path(struct kobject *kobj, char *path, int length)
81 struct kobject *paren
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/hotplug/
H A Drpadlpar_sysfs.c15 #include <linux/kobject.h>
32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr,
56 static ssize_t add_slot_show(struct kobject *kobj,
62 static ssize_t remove_slot_store(struct kobject *kobj,
87 static ssize_t remove_slot_show(struct kobject *kobj,
109 static struct kobject *dlpar_kobj;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/
H A Dcore_priv.h43 u8, struct kobject *));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/pseries/
H A Dpower.c24 #include <linux/kobject.h>
31 static ssize_t auto_poweron_show(struct kobject *kobj,
37 static ssize_t auto_poweron_store(struct kobject *kobj,
56 struct kobject *power_kobj;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/sysfs/
H A Dgroup.c11 #include <linux/kobject.h>
19 static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
29 static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
59 static int internal_create_group(struct kobject *kobj, int update,
88 * sysfs_create_group - given a directory kobject, create an attribute group
89 * @kobj: The kobject to create the group on
97 int sysfs_create_group(struct kobject *kobj,
104 * sysfs_update_group - given a directory kobject, create an attribute group
105 * @kobj: The kobject to create the group on
120 int sysfs_update_group(struct kobject *kob
[all...]
H A Dsymlink.c17 #include <linux/kobject.h>
24 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target,
104 int sysfs_create_link(struct kobject *kobj, struct kobject *target,
119 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target,
134 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ,
151 void sysfs_remove_link(struct kobject * kob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/ttm/
H A Dttm_module.c58 struct kobject *ttm_get_kobj(void)
60 struct kobject *kobj = &ttm_drm_class_device.kobj;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/power/
H A Dmain.c11 #include <linux/kobject.h>
50 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr,
56 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr,
85 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr,
106 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr,
138 struct kobject *power_kobj;
150 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr,
172 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr,
236 static ssize_t wakeup_count_show(struct kobject *kobj,
245 static ssize_t wakeup_count_store(struct kobject *kob
[all...]

Completed in 285 milliseconds

1234567891011