函数逻辑报告

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

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

函数原型:static inline void seq_buf_commit(struct seq_buf *s, int num)

返回类型:void

参数:

类型参数名称
struct seq_buf *s
intnum
106  如果num小于0则
107  seq_buf_set_overflow(s)
108  否则
110  BUG_ON(len + num > size)
111  len加等于num
调用者
名称描述
seq_buf_pathseq_buf_path - copy a path into the sequence buffer*@s: seq_buf descriptor*@path: path to write into the sequence buffer