Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\seq_buf.h Create Date:2022-07-28 05:58:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:seq_buf_get_buf - get buffer to write arbitrary data to*@s: the seq_buf handle*@bufp: the beginning of the buffer is stored here* Return the number of bytes available in the buffer, or zero if* there's no space.

Proto:static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp)

Type:size_t

Parameter:

TypeParameterName
struct seq_buf *s
char **bufp
84  WARN_ON(len > size + 1)
86  If len < size Then
87  bufp = buffer + len
88  Return size - len
91  * bufp = NULL
92  Return 0
Caller
NameDescribe
seq_buf_pathseq_buf_path - copy a path into the sequence buffer*@s: seq_buf descriptor*@path: path to write into the sequence buffer