Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cont_add

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

Type:bool

Parameter:

TypeParameterName
unsigned intcaller_id
intfacility
intlevel
enum log_flagsflags
const char *text
size_tlen
1845  If length == 0 means unused buffer + len > size of buf Then
1846  cont_flush()
1847  Return false
1850  If Not length == 0 means unused buffer Then
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  No 3D Now!(buf + length == 0 means unused buffer , text, len)
1859  length == 0 means unused buffer += len
1863  If flags & xt ended with a newline Then
1864  prefix, newline flags |= xt ended with a newline
1865  cont_flush()
1868  Return true
Caller
NameDescribe
log_output