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:config_test_driver_store

Proto:static ssize_t config_test_driver_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
656  test_dev = dev_to_test_dev(dev)
657  config = config
660  mutex_lock( & config_mutex)
662  kfree_const - conditionally free memory*@x: pointer to the memory* Function calls kfree only if @x is not in .rodata section.
663  test_driver = NULL
665  copied = config_copy_test_driver_name(config, buf, count)
666  mutex_unlock( & config_mutex)
668  Return copied