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:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:string_stream_clear

Proto:static void string_stream_clear(struct string_stream *stream)

Type:void

Parameter:

TypeParameterName
struct string_stream *stream
120  spin_lock( & length and fragments are protected by this lock )
125  string_stream_fragment_destroy(frag_container)
127  length = 0
128  spin_unlock( & length and fragments are protected by this lock )
Caller
NameDescribe
string_stream_free