Function report |
Source Code:block\partition-generic.c |
Create Date:2022-07-28 17:20:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:part_size_show
Proto:ssize_t part_size_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 |
93 | p = dev_to_part(dev) |
94 | Return sprintf(buf, "%llu\n", (unsignedlonglong)Any access of part->nr_sects which is not protected by partition* bd_mutex or gendisk bdev bd_mutex, should be done using this* accessor function) |
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 |