Lines Matching refs:kobject
49 static struct kobject *dev_kobj;
50 struct kobject *sysfs_dev_char_kobj;
51 struct kobject *sysfs_dev_block_kobj;
113 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show()
129 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store()
226 static void device_release(struct kobject *kobj) in device_release()
255 static const void *device_namespace(struct kobject *kobj) in device_namespace()
273 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter()
287 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name()
298 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent()
374 struct kobject *top_kobj; in uevent_show()
717 struct kobject *virtual_device_parent(struct device *dev) in virtual_device_parent()
719 static struct kobject *virtual_dir = NULL; in virtual_device_parent()
729 struct kobject kobj;
735 static void class_dir_release(struct kobject *kobj) in class_dir_release()
742 struct kobj_ns_type_operations *class_dir_child_ns_type(struct kobject *kobj) in class_dir_child_ns_type()
754 static struct kobject *
755 class_dir_create_and_add(struct class *class, struct kobject *parent_kobj) in class_dir_create_and_add()
779 static struct kobject *get_device_parent(struct device *dev, in get_device_parent()
783 struct kobject *kobj = NULL; in get_device_parent()
784 struct kobject *parent_kobj; in get_device_parent()
785 struct kobject *k; in get_device_parent()
839 static void cleanup_glue_dir(struct device *dev, struct kobject *glue_dir) in cleanup_glue_dir()
954 static struct kobject *device_to_dev_kobj(struct device *dev) in device_to_dev_kobj()
956 struct kobject *kobj; in device_to_dev_kobj()
968 struct kobject *kobj = device_to_dev_kobj(dev); in device_create_sys_dev_entry()
982 struct kobject *kobj = device_to_dev_kobj(dev); in device_remove_sys_dev_entry()
1028 struct kobject *kobj; in device_add()
1903 struct kobject *kobj = &dev->kobj; in device_rename()
1965 struct kobject *new_parent_kobj; in device_move()