Lines Matching defs:init
231 if (suite->init) {
234 ret = suite->init(test);
401 * kunit_alloc_resource(). When an init function is supplied, @data is passed
402 * into the init function; otherwise, we simply set the resource data field to
406 kunit_resource_init_t init,
416 if (init) {
417 ret = init(res, data);
434 kunit_resource_init_t init,
453 return kunit_add_resource(test, init, free, res, data);
458 kunit_resource_init_t init,
470 ret = kunit_add_resource(test, init, free, res, data);