函数逻辑报告 |
Source Code:block\partitions\efi.c |
Create Date:2022-07-27 19:07:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_partition(struct parsed_partitions *state)*@state: disk parsed partitions* Description: called from check.c, if the disk contains GPT* partitions, sets up partition entries in the kernel.* If the first block on the disk is a legacy MBR,
函数原型:int efi_partition(struct parsed_partitions *state)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct parsed_partitions * | state |
680 | gpt_header * gpt = NULL |
683 | ssz等于bdev_logical_block_size(bdev)除512 |
691 | pr_debug("GUID Partition Table is valid! Yea!\n") |
693 | 以i小于le32_to_cpu(num_partition_entries)且i小于limit减1循环 |
695 | label_count等于0 |
697 | start等于le64_to_cpu(starting_lba) |
698 | size等于le64_to_cpu(ending_lba)减le64_to_cpu(starting_lba)加1ULL |
711 | efi_guid_to_str( & unique_partition_guid, uuid) |
717 | 当label_count小于label_max循环 |
724 | has_info = true |
726 | 释放内存 |
727 | 释放内存 |
728 | 长字符串拼接 |
729 | 返回:1 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |