函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fail_task

函数原型:static bool fail_task(struct fault_attr *attr, struct task_struct *task)

返回类型:bool

参数:

类型参数名称
struct fault_attr *attr
struct task_struct *task
60  返回:in_task()且make_it_fail
调用者
名称描述
should_failThis code is stolen from failmalloc-1.0* http://www.nongnu.org/failmalloc/