Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\memory-notifier-error-inject.c Create Date:2022-07-28 07:12:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:err_inject_init

Proto:static int err_inject_init(void)

Type:int

Parameter:Nothing

26  dir = notifier_err_inject_init("memory", notifier_err_inject_dir, & memory_notifier_err_inject, priority)
28  If IS_ERR(dir) Then Return PTR_ERR(dir)
31  err = register_memory_notifier( & nb)
32  If err Then debugfs_remove_recursive(dir)
35  Return err