Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:config_test_fs_store

Proto:static ssize_t config_test_fs_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
703  test_dev = dev_to_test_dev(dev)
704  config = config
707  mutex_lock( & config_mutex)
709  kfree_const - conditionally free memory*@x: pointer to the memory* Function calls kfree only if @x is not in .rodata section.
710  test_fs = NULL
712  copied = config_copy_test_fs(config, buf, count)
713  mutex_unlock( & config_mutex)
715  Return copied