| /u-boot/lib/ |
| A D | uuid.c | 65 int uuid_str_valid(const char *uuid) in uuid_str_valid() argument 69 if (uuid == NULL) in uuid_str_valid() 75 valid = (uuid[i] == '-'); in uuid_str_valid() 78 valid = isxdigit(uuid[i]); in uuid_str_valid() 253 struct uuid *uuid = (struct uuid *)ptr; in gen_rand_uuid() local 275 clrsetbits_be16(&uuid->time_hi_and_version, in gen_rand_uuid() 283 memcpy(uuid_bin, uuid, 16); in gen_rand_uuid() 307 char uuid[UUID_STR_LEN + 1]; in do_uuid() local 318 gen_rand_uuid_str(uuid, str_format); in do_uuid() 321 printf("%s\n", uuid); in do_uuid() [all …]
|
| /u-boot/include/ |
| A D | uuid.h | 12 struct uuid { struct 28 #define UUID_BIN_LEN sizeof(struct uuid) argument 38 int uuid_str_valid(const char *uuid);
|
| /u-boot/drivers/xen/ |
| A D | xenbus.c | 483 int xenbus_read_uuid(const char *path, unsigned char uuid[16]) in xenbus_read_uuid() 500 uuid, uuid + 1, uuid + 2, uuid + 3, in xenbus_read_uuid() 501 uuid + 4, uuid + 5, uuid + 6, uuid + 7, in xenbus_read_uuid() 502 uuid + 8, uuid + 9, uuid + 10, uuid + 11, in xenbus_read_uuid() 503 uuid + 12, uuid + 13, uuid + 14, uuid + 15) != 16) { in xenbus_read_uuid()
|
| /u-boot/board/intel/edison/ |
| A D | edison-environment.txt | 1 …uuid=${uuid_uboot0};name=u-boot-env0,size=1MiB,uuid=${uuid_uboot_env0};name=u-boot1,size=2MiB,uuid…
|
| /u-boot/fs/ |
| A D | fs.c | 157 int (*uuid)(char *uuid_str); member 198 .uuid = fat_uuid, 224 .uuid = ext4fs_uuid, 242 .uuid = fs_uuid_unsupported, 280 .uuid = btrfs_uuid, 449 return info->uuid(uuid_str); in fs_uuid() 847 char uuid[37]; in do_fs_uuid() local 848 memset(uuid, 0, sizeof(uuid)); in do_fs_uuid() 856 ret = fs_uuid(uuid); in do_fs_uuid() 861 env_set(argv[3], uuid); in do_fs_uuid() [all …]
|
| /u-boot/cmd/x86/ |
| A D | hob.c | 99 char uuid[UUID_STR_LEN + 1]; in do_hob() local 144 uuid_bin_to_str(guid->b, uuid, in do_hob() 146 name = uuid; in do_hob()
|
| /u-boot/fs/btrfs/ |
| A D | compat.h | 72 static inline void uuid_unparse(const u8 *uuid, char *out) in uuid_unparse() argument 74 return uuid_bin_to_str((unsigned char *)uuid, out, 0); in uuid_unparse()
|
| A D | volumes.c | 151 u64 devid, u8 *uuid) in find_device() argument 158 (!uuid || !memcmp(dev->uuid, uuid, BTRFS_UUID_SIZE))) { in find_device() 219 disk_super->dev_item.uuid); in device_list_add() 231 memcpy(device->uuid, disk_super->dev_item.uuid, in device_list_add() 355 u8 *uuid, u8 *fsid) in btrfs_find_device() argument 364 device = find_device(cur_devices, devid, uuid); in btrfs_find_device() 525 u8 uuid[BTRFS_UUID_SIZE]; in read_one_chunk() local 567 read_extent_buffer(leaf, uuid, (unsigned long) in read_one_chunk() 570 map->stripes[i].dev = btrfs_find_device(fs_info, devid, uuid, in read_one_chunk() 606 read_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); in fill_device_from_item()
|
| A D | volumes.h | 46 u8 uuid[BTRFS_UUID_SIZE]; member 196 u8 *uuid, u8 *fsid);
|
| /u-boot/doc/ |
| A D | README.gpt | 40 uuid command line tool). 157 "uuid_disk=...;name=u-boot,size=60MiB,uuid=...; 158 name=kernel,size=60MiB,uuid=...;" 161 size=${uboot_size},uuid=${uboot_uuid};" 169 The fields 'uuid' and 'uuid_disk' are optional if CONFIG_RANDOM_UUID is 170 enabled. A random uuid will be used if omitted or they point to an empty/ 249 "uuid_disk=...;name=u-boot,size=60MiB,uuid=...; 250 name=kernel,size=60MiB,uuid=..., 273 "uuid_disk=...;name=u-boot,size=60MiB,uuid=...; 274 name=kernel,size=60MiB,uuid=...,type=linux;" [all …]
|
| /u-boot/drivers/tee/broadcom/ |
| A D | chimp_optee.c | 28 const struct tee_optee_ta_uuid uuid = CHMIP_BOOT_UUID; in get_open_session() local 38 tee_optee_ta_uuid_to_octets(arg.uuid, &uuid); in get_open_session()
|
| /u-boot/test/dm/ |
| A D | fastboot.c | 45 gen_rand_uuid_str(parts[0].uuid, UUID_STR_FORMAT_STD); in dm_test_fastboot_mmc_part() 46 gen_rand_uuid_str(parts[1].uuid, UUID_STR_FORMAT_STD); in dm_test_fastboot_mmc_part()
|
| A D | acpi_dp.c | 75 char uuid[UUID_STR_LEN + 1]; in dm_test_acpi_dp_int() local 99 uuid_bin_to_str(ptr + 17, uuid, 1); in dm_test_acpi_dp_int() 100 ut_asserteq_str(ACPI_DP_UUID, uuid); in dm_test_acpi_dp_int() 281 char uuid[UUID_STR_LEN + 1]; in dm_test_acpi_dp_child() local 310 uuid_bin_to_str(ptr + 17, uuid, 1); in dm_test_acpi_dp_child() 311 ut_asserteq_str(ACPI_DP_CHILD_UUID, uuid); in dm_test_acpi_dp_child() 349 uuid_bin_to_str(pptr + 17, uuid, 1); in dm_test_acpi_dp_child() 350 ut_asserteq_str(ACPI_DP_UUID, uuid); in dm_test_acpi_dp_child()
|
| A D | tee.c | 19 struct tee_optee_ta_uuid *uuid) in open_session() argument 25 tee_optee_ta_uuid_to_octets(arg.uuid, uuid); in open_session()
|
| /u-boot/drivers/tee/ |
| A D | sandbox.c | 31 struct tee_optee_ta_uuid uuid; member 349 { .uuid = TA_AVB_UUID, 355 { .uuid = TA_RPC_TEST_UUID, 385 static const struct ta_entry *find_ta_entry(u8 uuid[TEE_UUID_LEN]) in find_ta_entry() 390 tee_optee_ta_uuid_from_octets(&u, uuid); in find_ta_entry() 393 if (!memcmp(&u, &ta_entries[n].uuid, sizeof(u))) in find_ta_entry() 411 ta = find_ta_entry(arg->uuid); in sandbox_tee_open_session()
|
| /u-boot/drivers/tpm/ |
| A D | tpm2_ftpm_tee.c | 171 const struct tee_optee_ta_uuid uuid = TA_FTPM_UUID; in ftpm_tee_probe() local 189 tee_optee_ta_uuid_to_octets(sess_arg.uuid, &uuid); in ftpm_tee_probe()
|
| /u-boot/cmd/ |
| A D | optee_rpmb.c | 21 const struct tee_optee_ta_uuid uuid = TA_AVB_UUID; in avb_ta_open_session() local 30 tee_optee_ta_uuid_to_octets(arg.uuid, &uuid); in avb_ta_open_session()
|
| A D | gpt.c | 215 strncpy(newpart->gpt_part_info.uuid, (const char *)info->uuid, in allocate_disk_part() 218 newpart->gpt_part_info.uuid[UUID_STR_LEN] = '\0'; in allocate_disk_part() 256 printf("UUID %s\n", curr->gpt_part_info.uuid); in print_gpt_info() 303 strncat(partitions_list, curr->gpt_part_info.uuid, in create_gpt_partitions_list() 464 gen_rand_uuid_str(parts[i].uuid, UUID_STR_FORMAT_STD); in set_gpt_info() 472 if (strnlen(p, max_str_part) >= sizeof(parts[i].uuid)) { in set_gpt_info() 477 strncpy((char *)parts[i].uuid, p, max_str_part); in set_gpt_info()
|
| A D | part.c | 47 env_set(argv[2], info.uuid); in do_part_uuid() 49 printf("%s\n", info.uuid); in do_part_uuid()
|
| /u-boot/include/xen/ |
| A D | xenbus.h | 101 int xenbus_read_uuid(const char *path, unsigned char uuid[16]);
|
| /u-boot/net/ |
| A D | bootp.c | 469 char *uuid; in dhcp_extended() local 548 uuid = env_get("pxeuuid"); in dhcp_extended() 550 if (uuid) { in dhcp_extended() 551 if (uuid_str_valid(uuid)) { in dhcp_extended() 556 uuid_str_to_bin(uuid, e, UUID_STR_FORMAT_STD); in dhcp_extended() 559 printf("Invalid pxeuuid: %s\n", uuid); in dhcp_extended()
|
| /u-boot/tools/ |
| A D | efivar.py | 11 import uuid 122 return EfiVariable(size, attrs, time, uuid.UUID(bytes_le=guid), name, data), offs 144 uuid.UUID(guid).bytes_le) 305 …buf = name.encode('utf_16_le') + uuid.UUID(guid).bytes_le + attrs.to_bytes(4, byteorder='little') … 314 uuid.UUID(EFI_CERT_TYPE_PKCS7_GUID).bytes_le)
|
| /u-boot/disk/ |
| A D | part_efi.c | 224 char uuid[UUID_STR_LEN + 1]; in part_print_efi() local 249 uuid_bin_to_str(uuid_bin, uuid, UUID_STR_FORMAT_GUID); in part_print_efi() 250 printf("\ttype:\t%s\n", uuid); in part_print_efi() 257 uuid_bin_to_str(uuid_bin, uuid, UUID_STR_FORMAT_GUID); in part_print_efi() 258 printf("\tguid:\t%s\n", uuid); in part_print_efi() 302 uuid_bin_to_str(gpt_pte[part - 1].unique_partition_guid.b, info->uuid, in part_get_info_efi() 501 str_uuid = partitions[i].uuid; in gpt_fill_pte()
|
| A D | part.c | 335 info->uuid[0] = 0; in part_get_info() 371 info->uuid[0] = 0; in part_get_info_whole_disk() 468 info->uuid[0] = 0; in blk_get_device_part_str() 494 info->uuid[0] = 0; in blk_get_device_part_str()
|
| /u-boot/board/xilinx/common/ |
| A D | fru.h | 56 u8 uuid[FRU_BOARD_MAX_LEN]; member
|