Lines Matching refs:kobject
14 #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: %s\n", kobject_name(kobj));
423 * manager for the kobject supports notification), poll will
474 void sysfs_notify(struct kobject *k, const char *dir, const char *attr)
541 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr)
549 int sysfs_create_files(struct kobject *kobj, const struct attribute **ptr)
568 int sysfs_add_file_to_group(struct kobject *kobj,
596 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr,
629 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr)
634 void sysfs_remove_files(struct kobject * kobj, const struct attribute **ptr)
647 void sysfs_remove_file_from_group(struct kobject *kobj,
665 struct kobject *kobj;
690 * sysfs_schedule_callback - helper to schedule a callback for a kobject
697 * kobject (which would amount to the same thing). Attempts to do so will
710 int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *),