Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:18:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disk_removable_show
Proto:static ssize_t disk_removable_show(struct device *dev, struct device_attribute *attr, char *buf)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct device_attribute * | attr | |
char * | buf |
1134 | disk = dev_to_disk(dev) |
1136 | Return sprintf(buf, "%d\n", (flags & GENHD_FL_REMOVABLE ? 1 : 0)) |
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 |