Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:As per sysfs_kf_seq_show() the buf is max PAGE_SIZE.

Proto:static ssize_t config_test_show_str(struct mutex *config_mutex, char *dst, char *src)

Type:ssize_t

Parameter:

TypeParameterName
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  Return len
Caller
NameDescribe
config_test_driver_show
config_test_fs_show
config_name_show