Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kunit_resource_remove

Proto:static struct kunit_resource *kunit_resource_remove(struct kunit *test, kunit_resource_match_t match, kunit_resource_free_t free, void *match_data)

Type:struct kunit_resource

Parameter:

TypeParameterName
struct kunit *test
kunit_resource_match_tmatch
kunit_resource_free_tfree
void *match_data
379  spin_lock( & Guards all mutable test state. )
380  resource = kunit_resource_find(test, match, free, match_data)
381  If resource Then deletes entry from list
383  spin_unlock( & Guards all mutable test state. )
385  Return resource
Caller
NameDescribe
kunit_resource_destroy