Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-28 05:46:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_queue_is_zoned

Proto:static inline bool blk_queue_is_zoned(struct request_queue *q)

Type:bool

Parameter:

TypeParameterName
struct request_queue *q
691  Case blk_queue_zoned_model(q) == Host-aware zoned block device
692  Case blk_queue_zoned_model(q) == Host-managed zoned block device
693  Return true
694  Default
695  Return false
Caller
NameDescribe
claim_swapfile
generic_make_request_checks
deadline_fifo_requestFor the specified data direction, return the next request to* dispatch using arrival ordered lists.
deadline_next_requestFor the specified data direction, return the next request to* dispatch using sector position sorted lists.
dd_finish_requestFor zoned block devices, write unlock the target zone of* completed write requests. Do this while holding the zone lock* spinlock so that the zone is never unlocked while deadline_fifo_request()* or deadline_next_request() are executing
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_report_zoneslkdev_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*
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
blkdev_report_zones_ioctlBLKREPORTZONE ioctl processing.* Called from blkdev_ioctl.
blkdev_zone_mgmt_ioctlBLKRESETZONE, BLKOPENZONE, BLKCLOSEZONE and BLKFINISHZONE ioctl processing.* Called from blkdev_ioctl.
blk_revalidate_disk_zoneslk_revalidate_disk_zones - (re)allocate and initialize zone bitmaps*@disk: Target disk* Helper function for low-level device drivers to (re) allocate and initialize* a disk request queue zone bitmaps. This functions should normally be called