• Home
  • Raw
  • Download

Lines Matching refs:partition_size

2089   def resize_image(self, image_filename, partition_size):  argument
2102 if partition_size % image.block_size != 0:
2104 'block size {}.'.format(partition_size,
2119 if partition_size < vbmeta_end_offset + 1*image.block_size:
2122 .format(partition_size,
2129 image.append_dont_care(partition_size - vbmeta_end_offset -
2883 partition_size): argument
2896 if partition_size % image.block_size != 0:
2898 'block size {}.'.format(partition_size,
2944 image.append_dont_care(partition_size - vbmeta_end_offset -
2964 def add_hash_footer(self, image_filename, partition_size, partition_name, argument
3027 if partition_size < max_metadata_size:
3030 partition_size, max_metadata_size))
3031 max_image_size = partition_size - max_metadata_size
3040 if partition_size % image.block_size != 0:
3042 'block size {}.'.format(partition_size,
3069 partition_size))
3142 image.append_dont_care(partition_size - vbmeta_end_offset -
3162 def add_hashtree_footer(self, image_filename, partition_size, partition_name, argument
3239 if partition_size > 0:
3241 partition_size, block_size, digest_size + digest_padding)
3244 max_fec_size = calc_fec_data_size(partition_size, fec_num_roots)
3248 max_image_size = partition_size - max_metadata_size
3259 if partition_size > 0:
3260 if partition_size % image.block_size != 0:
3262 'block size {}.'.format(partition_size,
3295 if partition_size > 0:
3300 partition_size))
3400 if partition_size > 0:
3401 image.append_dont_care(partition_size - image.image_size -
4287 args.partition_size)
4293 args.partition_size,
4323 args.partition_size,
4357 self.avb.resize_image(args.image.name, args.partition_size)