Function report |
Source Code:include\linux\genhd.h |
Create Date:2022-07-28 05:44:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:part_to_disk
Proto:static inline struct gendisk *part_to_disk(struct hd_struct *part)
Type:struct gendisk
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hd_struct * | part |
| 226 | If Value is more likely to compile time(part) Then |
| 227 | If partno Then Return dev_to_disk(parent) |
| 229 | Else Return dev_to_disk(part_to_dev(part)) |
| 232 | Return NULL |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |