函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:As per sysfs_kf_seq_show() the buf is max PAGE_SIZE.

函数原型:static ssize_t config_test_show_str(struct mutex *config_mutex, char *dst, char *src)

返回类型:ssize_t

参数:

类型参数名称
struct mutex *config_mutex
char *dst
char *src
680  mutex_lock(config_mutex)
681  len等于snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
682  mutex_unlock(config_mutex)
684  返回:len
调用者
名称描述
config_test_driver_show
config_test_fs_show
config_name_show