函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:log_output

函数原型:static size_t log_output(int facility, int level, enum log_flags lflags, const char *dict, size_t dictlen, char *text, size_t text_len)

返回类型:size_t

参数:

类型参数名称
intfacility
intlevel
enum log_flagslflags
const char *dict
size_tdictlen
char *text
size_ttext_len
1873  caller_id等于printk_caller_id()
1879  如果length == 0 means unused buffer
1885  cont_flush()
1889  如果非text_lenlflags按位与xt is a fragment of a continuation line 则返回:0
1893  如果非lflags按位与xt ended with a newline 的值则
1894  如果cont_add(caller_id, facility, level, lflags, text, text_len)则返回:text_len
1899  返回:sert record into the buffer, discard old ones, update heads
调用者
名称描述
vprintk_storeMust be called under logbuf_lock.