函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:52:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:sector_in_part
函数原型:static inline int sector_in_part(struct hd_struct *part, sector_t sector)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct hd_struct * | part | |
| sector_t | sector |
| 261 | 返回:start_sect小于等于sector且sector小于start_sect加Any access of part->nr_sects which is not protected by partition* bd_mutex or gendisk bdev bd_mutex, should be done using this* accessor function |
| 名称 | 描述 |
|---|---|
| disk_map_sector_rcu | disk_map_sector_rcu - map sector to partition*@disk: gendisk of interest*@sector: sector to map* Find out which partition @sector maps to on @disk. This is* primarily used for stats accounting.* CONTEXT:* RCU read locked |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |