Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alloc_string_stream

Proto:struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp)

Type:struct string_stream

Parameter:

TypeParameterName
struct kunit *test
gfp_tgfp
199  struct string_stream_alloc_context context = {test = test, gfp = gfp}
204  Return kunit_alloc_resource() - Allocates a *test managed resource*
Caller
NameDescribe
string_stream_test_empty_on_creation
string_stream_test_not_empty_after_add
string_stream_test_get_string
kunit_fail