函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kunit\test.c Create Date:2022-07-27 07:36:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kunit_print_string_stream

函数原型:static void kunit_print_string_stream(struct kunit *test, struct string_stream *stream)

返回类型:void

参数:

类型参数名称
struct kunit *test
struct string_stream *stream
103  buf等于string_stream_get_string(stream)
104  如果非buf
105  kunit_err() - Prints an ERROR level message associated with @test.*@test: The test context object.*@fmt: A printk() style format string.* Prints an error level message.(test, "Could not allocate buffer, dumping stream:\n")
108  kunit_err() - Prints an ERROR level message associated with @test.*@test: The test context object.*@fmt: A printk() style format string.* Prints an error level message.(test, "%s", fragment)
110  kunit_err() - Prints an ERROR level message associated with @test.*@test: The test context object.*@fmt: A printk() style format string.* Prints an error level message.(test, "\n")
111  否则
112  kunit_err() - Prints an ERROR level message associated with @test.*@test: The test context object.*@fmt: A printk() style format string.* Prints an error level message.(test, "%s", buf)
113  kunit_kfree(test, buf)
调用者
名称描述
kunit_fail