Home
last modified time | relevance | path

Searched refs:uuid_str (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/u-boot/lib/
H A Duuid.c144 int uuid_str_to_bin(char *uuid_str, unsigned char *uuid_bin, int str_format) in uuid_str_to_bin() argument
150 if (!uuid_str_valid(uuid_str)) { in uuid_str_to_bin()
152 if (!uuid_guid_get_bin(uuid_str, uuid_bin)) in uuid_str_to_bin()
159 tmp32 = cpu_to_be32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin()
162 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
165 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
168 tmp32 = cpu_to_le32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin()
171 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
174 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
178 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0002-FF-A-v15-lib-uuid-introduce-uuid_str_to_le_bin-funct.patch37 void gen_rand_uuid_str(char *uuid_str, int str_format);
41 + * @uuid_str: pointer to UUID string
47 +int uuid_str_to_le_bin(const char *uuid_str, unsigned char *uuid_bin);
65 @@ -354,6 +358,50 @@ int uuid_str_to_bin(const char *uuid_str, unsigned char *uuid_bin,
71 + * @uuid_str: pointer to UUID string
86 +int uuid_str_to_le_bin(const char *uuid_str, unsigned char *uuid_bin)
92 + if (!uuid_str_valid(uuid_str) || !uuid_bin)
95 + tmp32 = cpu_to_le32(hextoul(uuid_str, NULL));
98 + tmp16 = cpu_to_le16(hextoul(uuid_str + 9, NULL));
101 + tmp16 = cpu_to_le16(hextoul(uuid_str + 14, NULL));
[all …]
H A D0003-FF-A-v15-lib-uuid-introduce-testcase-for-uuid_str_to.patch82 + const char *uuid_str = TEST_SVC_UUID;
85 + ut_assertok(uuid_str_to_le_bin(uuid_str, ret_uuid_bin));
H A D0004-FF-A-v15-arm_ffa-introduce-Arm-FF-A-support.patch1160 + * @uuid_str: pointer to the UUID string
1194 +int ffa_get_partitions_info_hdlr(struct udevice *dev, const char *uuid_str,
1209 + if (!uuid_str) {
1224 + if (uuid_str_to_le_bin(uuid_str, (unsigned char *)&part_uuid)) {
1257 + ret = ffa_get_partitions_info_hdlr(dev, uuid_str, sp_count,
1378 + * @uuid_str: pointer to the UUID string
1394 +int ffa_partition_info_get(struct udevice *dev, const char *uuid_str,
1402 + return ops->partition_info_get(dev, uuid_str, sp_count, sp_descs);
1734 + int (*partition_info_get)(struct udevice *dev, const char *uuid_str,
1799 +int ffa_partition_info_get(struct udevice *dev, const char *uuid_str,
[all …]
/openbmc/u-boot/include/
H A Duuid.h36 int uuid_str_to_bin(char *uuid_str, unsigned char *uuid_bin, int str_format);
37 void uuid_bin_to_str(unsigned char *uuid_bin, char *uuid_str, int str_format);
43 void gen_rand_uuid_str(char *uuid_str, int str_format);
H A Dext4fs.h155 int ext4fs_uuid(char *uuid_str);
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_pp.c62 char uuid_str[38]; in enic_set_port_profile() local
103 sprintf(uuid_str, "%pUB", pp->instance_uuid); in enic_set_port_profile()
106 sizeof(uuid_str), uuid_str); in enic_set_port_profile()
110 sprintf(uuid_str, "%pUB", pp->host_uuid); in enic_set_port_profile()
113 sizeof(uuid_str), uuid_str); in enic_set_port_profile()
/openbmc/linux/block/
H A Dearly-lookup.c46 static int __init devt_from_partuuid(const char *uuid_str, dev_t *devt) in devt_from_partuuid() argument
53 cmp.uuid = uuid_str; in devt_from_partuuid()
55 slash = strchr(uuid_str, '/'); in devt_from_partuuid()
63 cmp.len = slash - uuid_str; in devt_from_partuuid()
65 cmp.len = strlen(uuid_str); in devt_from_partuuid()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/tc/
H A Dgenerate_metadata.py16 def add_uuid_to_metadata(uuid_str): argument
18 uuid_val = uuid.UUID(uuid_str)
/openbmc/linux/tools/testing/nvdimm/test/
H A Dndtest.c48 .uuid_str = "1e5c75d2-b618-11ea-9aa3-507b9ddc0f72",
55 .uuid_str = "1c4d43ac-b618-11ea-be80-507b9ddc0f72",
62 .uuid_str = "a9f17ffc-b618-11ea-b36d-507b9ddc0f72",
69 .uuid_str = "b6b83b22-b618-11ea-8aae-507b9ddc0f72",
76 .uuid_str = "bf9baaee-b618-11ea-b181-507b9ddc0f72",
86 .uuid_str = "ca0817e2-b618-11ea-9db3-507b9ddc0f72",
429 if (uuid_parse(p->config->dimms[ndimm].uuid_str, (uuid_t *)uuid)) { in ndtest_create_region()
H A Dndtest.h73 char *uuid_str; member
/openbmc/u-boot/fs/btrfs/
H A Dbtrfs.c215 int btrfs_uuid(char *uuid_str) in btrfs_uuid() argument
218 uuid_bin_to_str(btrfs_info.sb.fsid, uuid_str, UUID_STR_FORMAT_STD); in btrfs_uuid()
/openbmc/u-boot/fs/ext4/
H A Dext4fs.c241 int ext4fs_uuid(char *uuid_str) in ext4fs_uuid() argument
248 uuid_str, UUID_STR_FORMAT_STD); in ext4fs_uuid()
/openbmc/qemu/pc-bios/s390-ccw/
H A Dnetmain.c241 static char uuid_str[37]; in get_uuid() local
274 sprintf(uuid_str, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-" in get_uuid()
279 return uuid_str; in get_uuid()
/openbmc/linux/fs/ocfs2/
H A Dsuper.c222 "Device", osb->dev_str, osb->uuid_str, in ocfs2_osb_dump()
1072 osb->osb_debug_root = debugfs_create_dir(osb->uuid_str, in ocfs2_fill_super()
1656 buf->f_fsid.val[0] = crc32_le(0, osb->uuid_str, OCFS2_VOL_UUID_LEN) in ocfs2_statfs()
1658 buf->f_fsid.val[1] = crc32_le(0, osb->uuid_str + OCFS2_VOL_UUID_LEN, in ocfs2_statfs()
1917 if (!mnt_err && !ocfs2_mount_local(osb) && osb->uuid_str && in ocfs2_dismount_volume()
1927 ocfs2_cluster_hangup(osb->uuid_str, strlen(osb->uuid_str)); in ocfs2_dismount_volume()
1953 osb->uuid_str = kzalloc(OCFS2_VOL_UUID_LEN * 2 + 1, GFP_KERNEL); in ocfs2_setup_osb_uuid()
1954 if (osb->uuid_str == NULL) in ocfs2_setup_osb_uuid()
1957 for (i = 0, ptr = osb->uuid_str; i < OCFS2_VOL_UUID_LEN; i++) { in ocfs2_setup_osb_uuid()
2236 trace_ocfs2_initialize_super(osb->vol_label, osb->uuid_str, in ocfs2_initialize_super()
[all …]
H A Docfs2_trace.h1712 TP_PROTO(char *label, char *uuid_str, unsigned long long root_dir,
1714 TP_ARGS(label, uuid_str, root_dir, system_dir, cluster_bits),
1717 __string(uuid_str, uuid_str)
1724 __assign_str(uuid_str, uuid_str);
1729 TP_printk("%s %s %llu %llu %d", __get_str(label), __get_str(uuid_str),
/openbmc/u-boot/fs/
H A Dfs.c97 static inline int fs_uuid_unsupported(char *uuid_str) in fs_uuid_unsupported() argument
140 int (*uuid)(char *uuid_str);
386 int fs_uuid(char *uuid_str) in fs_uuid() argument
390 return info->uuid(uuid_str); in fs_uuid()
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dint3400_thermal.c162 static int int3400_thermal_run_osc(acpi_handle handle, char *uuid_str, int *enable) in int3400_thermal_run_osc() argument
168 .uuid_str = uuid_str, in int3400_thermal_run_osc()
/openbmc/linux/drivers/acpi/
H A Dbus.c177 acpi_handle_debug(handle, "(%s): %s\n", context->uuid_str, error); in acpi_print_osc_error()
198 if (guid_parse(context->uuid_str, &guid)) in acpi_run_osc()
306 .uuid_str = sb_uuid_str, in acpi_bus_osc_negotiate_platform_control()
413 .uuid_str = sb_usb_uuid_str, in acpi_bus_osc_negotiate_usb_control()
/openbmc/linux/drivers/firmware/arm_ffa/
H A Ddriver.c569 static int ffa_partition_info_get(const char *uuid_str, in ffa_partition_info_get() argument
576 if (uuid_parse(uuid_str, &uuid)) { in ffa_partition_info_get()
577 pr_err("invalid uuid (%s)\n", uuid_str); in ffa_partition_info_get()
/openbmc/linux/drivers/thunderbolt/
H A Ddomain.c164 char *str, *s, *uuid_str; in boot_acl_store() local
189 uuid_str = strim(str); in boot_acl_store()
190 while ((s = strsep(&uuid_str, ",")) != NULL && i < tb->nboot_acl) { in boot_acl_store()
/openbmc/u-boot/cmd/
H A Dgpt.c41 char uuid_str[UUID_STR_LEN + 1]; in extract_env() local
61 gen_rand_uuid_str(uuid_str, UUID_STR_FORMAT_GUID); in extract_env()
62 env_set(s, uuid_str); in extract_env()
H A Dpxe.c298 char *uuid_str; in pxe_uuid_path() local
300 uuid_str = from_env("pxeuuid"); in pxe_uuid_path()
302 if (!uuid_str) in pxe_uuid_path()
305 return get_pxelinux_path(cmdtp, uuid_str, pxefile_addr_r); in pxe_uuid_path()
/openbmc/linux/include/linux/
H A Darm_ffa.h354 int (*partition_info_get)(const char *uuid_str,
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dengine.py564 uuid_str = "-U {}".format(uuid) if uuid else ''
567 exec_cmd("{} {} {} {}".format(self.mkswap, label_str, uuid_str, partfname))

12