Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:string_stream_test_empty_on_creation

Proto:static void string_stream_test_empty_on_creation(struct kunit *test)

Type:void

Parameter:

TypeParameterName
struct kunit *test
15  stream = alloc_string_stream(test, GFP_KERNEL)
17  KUNIT_EXPECT_TRUE() - Causes a test failure when the expression is not true(test, string_stream_is_empty(stream))