Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:19:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disk_events_poll_msecs_store
Proto:static ssize_t disk_events_poll_msecs_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct device_attribute * | attr | |
const char * | buf | |
size_t | count |
1949 | disk = dev_to_disk(dev) |
1952 | If Not count || Not sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments Then Return -EINVAL |
1962 | poll_msecs = intv |
1963 | __disk_unblock_events(disk, true) |
1965 | Return count |
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 |