函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:notifier_err_inject_init

函数原型:struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent, struct notifier_err_inject *err_inject, int priority)

返回类型:struct dentry

参数:

类型参数名称
const char *name
struct dentry *parent
struct notifier_err_inject *err_inject
intpriority
54  mode等于S_IFREG按位或S_IRUSR按位或S_IWUSR
58  notifier_call等于notifier_err_inject_callback
59  priority等于priority
61  dir等于debugfs_create_dir(name, parent)
63  actions_dir等于debugfs_create_dir("actions", dir)
65 name循环
68  action_dir等于debugfs_create_dir(name, actions_dir)
75  debugfs_create_errno("error", mode, action_dir, & error)
77  返回:dir
调用者
名称描述
err_inject_init
netdev_err_inject_init
err_inject_init
err_inject_init