函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-27 18:55:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:disk_events_show

函数原型:static ssize_t disk_events_show(struct device *dev, struct device_attribute *attr, char *buf)

返回类型:ssize_t

参数:

类型参数名称
struct device *dev
struct device_attribute *attr
char *buf
1919  disk等于dev_to_disk(dev)
1921  如果非 flags related to event processing 按位与DISK_EVENT_FLAG_UEVENT的值则返回:0
1924  返回:A disk events enabled device has the following sysfs nodes under* its /sys/block/X/ directory