Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return maximum size of a request at given offset. Only valid for* file system requests.

Proto:static inline unsigned int blk_max_size_offset(struct request_queue *q, sector_t offset)

Type:unsigned int

Parameter:

TypeParameterName
struct request_queue *q
sector_toffset
1013  If Not chunk_sectors Then Return max_sectors
1016  Return min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(max_sectors, (unsignedint)(chunk_sectors - (offset & (chunk_sectors - 1))))
Caller
NameDescribe
get_max_io_sizeReturn the maximum number of sectors from the start of a bio that may be* submitted as a single request to a block device. If enough sectors remain,* align the end to the physical block size. Otherwise align the end to the* logical block size