Function report | 
Source Code:include\linux\genhd.h | 
Create Date:2022-07-28 05:44:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:set_capacity
Proto:static inline void set_capacity(struct gendisk *disk, sector_t size)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct gendisk * | disk | |
| sector_t | size | 
| 480 | * nr_sects is protected by sequence counter. One might extend a * partition while IO is happening to it and update of nr_sects * can be non-atomic on 32bit machines with 64bit sector_t. = size | 
| Name | Describe | 
|---|---|
| del_gendisk | |
| bdev_disk_changed | 
| 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  |