Lines Matching refs:partition_size
2005 def resize_image(self, image_filename, partition_size): argument
2018 if partition_size % image.block_size != 0:
2020 'block size {}.'.format(partition_size,
2035 if partition_size < vbmeta_end_offset + 1*image.block_size:
2038 .format(partition_size,
2045 image.append_dont_care(partition_size - vbmeta_end_offset -
2688 partition_size): argument
2701 if partition_size % image.block_size != 0:
2703 'block size {}.'.format(partition_size,
2749 image.append_dont_care(partition_size - vbmeta_end_offset -
2769 def add_hash_footer(self, image_filename, partition_size, partition_name, argument
2832 if partition_size < max_metadata_size:
2835 partition_size, max_metadata_size))
2836 max_image_size = partition_size - max_metadata_size
2845 if partition_size % image.block_size != 0:
2847 'block size {}.'.format(partition_size,
2874 partition_size))
2946 image.append_dont_care(partition_size - vbmeta_end_offset -
2966 def add_hashtree_footer(self, image_filename, partition_size, partition_name, argument
3044 partition_size, block_size, digest_size + digest_padding)
3047 max_fec_size = calc_fec_data_size(partition_size, fec_num_roots)
3051 max_image_size = partition_size - max_metadata_size
3060 if partition_size % image.block_size != 0:
3062 'block size {}.'.format(partition_size,
3094 partition_size))
3193 image.append_dont_care(partition_size - image.image_size -
3921 args.partition_size)
3927 args.partition_size,
3957 args.partition_size,
3986 self.avb.resize_image(args.image.name, args.partition_size)