函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_dev_config_update_u8

函数原型:static int test_dev_config_update_u8(const char *buf, size_t size, u8 *cfg)

返回类型:int

参数:

类型参数名称
const char *buf
size_tsize
u8 *cfg
341  ret等于kstrtol - convert a string to a long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign or a minus sign.
342  如果ret则返回:ret
345  如果new大于U8_MAX则返回:负EINVAL
348  mutex_lock( & test_fw_mutex)
349  cfg等于new
350  mutex_unlock( & test_fw_mutex)
353  返回:size
调用者
名称描述
config_num_requests_store
config_read_fw_idx_store