函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-settings.c Create Date:2022-07-27 18:38:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lk_queue_chunk_sectors - set size of the chunk for this queue*@q: the request queue for the device*@chunk_sectors: chunk sectors in the usual 512b unit* Description:* If a driver doesn't want IOs to cross a given chunk size, it can set

函数原型:void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors)

返回类型:void

参数:

类型参数名称
struct request_queue *q
unsigned intchunk_sectors
217  BUG_ON(!s_power_of_2() - check if a value is a power of two*@n: the value to check* Determine whether some value is a power of two, where zero is* *not* considered a power of two.* Return: true if @n is a power of 2, otherwise false.)
218  chunk_sectors等于chunk_sectors
调用者
名称描述
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