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:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:race_seq_path - copy a path into the sequence buffer*@s: trace sequence descriptor*@path: path to write into the sequence buffer

Proto:int trace_seq_path(struct trace_seq *s, const struct path *path)

Type:int

Parameter:

TypeParameterName
struct trace_seq *s
const struct path *path
329  save_len = len
331  If full Then Return 0
334  race_seq should work with being initialized with 0s.
336  If How much buffer is left on the trace_seq? (s) < 1 Then
337  full = 1
338  Return 0
341  seq_buf_path - copy a path into the sequence buffer*@s: seq_buf descriptor*@path: path to write into the sequence buffer
343  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
344  len = save_len
345  full = 1
346  Return 0
349  Return 1