Home
last modified time | relevance | path

Searched refs:partition_name (Results 1 – 18 of 18) sorted by relevance

/external/avb/libavb_user/
Davb_user_verification.c133 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verification_get() local
139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verification_get()
145 partition_name, in avb_user_verification_get()
170 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verification_set() local
178 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verification_set()
184 partition_name, in avb_user_verification_set()
201 partition_name, in avb_user_verification_set()
206 avb_errorv("Error writing to partition '", partition_name, "'\n", NULL); in avb_user_verification_set()
Davb_user_verity.c133 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verity_get() local
139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verity_get()
145 partition_name, in avb_user_verity_get()
169 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verity_set() local
177 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verity_set()
183 partition_name, in avb_user_verity_set()
200 partition_name, in avb_user_verity_set()
205 avb_errorv("Error writing to partition '", partition_name, "'\n", NULL); in avb_user_verity_set()
/external/autotest/client/cros/faft/utils/
Dcgpt_handler.py86 def get_partition(self, device, partition_name): argument
99 result = self.devices[device][partition_name]
102 partition_name, device))
105 def set_partition(self, device, partition_name, partition_value): argument
121 current = self.get_partition(device, partition_name)
/external/avb/examples/uefi/
Duefi_avb_ops.c74 const char* partition_name, in find_partition_entry_by_name() argument
112 partition_name_bytes = avb_strlen(partition_name); in find_partition_entry_by_name()
122 if (!uefi_avb_utf8_to_ucs2((const uint8_t*)partition_name, in find_partition_entry_by_name()
177 const char* partition_name, in read_from_partition() argument
187 avb_assert(partition_name != NULL); in read_from_partition()
192 data->block_io, partition_name, &partition_entry); in read_from_partition()
239 const char* partition_name, in write_to_partition() argument
248 avb_assert(partition_name != NULL); in write_to_partition()
252 data->block_io, partition_name, &partition_entry); in write_to_partition()
299 const char* partition_name, in get_size_of_partition() argument
[all …]
Duefi_avb_boot.c144 if (avb_strcmp(boot->partition_name, "boot") != 0) { in uefi_avb_boot_kernel()
146 "Unexpected partition name '", boot->partition_name, "'.\n", NULL); in uefi_avb_boot_kernel()
/external/u-boot/lib/libavb/
Davb_slot_verify.c344 loaded_partition->partition_name = avb_strdup(found); in load_and_verify_hash_partition()
416 loaded_partition->partition_name = avb_strdup(requested_partitions[n]); in load_requested_partitions()
417 if (loaded_partition->partition_name == NULL) { in load_requested_partitions()
447 const char* partition_name, in load_and_verify_vbmeta() argument
482 is_vbmeta_partition = (avb_strcmp(partition_name, "vbmeta") == 0); in load_and_verify_vbmeta()
484 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { in load_and_verify_vbmeta()
493 partition_name, in load_and_verify_vbmeta()
746 vbmeta_image_data->partition_name = avb_strdup(partition_name); in load_and_verify_vbmeta()
1158 if (avb_strcmp(slot_data->vbmeta_images[0].partition_name, "vbmeta") != 0) { in avb_slot_verify()
1160 avb_strcmp(slot_data->vbmeta_images[0].partition_name, "boot") == 0); in avb_slot_verify()
[all …]
Davb_slot_verify.h108 char* partition_name; member
128 char* partition_name; member
/external/avb/libavb/
Davb_slot_verify.c459 loaded_partition->partition_name = avb_strdup(found); in load_and_verify_hash_partition()
525 loaded_partition->partition_name = avb_strdup(requested_partitions[n]); in load_requested_partitions()
526 if (loaded_partition->partition_name == NULL) { in load_requested_partitions()
556 const char* partition_name, in load_and_verify_vbmeta() argument
591 is_vbmeta_partition = (avb_strcmp(partition_name, "vbmeta") == 0); in load_and_verify_vbmeta()
593 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { in load_and_verify_vbmeta()
602 partition_name, in load_and_verify_vbmeta()
859 vbmeta_image_data->partition_name = avb_strdup(partition_name); in load_and_verify_vbmeta()
1411 if (avb_strcmp(slot_data->vbmeta_images[0].partition_name, "vbmeta") != 0) { in avb_slot_verify()
1413 avb_strcmp(slot_data->vbmeta_images[0].partition_name, "boot") == 0); in avb_slot_verify()
[all …]
Davb_slot_verify.h146 char* partition_name; member
166 char* partition_name; member
/external/avb/
Davbtool1295 self.partition_name = str(data[(self.SIZE + o):(self.SIZE + o +
1298 self.partition_name.decode('utf-8')
1318 self.partition_name = ''
1342 o.write(' Partition Name: {}\n'.format(self.partition_name))
1355 encoded_name = self.partition_name.encode('utf-8')
1385 if self.partition_name == '':
1388 image_filename = os.path.join(image_dir, self.partition_name + image_ext)
1418 .format(self.partition_name, self.hash_algorithm, image.filename,
1473 self.partition_name = str(data[(self.SIZE + o):(self.SIZE + o +
1476 self.partition_name.decode('utf-8')
[all …]
DREADME.md369 --partition_name PARTNAME --partition_size SIZE \
390 --partition_name PARTNAME --partition_size SIZE \
763 value `avb.persistent_digest.$(partition_name)` instead of in the
/external/avb/test/
Davb_slot_verify_unittest.cc476 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
564 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
575 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
660 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
671 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
856 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
864 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
900 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1045 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
1054 std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
[all …]
/external/u-boot/common/
Davb_verify.c523 const char *partition_name, in read_from_partition() argument
529 return mmc_byte_io(ops, partition_name, offset_from_partition, in read_from_partition()
551 const char *partition_name, in write_to_partition() argument
556 return mmc_byte_io(ops, partition_name, offset_from_partition, in write_to_partition()
/external/u-boot/disk/
Dpart_efi.c62 c = pte->partition_name[i] & 0xff; in print_efiname()
537 efiname_len = sizeof(gpt_e[i].partition_name) in gpt_fill_pte()
541 memset(gpt_e[i].partition_name, 0, in gpt_fill_pte()
542 sizeof(gpt_e[i].partition_name)); in gpt_fill_pte()
545 gpt_e[i].partition_name[k] = in gpt_fill_pte()
732 gpt_convert_efi_name_to_char(efi_str, gpt_e[i].partition_name, in gpt_verify_partitions()
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.h403 virtual void PartitionDumpTotals(const char* partition_name,
407 virtual void PartitionsDumpBucketStats(const char* partition_name,
441 const char* partition_name,
445 const char* partition_name,
Dpartition_alloc.cc1327 const char* partition_name, in PartitionDumpStatsGeneric() argument
1388 dumper->PartitionsDumpBucketStats(partition_name, &bucket_stats[i]); in PartitionDumpStatsGeneric()
1403 dumper->PartitionsDumpBucketStats(partition_name, &stats); in PartitionDumpStatsGeneric()
1409 dumper->PartitionDumpTotals(partition_name, &stats); in PartitionDumpStatsGeneric()
1413 const char* partition_name, in PartitionDumpStats() argument
1437 dumper->PartitionsDumpBucketStats(partition_name, &memory_stats[i]); in PartitionDumpStats()
1440 dumper->PartitionDumpTotals(partition_name, &stats); in PartitionDumpStats()
/external/u-boot/include/
Dpart_efi.h111 efi_char16_t partition_name[PARTNAME_SZ]; member
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session.cc1245 const string& partition_name = iter->first; in CreateExecutors() local
1249 TF_RETURN_IF_ERROR(device_mgr_->LookupDevice(partition_name, &device)); in CreateExecutors()
1253 auto lib = func_info->proc_flr->GetFLR(partition_name); in CreateExecutors()
1255 return errors::Internal("Could not find device: ", partition_name); in CreateExecutors()
1592 const string& partition_name = partition.first; in CreateGraphs() local
1596 << partition_name; in CreateGraphs()
1600 s = device_mgr_->LookupDevice(partition_name, &d); in CreateGraphs()