Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-28 17:19:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:disk_events_show

Proto:static ssize_t disk_events_show(struct device *dev, struct device_attribute *attr, char *buf)

Type:ssize_t

Parameter:

TypeParameterName
struct device *dev
struct device_attribute *attr
char *buf
1919  disk = dev_to_disk(dev)
1921  If Not ( flags related to event processing & DISK_EVENT_FLAG_UEVENT) Then Return 0
1924  Return A disk events enabled device has the following sysfs nodes under* its /sys/block/X/ directory