函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:52:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__disk_get_part
函数原型:struct hd_struct *__disk_get_part(struct gendisk *disk, int partno)
返回类型:struct hd_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
struct gendisk * | disk | |
int | partno |
115 | 如果此条件成立可能性小(为编译器优化)(partno < 0 || partno >= len)则返回:NULL |
117 | 返回: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[partno]) |
名称 | 描述 |
---|---|
disk_get_part | disk_get_part - get partition*@disk: disk to look partition from*@partno: partition number* Look for partition @partno from @disk. If found, increment* reference count and return it.* CONTEXT:* Don't care.* RETURNS: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |