函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fei_retval_set

函数原型:static int fei_retval_set(void *data, u64 val)

返回类型:int

参数:

类型参数名称
void *data
u64val
109  attr等于data
110  retv等于val
111  err等于0
113  mutex_lock( & fei_lock)
119  如果非fei_attr_is_valid(attr)则
120  err等于负ENOENT
121  转到:out
124  如果 location of the probe point
125  如果adjust_error_retval((unsignedlong) location of the probe point , val)不等于retverr等于负EINVAL
129  如果非errretval等于val
131  out :
132  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
134  返回:err