Lines Matching defs:context
51 * static int kunit_kmalloc_init(struct kunit_resource *res, void *context)
53 * struct kunit_kmalloc_params *params = context;
145 * @test: The test context object.
161 * @test: The test context object.
184 * @test: The test context object.
217 * @test: The test context object.
221 * @context: for the user to pass in arbitrary data to the init function.
233 * specify an @internal_gfp that is compatible with the use context of your
241 void *context)
252 ret = __kunit_add_resource(test, init, free, res, context);
266 * @test: The test context object.
270 * @context: for the user to pass in arbitrary data to the init function.
277 * specify an @internal_gfp that is compatible with the use context of your
284 void *context)
293 if (!__kunit_add_resource(test, init, free, res, context))
381 * @test: The test context object.
400 * due to a failure. @ctx is passed as additional context. All functions
422 * due to a failure. @ctx is passed as additional context. All functions
445 * @ctx: The context passed to the deferred function to trigger.
450 * If the function/context pair was deferred multiple times, only the most
463 * @ctx: The context passed to the deferred function to trigger.
468 * If the function/context pair was deferred multiple times, it will only be