Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kunit\test.c Create Date:2022-07-28 06:38:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kunit_resource_destroy

Proto:int kunit_resource_destroy(struct kunit *test, kunit_resource_match_t match, kunit_resource_free_t free, void *match_data)

Type:int

Parameter:

TypeParameterName
struct kunit *test
kunit_resource_match_tmatch
kunit_resource_free_tfree
void *match_data
395  resource = kunit_resource_remove(test, match, free, match_data)
397  If Not resource Then Return -ENOENT
400  kunit_resource_free(test, resource)
401  Return 0
Caller
NameDescribe
kunit_kfree
string_stream_fragment_destroy
string_stream_destroy
kunit_resource_test_destroy_resource