Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:race_seq_putmem_hex - write raw memory into the buffer in ASCII hex*@s: trace sequence 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 trace_seq_putmem()

Proto:void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, unsigned int len)

Type:void

Parameter:

TypeParameterName
struct trace_seq *s
const void *mem
unsigned intlen
291  save_len = len
293  If full Then Return
296  race_seq should work with being initialized with 0s.
299  If len * 2 > How much buffer is left on the trace_seq? (s) Then
300  full = 1
301  Return
305  seq_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
307  If Value for the false possibility is greater at compile time(seq_buf have a buffer that might overflow. When this happens* the len and size are set to be equal.) Then
308  len = save_len
309  full = 1
310  Return