Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-zoned.c Create Date:2022-07-28 18:05:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blkdev_allow_reset_all_zones

Proto:static inline bool blkdev_allow_reset_all_zones(struct block_device *bdev, sector_t sector, sector_t nr_sectors)

Type:bool

Parameter:

TypeParameterName
struct block_device *bdev
sector_tsector
sector_tnr_sectors
130  If Not blk_queue_zone_resetall(bdev_get_queue(bdev)) Then Return false
137  Return Not sector && nr_sectors == get_capacity(bd_disk)
Caller
NameDescribe
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