函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_seq.c Create Date:2022-07-27 13:12:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:race_seq_path - copy a path into the sequence buffer*@s: trace sequence descriptor*@path: path to write into the sequence buffer

函数原型:int trace_seq_path(struct trace_seq *s, const struct path *path)

返回类型:int

参数:

类型参数名称
struct trace_seq *s
const struct path *path
329  save_len等于len
331  如果full则返回:0
334  race_seq should work with being initialized with 0s.
336  如果How much buffer is left on the trace_seq? (s)小于1则
337  full等于1
338  返回: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  如果此条件成立可能性小(为编译器优化)(seq_buf have a buffer that might overflow. When this happens* the len and size are set to be equal.)则
344  len等于save_len
345  full等于1
346  返回:0
349  返回:1