Home | History | Annotate | Download | only in oem-recovery

Lines Matching refs:gpt_disk

1350 //Allocate a handle used by calls to the "gpt_disk" api's
1351 struct gpt_disk * gpt_disk_alloc()
1353 struct gpt_disk *disk;
1354 disk = (struct gpt_disk *)malloc(sizeof(struct gpt_disk));
1359 memset(disk, 0, sizeof(struct gpt_disk));
1365 void gpt_disk_free(struct gpt_disk *disk)
1381 //fills up the passed in gpt_disk struct with information about the
1383 int gpt_disk_get_disk_info(const char *dev, struct gpt_disk *dsk)
1385 struct gpt_disk *disk = NULL;
1455 //Get pointer to partition entry from a allocated gpt_disk structure
1456 uint8_t* gpt_disk_get_pentry(struct gpt_disk *disk,
1474 //Update CRC values for the various components of the gpt_disk
1478 int gpt_disk_update_crc(struct gpt_disk *disk)
1512 //Write the contents of struct gpt_disk back to the actual disk
1513 int gpt_disk_commit(struct gpt_disk *disk)