Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\coredump.c Create Date:2022-07-28 20:30:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cn_printf

Proto:static __printf(2, 3) int cn_printf(struct core_name *cn, const char *fmt, ...)

Type:int

Parameter:

TypeParameterName
struct core_name *cn
const char *fmt
111  va_start(arg, fmt)
112  ret = cn_vprintf(cn, fmt, arg)
113  va_end(arg)
115  Return ret
Caller
NameDescribe
cn_esc_printf
format_corenamermat_corename will inspect the pattern parameter, and output a* name into corename, which must have space for at least* CORENAME_MAX_SIZE bytes plus one byte for the zero terminator.