Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:seq_buf_vprintf - sequence printing of information.*@s: seq_buf descriptor*@fmt: printf format string*@args: va_list of arguments from a printf() type function* Writes a vnprintf() format into the sequencce buffer.* Returns zero on success, -1 on overflow.

Proto:int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args)

Type:int

Parameter:

TypeParameterName
struct seq_buf *s
const char *fmt
va_listargs
61  WARN_ON(size == 0)
63  If len < size Then
64  len = 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
65  If len + len < size Then
66  len += len
67  Return 0
70  seq_buf_set_overflow(s)
71  Return -1
Caller
NameDescribe
seq_buf_printfseq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
trace_seq_vprintfrace_seq_vprintf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines