Searched refs:is_resource_initialized (Results 1 – 1 of 1) sorted by relevance
160 bool is_resource_initialized; member169 res->data = &ctx->is_resource_initialized; in fake_resource_init()170 ctx->is_resource_initialized = true; in fake_resource_init()176 bool *is_resource_initialized = res->data; in fake_resource_free() local178 *is_resource_initialized = false; in fake_resource_free()204 &ctx->is_resource_initialized, in kunit_resource_test_alloc_resource()244 KUNIT_EXPECT_FALSE(test, ctx->is_resource_initialized); in kunit_resource_test_destroy_resource()267 KUNIT_EXPECT_TRUE(test, ctx->is_resource_initialized); in kunit_resource_test_remove_resource()275 KUNIT_EXPECT_TRUE(test, ctx->is_resource_initialized); in kunit_resource_test_remove_resource()279 KUNIT_EXPECT_FALSE(test, ctx->is_resource_initialized); in kunit_resource_test_remove_resource()