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_find

Proto:static struct kunit_resource *kunit_resource_find(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
359  lockdep_assert_held( & Guards all mutable test state. )
362  If free != free Then Continue
364  If match(test, allocation, match_data) Then Return resource
368  Return NULL
Caller
NameDescribe
kunit_resource_remove