• Home
  • Raw
  • Download

Lines Matching refs:partition_size

2244   def resize_image(self, image_filename, partition_size):  argument
2257 if partition_size % image.block_size != 0:
2259 'block size {}.'.format(partition_size,
2275 if partition_size < vbmeta_end_offset + 1*image.block_size:
2278 .format(partition_size,
2285 image.append_dont_care(partition_size - vbmeta_end_offset -
3074 partition_size): argument
3087 if partition_size % image.block_size != 0:
3089 'block size {}.'.format(partition_size,
3135 image.append_dont_care(partition_size - vbmeta_end_offset -
3155 def add_hash_footer(self, image_filename, partition_size, partition_name, argument
3218 if partition_size < max_metadata_size:
3221 partition_size, max_metadata_size))
3222 max_image_size = partition_size - max_metadata_size
3231 if partition_size % image.block_size != 0:
3233 'block size {}.'.format(partition_size,
3260 partition_size))
3332 image.append_dont_care(partition_size - vbmeta_end_offset -
3352 def add_hashtree_footer(self, image_filename, partition_size, partition_name, argument
3431 if partition_size > 0:
3436 partition_size, block_size, digest_size + digest_padding)
3438 max_fec_size = calc_fec_data_size(partition_size, fec_num_roots)
3442 max_image_size = partition_size - max_metadata_size
3453 if partition_size > 0:
3454 if partition_size % image.block_size != 0:
3456 'block size {}.'.format(partition_size,
3488 if partition_size > 0:
3493 partition_size))
3598 if partition_size > 0:
3599 image.append_dont_care(partition_size - image.image_size -
4508 args.partition_size)
4514 args.partition_size,
4545 args.partition_size,
4584 self.avb.resize_image(args.image.name, args.partition_size)