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

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dsysfs.h18 struct kobject;
62 ssize_t (*read)(struct kobject *, char *, loff_t, size_t);
63 ssize_t (*write)(struct kobject *, char *, loff_t, size_t);
64 int (*mmap)(struct kobject *, struct bin_attribute *attr,
69 ssize_t (*show)(struct kobject *, struct attribute *,char *);
70 ssize_t (*store)(struct kobject *,struct attribute *,const char *, size_t);
82 extern int sysfs_schedule_callback(struct kobject *kobj,
86 sysfs_create_dir(struct kobject *, struct dentry *);
89 sysfs_remove_dir(struct kobject *);
92 sysfs_rename_dir(struct kobject *, struc
[all...]
H A Dkobject.h2 * kobject.h - generic kernel object infrastructure.
10 * Please read Documentation/kobject.txt before using the kobject
36 /* counter to tag the uevent, read only except for the kobject core */
50 struct kobject { struct
55 struct kobject * parent;
62 extern int kobject_set_name(struct kobject *, const char *, ...)
65 static inline const char * kobject_name(const struct kobject * kobj)
70 extern void kobject_init(struct kobject *);
71 extern void kobject_cleanup(struct kobject *);
[all...]
H A Dkobj_map.h5 typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
11 struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
H A Dcdev.h5 #include <linux/kobject.h>
14 struct kobject kobj;
H A Dsysdev.h24 #include <linux/kobject.h>
88 struct kobject kobj;
H A Dgenhd.h87 struct kobject kobj;
88 struct kobject *holder_dir;
128 struct kobject kobj;
129 struct kobject *holder_dir;
130 struct kobject *slave_dir;
423 extern struct kobject *get_disk(struct gendisk *disk);
428 struct kobject *(*probe)(dev_t, int *, void *),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/
H A Dhypervisor.c9 #include <linux/kobject.h>
H A Dbase.h34 static inline struct class_device *to_class_dev(struct kobject *obj)
45 extern char *make_class_name(const char *name, struct kobject *kobj);
H A Dfirmware.c11 #include <linux/kobject.h>
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 *);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Dkobject.c2 * kobject.c - library routines for handling generic kernel objects
9 * Please see the file Documentation/kobject.txt for critical information
10 * about using the kobject interface.
13 #include <linux/kobject.h>
31 static int populate_dir(struct kobject * kobj)
47 static int create_dir(struct kobject * kobj, struct dentry *shadow_parent)
60 static inline struct kobject * to_kobj(struct list_head * entry)
62 return container_of(entry,struct kobject,entry);
65 static int get_kobj_path_length(struct kobject *kobj)
68 struct kobject * paren
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysfs/
H A Dsymlink.c8 #include <linux/kobject.h>
14 static int object_depth(struct kobject * kobj)
16 struct kobject * p = kobj;
22 static int object_path_length(struct kobject * kobj)
24 struct kobject * p = kobj;
33 static void fill_object_path(struct kobject * kobj, char * buffer, int length)
35 struct kobject * p;
48 static int sysfs_add_link(struct dentry * parent, const char * name, struct kobject * target)
85 int sysfs_create_link(struct kobject * kobj, struct kobject * targe
[all...]
H A Dsysfs.h29 extern int sysfs_create_subdir(struct kobject *, const char *, struct dentry **);
47 struct kobject * target_kobj;
66 static inline struct kobject * to_kobj(struct dentry * dentry)
69 return ((struct kobject *) sd->s_element);
84 static inline struct kobject *sysfs_get_kobject(struct dentry *dentry)
86 struct kobject * kobj = NULL;
H A Dgroup.c11 #include <linux/kobject.h>
45 int sysfs_create_group(struct kobject * kobj,
68 void sysfs_remove_group(struct kobject * kobj,
H A Dbin.c14 #include <linux/kobject.h>
27 struct kobject * kobj = to_kobj(dentry->d_parent);
73 struct kobject *kobj = to_kobj(dentry->d_parent);
111 struct kobject *kobj = to_kobj(dentry->d_parent);
121 struct kobject *kobj = sysfs_get_kobject(file->f_path.dentry->d_parent);
157 struct kobject * kobj = to_kobj(file->f_path.dentry->d_parent);
182 int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr)
196 void sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr)
H A Dfile.c7 #include <linux/kobject.h>
24 subsys_attr_show(struct kobject * kobj, struct attribute * attr, char * page)
36 subsys_attr_store(struct kobject * kobj, struct attribute * attr,
83 * kobject's show() method to fill the buffer with this attribute's
92 struct kobject * kobj = to_kobj(dentry->d_parent);
189 * flush_write_buffer - push buffer to kobject.
194 * Get the correct pointers for the kobject and the attribute we're
203 struct kobject * kobj = to_kobj(dentry->d_parent);
219 * then push it to the kobject in flush_write_buffer().
250 struct kobject *kob
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/cluster/
H A Dsys.c29 #include <linux/kobject.h>
60 o2cb_show(struct kobject * kobj, struct attribute * attr, char * buffer);
62 o2cb_store(struct kobject * kobj, struct attribute * attr,
78 o2cb_show(struct kobject * kobj, struct attribute * attr, char * buffer)
91 o2cb_store(struct kobject * kobj, struct attribute * attr,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Drpadlpar_sysfs.c15 #include <linux/kobject.h>
37 dlpar_attr_show(struct kobject * kobj, struct attribute * attr, char * buf)
45 dlpar_attr_store(struct kobject * kobj, struct attribute * attr,
119 static void dlpar_io_release(struct kobject *kobj)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/Documentation/firmware_class/
H A Dfirmware_sample_firmware_class.c26 static inline struct class_device *to_class_dev(struct kobject *obj)
36 int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr);
37 int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr);
80 static ssize_t firmware_data_read(struct kobject *kobj,
90 static ssize_t firmware_data_write(struct kobject *kobj,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Diseries_veth.c174 struct kobject kobject; member in struct:veth_lpar_connection
213 struct kobject kobject; member in struct:veth_port
225 static void veth_release_connection(struct kobject *kobject);
332 static ssize_t veth_cnx_attribute_show(struct kobject *kobj,
339 cnx = container_of(kobj, struct veth_lpar_connection, kobject);
403 static ssize_t veth_port_attribute_show(struct kobject *kobj,
410 port = container_of(kobj, struct veth_port, kobject);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/locking/dlm/
H A Dlock_dlm.h23 #include <linux/kobject.h>
64 struct kobject kobj;
152 int gdlm_kobject_setup(struct gdlm_ls *, struct kobject *);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dpci.h107 extern ssize_t pci_read_legacy_io(struct kobject *kobj, char *buf, loff_t off,
109 extern ssize_t pci_write_legacy_io(struct kobject *kobj, char *buf, loff_t off,
111 extern int pci_mmap_legacy_mem(struct kobject *kobj,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh4/
H A Dsq.c249 * queue, but considering the kobject hell we already have to deal with,
252 static struct kobject *sq_kobject[NR_CPUS];
262 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr,
273 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr,
337 struct kobject *kobj;
339 sq_kobject[cpu] = kzalloc(sizeof(struct kobject), GFP_KERNEL);
354 struct kobject *kobj = sq_kobject[cpu];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dchar_dev.c19 #include <linux/kobject.h>
336 static struct kobject *cdev_get(struct cdev *p)
339 struct kobject *kobj;
370 struct kobject *kobj;
436 static struct kobject *exact_match(dev_t dev, int *part, void *data)
484 static void cdev_default_release(struct kobject *kobj)
490 static void cdev_dynamic_release(struct kobject *kobj)
538 static struct kobject *base_probe(dev_t dev, int *part, void *data)

Completed in 183 milliseconds

123456