Home
last modified time | relevance | path

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

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.h113 struct gpt_disk { struct
146 struct gpt_disk* gpt_disk_alloc(); argument
148 void gpt_disk_free(struct gpt_disk *disk);
151 int gpt_disk_get_disk_info(const char *dev, struct gpt_disk *disk);
154 uint8_t* gpt_disk_get_pentry(struct gpt_disk *disk,
159 int gpt_disk_update_crc(struct gpt_disk *disk);
162 int gpt_disk_commit(struct gpt_disk *disk);
Dgpt-utils.cpp1343 struct gpt_disk * gpt_disk_alloc() in gpt_disk_alloc()
1345 struct gpt_disk *disk; in gpt_disk_alloc()
1346 disk = (struct gpt_disk *)malloc(sizeof(struct gpt_disk)); in gpt_disk_alloc()
1351 memset(disk, 0, sizeof(struct gpt_disk)); in gpt_disk_alloc()
1357 void gpt_disk_free(struct gpt_disk *disk) in gpt_disk_free()
1375 int gpt_disk_get_disk_info(const char *dev, struct gpt_disk *dsk) in gpt_disk_get_disk_info()
1377 struct gpt_disk *disk = NULL; in gpt_disk_get_disk_info()
1448 uint8_t* gpt_disk_get_pentry(struct gpt_disk *disk, in gpt_disk_get_pentry()
1470 int gpt_disk_update_crc(struct gpt_disk *disk) in gpt_disk_update_crc()
1505 int gpt_disk_commit(struct gpt_disk *disk) in gpt_disk_commit()
/hardware/qcom/bootctrl/
Dboot_control.cpp92 struct gpt_disk *disk = NULL; in get_partition_attribute()
138 struct gpt_disk *disk = NULL; in update_slot_attribute()
361 static struct gpt_disk* boot_ctl_get_disk_info(char *partition) in boot_ctl_get_disk_info()
363 struct gpt_disk *disk = NULL; in boot_ctl_get_disk_info()
390 struct gpt_disk *disk = NULL; in boot_ctl_set_active_slot_for_partitions()