Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_firmware.c Create Date:2022-07-28 06:28:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:config_num_requests_store

Proto:static ssize_t config_num_requests_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
struct device *dev
struct device_attribute *attr
const char *buf
size_tcount
381  mutex_lock( & test_fw_mutex)
382  If 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. Then
383  pr_err("Must call release_all_firmware prior to changing config\n")
384  rc = -EINVAL
385  mutex_unlock( & test_fw_mutex)
386  Go to out
388  mutex_unlock( & test_fw_mutex)
390  rc = test_dev_config_update_u8(buf, count, & num_requests)
393  out :
394  Return rc