函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_err_log_open

函数原型:static int tracing_err_log_open(struct inode *inode, struct file *file)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *file
7244  tr等于s or device private pointer
7245  ret等于0
7247  ret等于tracing_check_open_get_tr(tr)
7248  如果ret则返回:ret
7252  如果f_mode按位与le is open for writing f_flags按位与O_TRUNCclear_tracing_err_log(tr)
7255  如果f_mode按位与le is open for reading
7256  ret等于seq_open(file, & tracing_err_log_seq_ops)
7257  如果非ret
7259  private等于tr
7260  否则
7264  返回:ret