Lines Matching refs:kobject
28 const void *kobject_namespace(const struct kobject *kobj) in kobject_namespace()
48 void kobject_get_ownership(const struct kobject *kobj, kuid_t *uid, kgid_t *gid) in kobject_get_ownership()
57 static int create_dir(struct kobject *kobj) in create_dir()
97 static int get_kobj_path_length(const struct kobject *kobj) in get_kobj_path_length()
100 const struct kobject *parent = kobj; in get_kobj_path_length()
115 static int fill_kobj_path(const struct kobject *kobj, char *path, int length) in fill_kobj_path()
117 const struct kobject *parent; in fill_kobj_path()
143 char *kobject_get_path(const struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path()
165 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join()
177 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave()
188 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal()
201 static int kobject_add_internal(struct kobject *kobj) in kobject_add_internal()
204 struct kobject *parent; in kobject_add_internal()
257 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, in kobject_set_name_vargs()
300 int kobject_set_name(struct kobject *kobj, const char *fmt, ...) in kobject_set_name()
325 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype) in kobject_init()
354 static __printf(3, 0) int kobject_add_varg(struct kobject *kobj, in kobject_add_varg()
355 struct kobject *parent, in kobject_add_varg()
402 int kobject_add(struct kobject *kobj, struct kobject *parent, in kobject_add()
440 int kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, in kobject_init_and_add()
441 struct kobject *parent, const char *fmt, ...) in kobject_init_and_add()
466 int kobject_rename(struct kobject *kobj, const char *new_name) in kobject_rename()
530 int kobject_move(struct kobject *kobj, struct kobject *new_parent) in kobject_move()
533 struct kobject *old_parent; in kobject_move()
578 static void __kobject_del(struct kobject *kobj) in __kobject_del()
611 void kobject_del(struct kobject *kobj) in kobject_del()
613 struct kobject *parent; in kobject_del()
628 struct kobject *kobject_get(struct kobject *kobj) in kobject_get()
641 struct kobject * __must_check kobject_get_unless_zero(struct kobject *kobj) in kobject_get_unless_zero()
655 static void kobject_cleanup(struct kobject *kobj) in kobject_cleanup()
657 struct kobject *parent = kobj->parent; in kobject_cleanup()
697 struct kobject, release)); in kobject_delayed_cleanup()
703 struct kobject *kobj = container_of(kref, struct kobject, kref); in kobject_release()
722 void kobject_put(struct kobject *kobj) in kobject_put()
734 static void dynamic_kobj_release(struct kobject *kobj) in dynamic_kobj_release()
756 static struct kobject *kobject_create(void) in kobject_create()
758 struct kobject *kobj; in kobject_create()
781 struct kobject *kobject_create_and_add(const char *name, struct kobject *parent) in kobject_create_and_add()
783 struct kobject *kobj; in kobject_create_and_add()
812 static ssize_t kobj_attr_show(struct kobject *kobj, struct attribute *attr, in kobj_attr_show()
824 static ssize_t kobj_attr_store(struct kobject *kobj, struct attribute *attr, in kobj_attr_store()
891 struct kobject *kset_find_obj(struct kset *kset, const char *name) in kset_find_obj()
893 struct kobject *k; in kset_find_obj()
894 struct kobject *ret = NULL; in kset_find_obj()
910 static void kset_release(struct kobject *kobj) in kset_release()
918 static void kset_get_ownership(const struct kobject *kobj, kuid_t *uid, kgid_t *gid) in kset_get_ownership()
947 struct kobject *parent_kobj) in kset_create()
990 struct kobject *parent_kobj) in kset_create_and_add()
1050 const struct kobj_ns_type_operations *kobj_child_ns_ops(const struct kobject *parent) in kobj_child_ns_ops()
1060 const struct kobj_ns_type_operations *kobj_ns_ops(const struct kobject *kobj) in kobj_ns_ops()