Get a zoned block device total number of zones. The device can be a partition of the whole device. The number of zones is always 0 for regular block devices.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -142,5 +142,6 @@ struct blk_zone_range { · 141 unmodified lines | |||
| 142 | #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report) | 142 | #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report) |
| 143 | #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range) | 143 | #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range) |
| 144 | #define BLKGETZONESZ _IOW(0x12, 132, __u32) | 144 | #define BLKGETZONESZ _IOW(0x12, 132, __u32) |
| 145 | #define BLKGETNRZONES _IOW(0x12, 133, __u32) | ||
| 145 | 146 | ||
| 146 | #endif /* _UAPI_BLKZONED_H */ | 147 | #endif /* _UAPI_BLKZONED_H */ |