函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-zoned.c Create Date:2022-07-27 19:41:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blkdev_allow_reset_all_zones

函数原型:static inline bool blkdev_allow_reset_all_zones(struct block_device *bdev, sector_t sector, sector_t nr_sectors)

返回类型:bool

参数:

类型参数名称
struct block_device *bdev
sector_tsector
sector_tnr_sectors
130  如果非blk_queue_zone_resetall(bdev_get_queue(bdev))则返回:false
137  返回:非sectornr_sectors恒等于get_capacity(bd_disk)
调用者
名称描述
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