函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:reset_store

函数原型:static ssize_t reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)

返回类型:ssize_t

参数:

类型参数名称
struct device *dev
struct device_attribute *attr
const char *buf
size_tcount
203  mutex_lock( & test_fw_mutex)
205  __test_firmware_config_free()
207  ret等于__test_firmware_config_init()
208  如果ret小于0则
209  ret等于负ENOMEM
210  打印错误信息("could not alloc settings for config trigger: %d\n", ret)
212  转到:out
215  打印信息("reset\n")
216  ret等于count
218  out :
219  mutex_unlock( & test_fw_mutex)
221  返回:ret