函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:seq_write - write arbitrary data to buffer*@seq: seq_file identifying the buffer to which data should be written*@data: data address*@len: number of bytes* Return 0 on success, non-zero otherwise.

函数原型:int seq_write(struct seq_file *seq, const void *data, size_t len)

返回类型:int

参数:

类型参数名称
struct seq_file *seq
const void *data
size_tlen
825  如果countlen小于size
826  memcpy(buf + count, data, len)
827  count加等于len
828  返回:0
830  seq_set_overflow(seq)
831  返回:负1
调用者
名称描述
seq_write_gcov_u64seq_write_gcov_u64 - write 64 bit number in gcov format to seq_file*@seq: seq_file handle*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of the machine generating the* file
gcov_iter_writegcov_iter_write - write data for current pos to seq_file*@iter: file iterator*@seq: seq_file handle* Return zero on success, non-zero otherwise.
gcov_iter_writegcov_iter_write - write data for current pos to seq_file*@iter: file iterator*@seq: seq_file handle* Return zero on success, non-zero otherwise.
seq_buf_print_seq移动seq_buf的内容到seq_file
seq_write_gcov_u32seq_write_gcov_u32 - write 32 bit number in gcov format to seq_file*@seq: seq_file handle*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of the machine generating the* file.