函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:获取任意数据的缓冲区

函数原型:static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp)

返回类型:size_t

参数:

类型参数名称
struct seq_buf *s
char **bufp
84  WARN_ON(len > size + 1)
86  如果len小于size
87  bufp等于bufferlen
88  返回:sizelen
91  * bufp = NULL
92  返回:0
调用者
名称描述
seq_buf_pathseq_buf_path - copy a path into the sequence buffer*@s: seq_buf descriptor*@path: path to write into the sequence buffer