Lines Matching refs:gptEntry
3554 gpt_entry *gptEntry = (gpt_entry *)(gpt + 2 * SECTOR_SIZE); in create_gpt_buffer() local
3585 gen_rand_uuid(gptEntry->partition_type_guid.raw); in create_gpt_buffer()
3586 gen_rand_uuid(gptEntry->unique_partition_guid.raw); in create_gpt_buffer()
3587 gptEntry->starting_lba = cpu_to_le64(vecParts[i].uiItemOffset); in create_gpt_buffer()
3588 gptEntry->ending_lba = cpu_to_le64(gptEntry->starting_lba + vecParts[i].uiItemSize - 1); in create_gpt_buffer()
3589 gptEntry->attributes.raw = 0; in create_gpt_buffer()
3597 gptEntry->attributes.raw = PART_PROPERTY_BOOTABLE; in create_gpt_buffer()
3601 gptEntry->ending_lba = cpu_to_le64(diskSectors - 34); in create_gpt_buffer()
3608 gptEntry->partition_name[j] = vecParts[i].szItemName[j]; in create_gpt_buffer()
3612 memcpy(gptEntry->unique_partition_guid.raw, vecUuid[pos].szItemValue, 16); in create_gpt_buffer()
3614 gptEntry++; in create_gpt_buffer()