Searched refs:partition_size (Results 1 – 2 of 2) sorted by relevance
2325 def resize_image(self, image_filename, partition_size): argument2337 if partition_size % image.block_size != 0:2339 'block size {}.'.format(partition_size,2352 if partition_size < vbmeta_end_offset + 1 * image.block_size:2355 .format(partition_size,2362 image.append_dont_care(partition_size - vbmeta_end_offset -3251 partition_size): argument3264 if partition_size % image.block_size != 0:3266 'block size {}.'.format(partition_size,3312 image.append_dont_care(partition_size - vbmeta_end_offset -[all …]
101 uint64_t partition_size; in read_from_partition() local104 if (get_size_of_partition(ops, partition, &partition_size)) in read_from_partition()107 if (-offset > partition_size) in read_from_partition()110 offset = partition_size - (-offset); in read_from_partition()