Lines Matching refs:kobj
599 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store() argument
613 patch = container_of(kobj, struct klp_patch, kobj); in enabled_store()
642 static ssize_t enabled_show(struct kobject *kobj, in enabled_show() argument
647 patch = container_of(kobj, struct klp_patch, kobj); in enabled_show()
657 static void klp_kobj_release_patch(struct kobject *kobj) in klp_kobj_release_patch() argument
671 static void klp_kobj_release_object(struct kobject *kobj) in klp_kobj_release_object() argument
680 static void klp_kobj_release_func(struct kobject *kobj) in klp_kobj_release_func() argument
699 kobject_put(&func->kobj); in klp_free_funcs_limited()
724 kobject_put(&obj->kobj); in klp_free_objects_limited()
733 kobject_put(&patch->kobj); in klp_free_patch()
741 return kobject_init_and_add(&func->kobj, &klp_ktype_func, in klp_init_func()
742 &obj->kobj, "%s", func->old_name); in klp_init_func()
782 ret = kobject_init_and_add(&obj->kobj, &klp_ktype_object, in klp_init_object()
783 &patch->kobj, "%s", name); in klp_init_object()
803 kobject_put(&obj->kobj); in klp_init_object()
819 ret = kobject_init_and_add(&patch->kobj, &klp_ktype_patch, in klp_init_patch()
838 kobject_put(&patch->kobj); in klp_init_patch()