Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-settings.c Create Date:2022-07-28 17:03:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set size of the chunk for this queue

Proto:void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors)

Type:void

Parameter:

TypeParameterName
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
Caller
NameDescribe
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