函数逻辑报告

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_is_zoned

函数原型:static inline bool blk_queue_is_zoned(struct request_queue *q)

返回类型:bool

参数:

类型参数名称
struct request_queue *q
691  :blk_queue_zoned_model(q)恒等于Host-aware zoned block device
692  :blk_queue_zoned_model(q)恒等于Host-managed zoned block device
693  返回:true
694  默认
695  返回:false
调用者
名称描述
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
blk_queue_zone_sectors
blk_queue_nr_zones
blk_queue_zone_no
blk_queue_zone_is_seq
bdev_is_zoned
blk_mq_pluglk_mq_plug() - Get caller context plug*@q: request queue*@bio : the bio being submitted by the caller context* Plugging, by design, may delay the insertion of BIOs into the elevator in* order to increase BIO merging opportunities