函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:A disk events enabled device has the following sysfs nodes under* its /sys/block/X/ directory

函数原型:static ssize_t __disk_events_show(unsigned int events, char *buf)

返回类型:ssize_t

参数:

类型参数名称
unsigned intevents list of all supported events
char *buf
1901  delim等于""
1902  pos等于0
1905 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(disk_events_strs)循环如果 list of all supported events按位与1左移i位则
1907  pos加等于输出格式化串
1909  delim等于" "
1911  如果pospos加等于输出格式化串
1913  返回:pos
调用者
名称描述
disk_events_show