Searched refs:gpt_header (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/u-boot/disk/ |
| H A D | part_efi.c | 47 gpt_header *pgpt_head, gpt_entry **pgpt_pte); 49 gpt_header *pgpt_head); 76 static int validate_gpt_header(gpt_header *gpt_h, lbaint_t lba, in validate_gpt_header() 150 static int validate_gpt_entries(gpt_header *gpt_h, gpt_entry *gpt_e) in validate_gpt_entries() 170 static void prepare_backup_gpt_header(gpt_header *gpt_h) in prepare_backup_gpt_header() 199 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz); in get_disk_guid() 226 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz); in part_print_efi() 285 static gpt_header *gpt_head = NULL; in part_get_info_efi() 358 gpt_header *gpt_head) in gpt_entry_modify() 379 gpt_header *gpt_head, int head_gpt_valid, in part_efi_repair() [all …]
|
| /OK3568_Linux_fs/kernel/block/partitions/ |
| H A D | efi.c | 274 gpt_header *gpt) in alloc_read_gpt_entries() 308 static gpt_header *alloc_read_gpt_header(struct parsed_partitions *state, in alloc_read_gpt_header() 311 gpt_header *gpt; in alloc_read_gpt_header() 338 gpt_header **gpt, gpt_entry **ptes) in is_gpt_valid() 367 if (le32_to_cpu((*gpt)->header_size) < sizeof(gpt_header)) { in is_gpt_valid() 370 sizeof(gpt_header)); in is_gpt_valid() 483 compare_gpts(gpt_header *pgpt, gpt_header *agpt, u64 lastlba) in compare_gpts() 583 static int find_valid_gpt(struct parsed_partitions *state, gpt_header **gpt, in find_valid_gpt() 587 gpt_header *pgpt = NULL, *agpt = NULL; in find_valid_gpt() 705 gpt_header *gpt = NULL; in efi_partition()
|
| H A D | efi.h | 77 } __packed gpt_header; typedef
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | part.h | 314 gpt_header *gpt_h, gpt_entry *gpt_e); 328 gpt_header *gpt_h, gpt_entry *gpt_e, 341 int gpt_fill_header(struct blk_desc *dev_desc, gpt_header *gpt_h, 389 int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head, 410 gpt_header *gpt_head, gpt_entry **gpt_pte);
|
| H A D | part_efi.h | 91 } __packed gpt_header; typedef
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | flash_image.c | 529 gpt_header *gptHead = (gpt_header *)(gpt + SECTOR_SIZE); in create_gpt_buffer() 543 gptHead->header_size = cpu_to_le32(sizeof(gpt_header)); in create_gpt_buffer() 593 gptHead->header_crc32 = cpu_to_le32(crc32_le(0, gpt + SECTOR_SIZE, sizeof(gpt_header))); in create_gpt_buffer() 599 gpt_header *gptMasterHead = (gpt_header *)(master + SECTOR_SIZE); in prepare_gpt_backup() 600 gpt_header *gptBackupHead = (gpt_header *)(backup + 32 * SECTOR_SIZE); in prepare_gpt_backup()
|
| H A D | gpt.h | 148 } gpt_header; typedef
|
| /OK3568_Linux_fs/external/rkupdate/ |
| H A D | gpt.h | 137 } gpt_header; typedef
|
| H A D | RKAndroidDevice.cpp | 3518 gpt_header *gptMasterHead = (gpt_header *)(master + SECTOR_SIZE); in prepare_gpt_backup() 3519 gpt_header *gptBackupHead = (gpt_header *)(backup + 32 * SECTOR_SIZE); in prepare_gpt_backup() 3553 gpt_header *gptHead = (gpt_header *)(gpt + SECTOR_SIZE); in create_gpt_buffer() 3569 gptHead->header_size = cpu_to_le32(sizeof(gpt_header)); in create_gpt_buffer() 3618 gptHead->header_crc32 = cpu_to_le32(crc32_le(0, gpt + SECTOR_SIZE, sizeof(gpt_header))); in create_gpt_buffer()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | gpt.c | 583 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, in gpt_verify()
|