Home
last modified time | relevance | path

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

/hardware/qcom/bootctrl/
Dboot_control.cpp92 struct gpt_disk *disk = NULL; in get_partition_attribute() local
98 disk = gpt_disk_alloc(); in get_partition_attribute()
99 if (!disk) { in get_partition_attribute()
103 if (gpt_disk_get_disk_info(partname, disk)) { in get_partition_attribute()
107 pentry = gpt_disk_get_pentry(disk, partname, PRIMARY_GPT); in get_partition_attribute()
122 gpt_disk_free(disk); in get_partition_attribute()
125 if (disk) in get_partition_attribute()
126 gpt_disk_free(disk); in get_partition_attribute()
138 struct gpt_disk *disk = NULL; in update_slot_attribute() local
191 disk = gpt_disk_alloc(); in update_slot_attribute()
[all …]
/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp1345 struct gpt_disk *disk; in gpt_disk_alloc() local
1346 disk = (struct gpt_disk *)malloc(sizeof(struct gpt_disk)); in gpt_disk_alloc()
1347 if (!disk) { in gpt_disk_alloc()
1351 memset(disk, 0, sizeof(struct gpt_disk)); in gpt_disk_alloc()
1353 return disk; in gpt_disk_alloc()
1357 void gpt_disk_free(struct gpt_disk *disk) in gpt_disk_free() argument
1359 if (!disk) in gpt_disk_free()
1361 if (disk->hdr) in gpt_disk_free()
1362 free(disk->hdr); in gpt_disk_free()
1363 if (disk->hdr_bak) in gpt_disk_free()
[all …]
Dgpt-utils.h148 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);
/hardware/interfaces/health/2.0/
DIHealth.hal153 * Gets disk statistics (number of reads/writes processed, number of I/O
159 * @return value vector of disk statistics, to be ignored if result is not SUCCESS.
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantP2pIface.hal680 * Persist the current configuration to disk.
/hardware/interfaces/keymaster/4.0/
Dtypes.hal223 * decrypt the disk.