函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:config_num_requests_store

函数原型:static ssize_t config_num_requests_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
381  mutex_lock( & test_fw_mutex)
382  如果These below don't belong her but we'll move them once we create* a struct fw_test_device and stuff the misc_dev under there later.
383  打印错误信息("Must call release_all_firmware prior to changing config\n")
384  rc等于负EINVAL
385  mutex_unlock( & test_fw_mutex)
386  转到:out
388  mutex_unlock( & test_fw_mutex)
390  rc等于test_dev_config_update_u8(buf, count, & num_requests)
393  out :
394  返回:rc