Lines Matching refs:gptEntry
530 gpt_entry *gptEntry = (gpt_entry *)(gpt + 2 * SECTOR_SIZE); in create_gpt_buffer() local
561 gen_rand_uuid(gptEntry->partition_type_guid.raw); in create_gpt_buffer()
562 gen_rand_uuid(gptEntry->unique_partition_guid.raw); in create_gpt_buffer()
563 gptEntry->starting_lba = cpu_to_le64(p_param[i].offset); in create_gpt_buffer()
564 gptEntry->ending_lba = cpu_to_le64(gptEntry->starting_lba + p_param[i].size - 1); in create_gpt_buffer()
565 gptEntry->attributes.raw = 0; in create_gpt_buffer()
572 gptEntry->attributes.raw = PART_PROPERTY_BOOTABLE; in create_gpt_buffer()
575 gptEntry->ending_lba = cpu_to_le64(diskSectors - 34); in create_gpt_buffer()
582 gptEntry->partition_name[j] = p_param[i].name[j]; in create_gpt_buffer()
585 memcpy(gptEntry->unique_partition_guid.raw, p_config[j].value, 16); in create_gpt_buffer()
589 gptEntry++; in create_gpt_buffer()