函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static bool seq_buf_can_fit(struct seq_buf *s, size_t len)

返回类型:bool

参数:

类型参数名称
struct seq_buf *s
size_tlen
30  返回:lenlen小于等于size
调用者
名称描述
seq_buf_puts简单字符串序列打印
seq_buf_putc简单字符序列打印
seq_buf_putmemseq_buf_putmem - write raw data into the sequenc buffer*@s: seq_buf descriptor*@mem: The raw memory to copy into the buffer*@len: The length of the raw memory to copy (in bytes)* There may be cases where raw memory needs to be written into the