函数逻辑报告 |
Source Code:include\linux\blkdev.h |
Create Date:2022-07-27 06:47:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:queue_limit_discard_alignment
函数原型:static inline int queue_limit_discard_alignment(struct queue_limits *lim, sector_t sector)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct queue_limits * | lim | |
sector_t | sector |
1381 | 如果非max_discard_sectors则返回:0 |
1387 | 如果非granularity则返回:0 |
1391 | offset等于sector_div(sector, granularity) |
1394 | offset等于granularity加alignment减offset的差取模granularity |
名称 | 描述 |
---|---|
blk_stack_limits | lk_stack_limits - adjust queue_limits for stacked devices*@t: the stacking driver limits (top device)*@b: the underlying queue limits (bottom, component device)*@start: first data sector within component device* Description:* This function is used by |
add_partition | Must be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |