Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-28 06:12:26
Last Modify:2022-05-21 09:47:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vscnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@args: Arguments for the format string* The return value is the

Proto:int vscnprintf(char *buf, size_t size, const char *fmt, va_list args)

Type:int

Parameter:

TypeParameterName
char *buf
size_tsize
const char *fmt
va_listargs
2677  i = vsnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@args: Arguments for the format string* This function generally
2679  If Value is more likely to compile time(i < size) Then Return i
2681  If size != 0 Then Return size - 1
2683  Return 0
Caller
NameDescribe
scnprintfscnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
vprintk_storeMust be called under logbuf_lock.
printk_safe_log_storeAdd a message to per-CPU context-dependent buffer
vmcoreinfo_append_str
__trace_array_vprintk
bpf_verifier_vlog