函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cont_add

函数原型:static bool cont_add(unsigned int caller_id, int facility, int level, enum log_flags flags, const char *text, size_t len)

返回类型:bool

参数:

类型参数名称
unsigned intcaller_id
intfacility
intlevel
enum log_flagsflags
const char *text
size_tlen
1845  如果length == 0 means unused buffer len大于buf的长度则
1846  cont_flush()
1847  返回:false
1850  如果非length == 0 means unused buffer
1851  log facility of first message 等于facility
1852  log level of first message 等于level
1853  printk_caller_id() of first print 等于caller_id
1854  ime of first print 等于local_clock()
1855  prefix, newline flags 等于flags
1858  内存复制(buf + length == 0 means unused buffer , text, len)
1859  length == 0 means unused buffer 加等于len
1863  如果flags按位与xt ended with a newline
1864  prefix, newline flags 或等于xt ended with a newline
1865  cont_flush()
1868  返回:true
调用者
名称描述
log_output