Function report | 
Source Code:block\blk-zoned.c | 
Create Date:2022-07-28 18:05:50 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lkdev_nr_zones - Get number of zones*@disk: Target gendisk* Return the total number of zones of a zoned block device. For a block* device without zone capabilities, the number of zones is always 0.
Proto:unsigned int blkdev_nr_zones(struct gendisk *disk)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct gendisk * | disk | 
| 84 | If Not blk_queue_is_zoned(queue) Then Return 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  |