Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fail_task

Proto:static bool fail_task(struct fault_attr *attr, struct task_struct *task)

Type:bool

Parameter:

TypeParameterName
struct fault_attr *attr
struct task_struct *task
60  Return in_task() && make_it_fail
Caller
NameDescribe
should_failThis code is stolen from failmalloc-1.0* http://www.nongnu.org/failmalloc/