函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-27 06:47:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_queue_zone_sectors

函数原型:static inline sector_t blk_queue_zone_sectors(struct request_queue *q)

返回类型:sector_t

参数:

类型参数名称
struct request_queue *q
701  返回:如果blk_queue_is_zoned(q)则chunk_sectors否则0
调用者
名称描述
blk_zone_start
blkdev_nr_zoneslkdev_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.
blkdev_zone_mgmtlkdev_zone_mgmt - Execute a zone management operation on a range of zones*@bdev: Target block device*@op: Operation to be performed on the zones*@sector: Start sector of the first zone to operate on*@nr_sectors: Number of sectors, should be at least the
bdev_zone_sectors