函数逻辑报告

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

函数名称:setup_fault_attr() is a helper function for various __setup handlers, so it* returns 0 on error, because that is what __setup handlers do.

函数原型:int setup_fault_attr(struct fault_attr *attr, char *str)

返回类型:int

参数:

类型参数名称
struct fault_attr *attr
char *str
26  如果sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments小于4则
28  printk(warning conditions "FAULT_INJECTION: failed to parse arguments\n")
30  返回:0
33  probability等于probability
34  interval等于interval
35  atomic_set( & times, times)
36  atomic_set( & space, space)
38  返回:1
调用者
名称描述
setup_failslab