• Home
  • Raw
  • Download

Lines Matching refs:partition_size

2320   def resize_image(self, image_filename, partition_size):  argument
2332 if partition_size % image.block_size != 0:
2334 'block size {}.'.format(partition_size,
2347 if partition_size < vbmeta_end_offset + 1 * image.block_size:
2350 .format(partition_size,
2357 image.append_dont_care(partition_size - vbmeta_end_offset -
3237 partition_size): argument
3250 if partition_size % image.block_size != 0:
3252 'block size {}.'.format(partition_size,
3298 image.append_dont_care(partition_size - vbmeta_end_offset -
3318 def add_hash_footer(self, image_filename, partition_size, partition_name, argument
3384 if partition_size < max_metadata_size:
3387 partition_size, max_metadata_size))
3388 max_image_size = partition_size - max_metadata_size
3397 if partition_size % image.block_size != 0:
3399 'block size {}.'.format(partition_size,
3426 partition_size))
3500 image.append_dont_care(partition_size - vbmeta_end_offset -
3519 def add_hashtree_footer(self, image_filename, partition_size, partition_name, argument
3603 if partition_size > 0:
3608 partition_size, block_size, digest_size + digest_padding)
3610 max_fec_size = calc_fec_data_size(partition_size, fec_num_roots)
3614 max_image_size = partition_size - max_metadata_size
3625 if partition_size > 0:
3626 if partition_size % image.block_size != 0:
3628 'block size {}.'.format(partition_size,
3660 if partition_size > 0:
3665 partition_size))
3772 if partition_size > 0:
3773 image.append_dont_care(partition_size - image.image_size -
4726 args.partition_size)
4732 args.partition_size,
4764 args.partition_size,
4804 self.avb.resize_image(args.image.name, args.partition_size)