Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-28 20:09:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int seq_write(struct seq_file *seq, const void *data, size_t len)

Type:int

Parameter:

TypeParameterName
struct seq_file *seq
const void *data
size_tlen
825  If count + len < size Then
826  memcpy(buf + count, data, len)
827  count += len
828  Return 0
830  seq_set_overflow(seq)
831  Return -1
Caller
NameDescribe
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.