函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args)

返回类型:int

参数:

类型参数名称
struct seq_buf *s
const char *fmt
va_listargs
61  WARN_ON(size == 0)
63  如果len小于size
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  如果lenlen小于size
66  len加等于len
67  返回:0
70  seq_buf_set_overflow(s)
71  返回:负1
调用者
名称描述
seq_buf_printf 信息序列打印
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
rdt_last_cmd_printf
trace_seq_printfrace_seq_printf - 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