函数逻辑报告

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_zone_no

函数原型:static inline unsigned int blk_queue_zone_no(struct request_queue *q, sector_t sector)

返回类型:unsigned int

参数:

类型参数名称
struct request_queue *q
sector_tsector
713  如果非blk_queue_is_zoned(q)则返回:0
715  返回: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)位
调用者
名称描述
blk_queue_zone_is_seq
blk_rq_zone_no