Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
sector_t | offset |
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)))) |
Name | Describe |
---|---|
get_max_io_size | Return 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |