Home
last modified time | relevance | path

Searched refs:gpt_drive_size (Results 1 – 1 of 1) sorted by relevance

/external/vboot_reference/cgpt/
Dcgpt_common.c310 uint64_t gpt_drive_size; in DriveOpen() local
311 if (ObtainDriveSize(drive->fd, &gpt_drive_size, &sector_bytes) != 0) { in DriveOpen()
317 drive->gpt.gpt_drive_sectors = gpt_drive_size / sector_bytes; in DriveOpen()
319 drive->size = gpt_drive_size; in DriveOpen()