函数逻辑报告 |
Source Code:block\blk-settings.c |
Create Date:2022-07-27 18:38:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_queue_max_hw_sectors - set max sectors for a request for this queue*@q: the request queue for the device*@max_hw_sectors: max hardware sectors in the usual 512b unit* Description:* Enables a low level driver to set a hard upper limit,
函数原型:void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
unsigned int | max_hw_sectors |
188 | 如果max_hw_sectors左移9位小于PAGE_SIZE则 |
189 | max_hw_sectors等于1左移PAGE_SHIFT determines the page size 减9位 |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |