Function report |
Source Code:block\blk-settings.c |
Create Date:2022-07-28 17:03:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set max sectors for a request for this queue
Proto:void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
unsigned int | max_hw_sectors |
188 | If max_hw_sectors << 9 < PAGE_SIZE Then |
189 | max_hw_sectors = 1 << PAGE_SHIFT determines the page size - 9 |
194 | max_hw_sectors = max_hw_sectors |
195 | max_sectors = min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_hw_sectors, max_dev_sectors) |
196 | max_sectors = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedint, max_sectors, BLK_DEF_MAX_SECTORS) |
197 | max_sectors = max_sectors |
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 |