函数逻辑报告

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

函数名称:简单字符序列打印

函数原型:int seq_buf_putc(struct seq_buf *s, unsigned char c)

返回类型:int

参数:

类型参数名称
struct seq_buf *s
unsigned charc
171  WARN_ON(size == 0)
173  如果seq_buf_can_fit - can the new data fit in the current buffer?*@s: the seq_buf descriptor*@len: The length to see if it can fit in the current buffer* Returns true if there's enough unused space in the seq_buf buffer
174  buffer[len++]等于c
175  返回:0
177  seq_buf_set_overflow(s)
178  返回:负1
调用者
名称描述
trace_seq_putcrace_seq_putc - trace sequence printing of simple character*@s: trace sequence descriptor*@c: simple character to record* The tracer may use either the sequence operations or its own* copy to user routines