Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_queue_zone_no

Proto:static inline unsigned int blk_queue_zone_no(struct request_queue *q, sector_t sector)

Type:unsigned int

Parameter:

TypeParameterName
struct request_queue *q
sector_tsector
713  If Not blk_queue_is_zoned(q) Then Return 0
715  Return sector >> log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the (chunk_sectors)