Lines Matching defs:kobj
28 const void *kobject_namespace(struct kobject *kobj) in kobject_namespace()
48 void kobject_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) in kobject_get_ownership()
66 static int populate_dir(struct kobject *kobj) in populate_dir()
83 static int create_dir(struct kobject *kobj) in create_dir()
129 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length()
147 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path()
171 char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path()
189 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join()
201 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave()
212 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal()
225 static int kobject_add_internal(struct kobject *kobj) in kobject_add_internal()
281 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, in kobject_set_name_vargs()
324 int kobject_set_name(struct kobject *kobj, const char *fmt, ...) in kobject_set_name()
349 void kobject_init(struct kobject *kobj, struct kobj_type *ktype) in kobject_init()
378 static __printf(3, 0) int kobject_add_varg(struct kobject *kobj, in kobject_add_varg()
426 int kobject_add(struct kobject *kobj, struct kobject *parent, in kobject_add()
464 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, in kobject_init_and_add()
490 int kobject_rename(struct kobject *kobj, const char *new_name) in kobject_rename()
554 int kobject_move(struct kobject *kobj, struct kobject *new_parent) in kobject_move()
602 static void __kobject_del(struct kobject *kobj) in __kobject_del()
635 void kobject_del(struct kobject *kobj) in kobject_del()
652 struct kobject *kobject_get(struct kobject *kobj) in kobject_get()
665 struct kobject * __must_check kobject_get_unless_zero(struct kobject *kobj) in kobject_get_unless_zero()
679 static void kobject_cleanup(struct kobject *kobj) in kobject_cleanup()
727 struct kobject *kobj = container_of(kref, struct kobject, kref); in kobject_release() local
746 void kobject_put(struct kobject *kobj) in kobject_put()
758 static void dynamic_kobj_release(struct kobject *kobj) in dynamic_kobj_release()
782 struct kobject *kobj; in kobject_create() local
807 struct kobject *kobj; in kobject_create_and_add() local
836 static ssize_t kobj_attr_show(struct kobject *kobj, struct attribute *attr, in kobj_attr_show()
848 static ssize_t kobj_attr_store(struct kobject *kobj, struct attribute *attr, in kobj_attr_store()
927 static void kset_release(struct kobject *kobj) in kset_release()
935 static void kset_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) in kset_get_ownership()
1077 const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj) in kobj_ns_ops()