函数逻辑报告 |
Source Code:block\blk-zoned.c |
Create Date:2022-07-27 19:41:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lkdev_report_zones - Get zones information*@bdev: Target block device*@sector: Sector from which to report zones*@nr_zones: Maximum number of zones to report*@cb: Callback function called for each reported zone*@data: Private data for the callback*
函数原型:int blkdev_report_zones(struct block_device *bdev, sector_t sector, unsigned int nr_zones, report_zones_cb cb, void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
sector_t | sector | |
unsigned int | nr_zones | |
report_zones_cb | cb | |
void * | data |
113 | capacity等于get_capacity(disk) |
115 | 如果非blk_queue_is_zoned(bdev_get_queue(bdev))或WARN_ON_ONCE(!report_zones)则返回:负EOPNOTSUPP |
名称 | 描述 |
---|---|
blkdev_report_zones_ioctl | BLKREPORTZONE ioctl processing.* Called from blkdev_ioctl. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |