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_commit - commit data to the buffer*@s: the seq_buf handle*@num: the number of bytes to commit* Commit @num bytes of data written to a buffer previously acquired* by seq_buf_get. To signal an error condition, or that the data

Proto:static inline void seq_buf_commit(struct seq_buf *s, int num)

Type:void

Parameter:

TypeParameterName
struct seq_buf *s
intnum
106  If num < 0 Then
107  seq_buf_set_overflow(s)
108  Else
110  BUG_ON(len + num > size)
111  len += num
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