Home
last modified time | relevance | path

Searched refs:kunit_put_resource (Results 1 – 6 of 6) sorted by relevance

/linux/lib/kunit/
H A Dstatic_stub.c56 kunit_put_resource(res); in __kunit_get_static_stub_address_impl()
80 kunit_put_resource(res); in kunit_deactivate_static_stub()
112 kunit_put_resource(res); in __kunit_activate_static_stub()
H A Dresource.c59 kunit_put_resource(res); in kunit_remove_resource()
75 kunit_put_resource(res); in kunit_destroy_resource()
156 kunit_put_resource(res); in kunit_remove_action()
175 kunit_put_resource(res); in kunit_release_action()
H A Dplatform.c122 kunit_put_resource(res); in kunit_platform_device_add()
/linux/include/kunit/
H A Dresource.h38 * to call kunit_put_resource() to reduce the resource reference count
106 * Called when refcount reaches zero via kunit_put_resource();
125 * kunit_put_resource() - When caller is done with retrieved resource,
126 * kunit_put_resource() should be called to drop
136 static inline void kunit_put_resource(struct kunit_resource *res) in kunit_put_resource() function
205 kunit_put_resource(existing); in kunit_add_named_resource()
229 * also increments the resource's refcount, so kunit_put_resource() should be
386 * in this case a final call to kunit_put_resource() is required.
/linux/lib/tests/
H A Dfortify_kunit.c82 kunit_put_resource(resource); in fortify_add_kunit_error()
/linux/mm/
H A Dslub.c853 kunit_put_resource(resource); in slab_add_kunit_errors()
868 kunit_put_resource(resource); in slab_in_kunit_test()