Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\seq_buf.c Create Date:2022-07-28 06:14:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:seq_buf_putmem - write raw data into the sequenc buffer*@s: seq_buf descriptor*@mem: The raw memory to copy into the buffer*@len: The length of the raw memory to copy (in bytes)* There may be cases where raw memory needs to be written into the

Proto:int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len)

Type:int

Parameter:

TypeParameterName
struct seq_buf *s
const void *mem
unsigned intlen
195  WARN_ON(size == 0)
197  If seq_buf_can_fit - can the new data fit in the current buffer?*@s: the seq_buf descriptor*@len: The length to see if it can fit in the current buffer* Returns true if there's enough unused space in the seq_buf buffer Then
198  No 3D Now!(buffer + len, mem, len)
199  len += len
200  Return 0
202  seq_buf_set_overflow(s)
203  Return -1
Caller
NameDescribe
seq_buf_putmem_hexseq_buf_putmem_hex - write raw memory into the buffer in ASCII hex*@s: seq_buf descriptor*@mem: The raw memory to write its hex ASCII representation of*@len: The length of the raw memory to copy (in bytes)* This is similar to seq_buf_putmem() except
trace_seq_putmemrace_seq_putmem - write raw data into the trace_seq buffer*@s: trace sequence descriptor*@mem: The raw memory to copy into the buffer*@len: The length of the raw memory to copy (in bytes)* There may be cases where raw memory needs to be written into the