Function report |
Source Code:include\linux\genhd.h |
Create Date:2022-07-28 05:44:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disk_has_partitions
Proto:static inline bool disk_has_partitions(struct gendisk *disk)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct gendisk * | disk |
| 250 | bool ret = false |
| 253 | if (({ |
| 253 | Do |
| 253 | When 0 cycle |
| 253 | __val |
| 253 | }) |
| 253 | Do |
| 253 | When 0 cycle |
| 253 | })->len > 1) |
| 254 | ret = true |
| 257 | Return ret |
| 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 |