Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trigger_config_store

Proto:static ssize_t trigger_config_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
568  test_dev = dev_to_test_dev(dev)
571  If test_is_oom Then Return -ENOMEM
580  ret = trigger_config_run(test_dev)
581  If Value for the false possibility is greater at compile time(ret < 0) Then Go to out
590  If WARN_ON(ret > 0) Then Return -EINVAL
593  ret = count
594  out :
595  Return ret