Lines Matching refs:partition_id
143 def get_partition_info(self, partition_id): argument
146 if partition_id.name:
147 partition = self.partition_table.find_by_name(partition_id.name)
148 elif partition_id.type and partition_id.subtype:
149 … partition = list(self.partition_table.find_by_type(partition_id.type, partition_id.subtype))
150 if not partition_id.part_list:
164 def erase_partition(self, partition_id): argument
165 partition = self.get_partition_info(partition_id)
168 def read_partition(self, partition_id, output): argument
169 partition = self.get_partition_info(partition_id)
172 def write_partition(self, partition_id, input): argument
173 self.erase_partition(partition_id)
175 partition = self.get_partition_info(partition_id)
186 def _write_partition(target, partition_id, input): argument
187 target.write_partition(partition_id, input)
188 partition = target.get_partition_info(partition_id)
192 def _read_partition(target, partition_id, output): argument
193 target.read_partition(partition_id, output)
194 partition = target.get_partition_info(partition_id)
199 def _erase_partition(target, partition_id): argument
200 target.erase_partition(partition_id)
201 partition = target.get_partition_info(partition_id)
205 def _get_partition_info(target, partition_id, info): argument
207 partitions = target.get_partition_info(partition_id)
296 partition_id = PartitionName(args.partition_name)
300 …partition_id = PartitionType(args.partition_type, args.partition_subtype, getattr(args, 'part_list…
302 partition_id = PARTITION_BOOT_DEFAULT
337 common_args = {'target':target, 'partition_id':partition_id}