Home
last modified time | relevance | path

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

/system/ulib/gpt/
A Dgpt.cpp111 rc = write(fd, ptable, ptable_size); in gpt_sync_current()
112 if (rc < 0 || (size_t)rc != ptable_size) { in gpt_sync_current()
179 size_t ptable_size = PARTITIONS_COUNT * sizeof(gpt_partition_t); in gpt_device_finalize_and_sync() local
184 memset(buf, 0, ptable_size); in gpt_device_finalize_and_sync()
201 uint64_t ptable_blocks = ptable_size / priv->blocksize; in gpt_device_finalize_and_sync()
358 ssize_t ptable_size; in gpt_device_init() local
435 ptable_size = header->entries_size * header->entries_count; in gpt_device_init()
436 if ((size_t)ptable_size > SIZE_MAX) { in gpt_device_init()
440 rc = read(fd, ptable, ptable_size); in gpt_device_init()
441 if (rc != ptable_size) { in gpt_device_init()
[all …]

Completed in 5 milliseconds