Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:19:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:A disk events enabled device has the following sysfs nodes under* its /sys/block/X/ directory
Proto:static ssize_t __disk_events_show(unsigned int events, char *buf)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | events | list of all supported events |
| char * | buf |
| 1901 | delim = "" |
| 1902 | pos = 0 |
| 1905 | When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(disk_events_strs) cycle If list of all supported events & 1 << i Then |
| 1913 | Return pos |
| Name | Describe |
|---|---|
| disk_events_show |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |