函数逻辑报告 |
Source Code:include\linux\genhd.h |
Create Date:2022-07-27 06:45:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:part_to_disk
函数原型:static inline struct gendisk *part_to_disk(struct hd_struct *part)
返回类型:struct gendisk
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct hd_struct * | part |
| 226 | 如果此条件成立可能性大(为编译器优化)(part)则 |
| 227 | 如果partno则返回:dev_to_disk(parent) |
| 229 | 否则返回:dev_to_disk(part_to_dev(part)) |
| 232 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| devt_from_partuuid | devt_from_partuuid - looks up the dev_t of a partition by its UUID*@uuid_str: char array containing ascii UUID* The function will return the first partition which contains a matching* UUID value in its partition_meta_info struct. This does not search |
| update_io_ticks | |
| part_inc_in_flight | |
| part_dec_in_flight | |
| blk_alloc_devt | lk_alloc_devt - allocate a dev_t for a partition*@part: partition to allocate dev_t for*@devt: out parameter for resulting dev_t* Allocate a dev_t for block device |
| get_gendisk | get_gendisk - get partitioning information for a given device*@devt: device to get partitioning information for*@partno: returned partition index* This function gets the structure containing partitioning* information for the given device @devt. |
| part_stat_show | |
| part_inflight_show |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |