函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:53:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:struct hd_struct *disk_map_sector_rcu(struct gendisk *disk, sector_t sector)
返回类型:struct hd_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
struct gendisk * | disk | |
sector_t | sector |
288 | part等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(last_lookup) |
289 | 如果part且sector_in_part(part, sector)则返回:part |
293 | part等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(part[i]) |
295 | 如果part且sector_in_part(part, sector)则 |
300 | 返回:part0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |