Home
last modified time | relevance | path

Searched full:uuid (Results 1 – 25 of 640) sorted by relevance

12345678910>>...26

/openbmc/qemu/include/hw/virtio/
H A Dvirtio-dmabuf.h16 #include "qemu/uuid.h"
32 * @uuid: new resource's UUID
39 * Return: true if the UUID did not exist and the resource has been added,
40 * false if another resource with the same UUID already existed.
41 * Note that if it finds a repeated UUID, the resource is not inserted in
44 bool virtio_add_dmabuf(QemuUUID *uuid, int dmabuf_fd);
48 * resource with the associated UUID
49 * @uuid: new resource's UUID
53 * Return: true if the UUID did not exist and the device has been tracked,
54 * false if another resource with the same UUID already existed.
[all …]
/openbmc/linux/lib/
Duuid.c
/openbmc/qemu/tests/unit/
H A Dtest-virtio-dmabuf.c27 QemuUUID uuid; in test_add_remove_resources() local
31 qemu_uuid_generate(&uuid); in test_add_remove_resources()
34 g_assert(virtio_add_dmabuf(&uuid, dmabuf_fd)); in test_add_remove_resources()
35 g_assert_cmpint(virtio_lookup_dmabuf(&uuid), ==, dmabuf_fd); in test_add_remove_resources()
37 g_assert(virtio_remove_resource(&uuid)); in test_add_remove_resources()
39 g_assert_cmpint(virtio_lookup_dmabuf(&uuid), ==, -1); in test_add_remove_resources()
45 QemuUUID uuid; in test_add_remove_dev() local
50 qemu_uuid_generate(&uuid); in test_add_remove_dev()
51 virtio_add_vhost_device(&uuid, dev); in test_add_remove_dev()
53 g_assert(virtio_lookup_vhost_device(&uuid) != NULL); in test_add_remove_dev()
[all …]
H A Dtest-uuid.c2 * QEMU UUID Library
22 #include "qemu/uuid.h"
26 QemuUUID uuid; member
88 static inline bool uuid_is_valid(QemuUUID *uuid) in uuid_is_valid() argument
90 return qemu_uuid_is_null(uuid) || in uuid_is_valid()
91 ((uuid->data[6] & 0xf0) == 0x40 && (uuid->data[8] & 0xc0) == 0x80); in uuid_is_valid()
100 QemuUUID uuid; in test_uuid_generate() local
104 qemu_uuid_generate(&uuid); in test_uuid_generate()
105 g_assert(uuid_is_valid(&uuid)); in test_uuid_generate()
106 g_assert_false(qemu_uuid_is_null(&uuid)); in test_uuid_generate()
[all …]
/openbmc/u-boot/lib/
H A Duuid.c15 * UUID - Universally Unique IDentifier - 128 bits unique number.
16 * There are 5 versions and one variant of UUID defined by RFC4122
17 * specification. A UUID contains a set of fields. The set varies
18 * depending on the version of the UUID, as shown below:
25 * Layout of UUID:
34 * UUID binary format (16 bytes):
38 * UUID string is 36 length of characters (36 bytes):
45 * When converting to a binary UUID, le means the field should be converted
48 * UUID is also used as GUID (Globally Unique Identifier) with the same binary
58 int uuid_str_valid(const char *uuid) in uuid_str_valid() argument
[all …]
/openbmc/u-boot/include/configs/
H A Devb_rk3229.h22 "name=loader_a,start=4M,size=4M,uuid=${uuid_gpt_loader};" \
23 "name=loader_b,size=4M,uuid=${uuid_gpt_reserved};" \
24 "name=trust_a,size=4M,uuid=${uuid_gpt_reserved};" \
25 "name=trust_b,size=4M,uuid=${uuid_gpt_reserved};" \
26 "name=misc,size=4M,uuid=${uuid_gpt_misc};" \
27 "name=metadata,size=16M,uuid=${uuid_gpt_metadata};" \
28 "name=boot_a,size=32M,uuid=${uuid_gpt_boot_a};" \
29 "name=boot_b,size=32M,uuid=${uuid_gpt_boot_b};" \
30 "name=system_a,size=818M,uuid=${uuid_gpt_system_a};" \
31 "name=system_b,size=818M,uuid=${uuid_gpt_system_b};" \
[all …]
/openbmc/qemu/hw/display/
H A Dvirtio-dmabuf.c22 * uuid_equal_func: wrapper for UUID is_equal function to
30 static bool virtio_add_resource(QemuUUID *uuid, VirtioSharedObject *value) in virtio_add_resource() argument
41 if (g_hash_table_lookup(resource_uuids, uuid) == NULL) { in virtio_add_resource()
42 g_hash_table_insert(resource_uuids, uuid, value); in virtio_add_resource()
51 bool virtio_add_dmabuf(QemuUUID *uuid, int udmabuf_fd) in virtio_add_dmabuf() argument
61 result = virtio_add_resource(uuid, vso); in virtio_add_dmabuf()
69 bool virtio_add_vhost_device(QemuUUID *uuid, struct vhost_dev *dev) in virtio_add_vhost_device() argument
79 result = virtio_add_resource(uuid, vso); in virtio_add_vhost_device()
87 bool virtio_remove_resource(const QemuUUID *uuid) in virtio_remove_resource() argument
91 result = g_hash_table_remove(resource_uuids, uuid); in virtio_remove_resource()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/minifi-cpp/files/
H A D0002-Fix-osspuuid-build.patch14 .../ossp-uuid/ossp-uuid-cross-compile-fix.patch | 13 +++++++++++++
16 create mode 100644 thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch
23 set(PATCH_FILE1 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-mac-fix.patch")
24 set(PATCH_FILE2 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-no-prog.patch")
25 set(PATCH_FILE3 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-update-config-guess.patch")
26 + set(PATCH_FILE4 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch")
40 …--without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install")
41 …--without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install")
48 ossp-uuid-external
49 - URL "https://deb.debian.org/debian/pool/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz"
[all …]
/openbmc/qemu/util/
H A Duuid.c2 * QEMU UUID functions
17 #include "qemu/uuid.h"
20 void qemu_uuid_generate(QemuUUID *uuid) in qemu_uuid_generate() argument
30 memcpy(uuid, tmp, sizeof(tmp)); in qemu_uuid_generate()
33 uuid->data[8] = (uuid->data[8] & 0x3f) | 0x80; in qemu_uuid_generate()
37 uuid->data[6] = (uuid->data[6] & 0xf) | 0x40; in qemu_uuid_generate()
51 void qemu_uuid_unparse(const QemuUUID *uuid, char *out) in qemu_uuid_unparse() argument
53 const unsigned char *uu = &uuid->data[0]; in qemu_uuid_unparse()
59 char *qemu_uuid_unparse_strdup(const QemuUUID *uuid) in qemu_uuid_unparse_strdup() argument
61 const unsigned char *uu = &uuid->data[0]; in qemu_uuid_unparse_strdup()
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dfs-uuid.bbclass7 # Extract UUID from ${ROOTFS}, which must have been built
15 if line.startswith('Filesystem UUID:'):
16 uuid = line.split()[-1]
17 bb.note('UUID of %s: %s' % (rootfs, uuid))
18 return uuid
19 bb.fatal('Could not determine filesystem UUID of %s' % rootfs)
21 # Replace the special <<uuid-of-rootfs>> inside a string (like the
23 # actual UUID of the rootfs. Does nothing if the special string
26 UUID_PLACEHOLDER = '<<uuid-of-rootfs>>'
28 uuid = get_rootfs_uuid(d)
[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.patch4 Subject: [PATCH] FF-A v15: lib: uuid: introduce uuid_str_to_le_bin function
6 convert UUID string to little endian binary data
15 include/uuid.h | 15 +++++++++++++++
16 lib/uuid.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
19 diff --git a/include/uuid.h b/include/uuid.h
21 --- a/include/uuid.h
22 +++ b/include/uuid.h
40 + * uuid_str_to_le_bin() - Convert string UUID to little endian binary data.
41 + * @uuid_str: pointer to UUID string
44 + * uuid_bin filled with little endian UUID data
[all …]
H A D0003-FF-A-v15-lib-uuid-introduce-testcase-for-uuid_str_to.patch4 Subject: [PATCH] FF-A v15: lib: uuid: introduce testcase for
16 test/lib/uuid.c | 41 +++++++++++++++++++++++++++++++++++++++++
18 create mode 100644 test/lib/uuid.c
29 +UUID testing
32 +F: test/lib/uuid.c
41 +obj-$(CONFIG_LIB_UUID) += uuid.o
45 diff --git a/test/lib/uuid.c b/test/lib/uuid.c
49 +++ b/test/lib/uuid.c
62 +#include <uuid.h>
67 +/* test UUID */
[all …]
/openbmc/linux/Documentation/ABI/stable/
Dsysfs-bus-vmbus
/openbmc/skeleton/pyinventorymgr/
H A Dsync_inventory_items.py21 import uuid
31 CHS_INTF_NAME = "xyz.openbmc_project.Common.UUID"
93 # Get inventory UUID value.
98 # to objects that implement UUID.
101 # Only expecting a single object to implement UUID.
108 # UUID. Get the service connection
112 # Get the inventory object implementing UUID.
115 # Get the uuid
148 # Set sys uuid, this reboots the BMC for the value to take effect
149 def set_sys_uuid(uuid): argument
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/fvp-base/
H A Doptee_spmc_maifest.dts52 uuid = <0x806e6463 0x2f4652eb 0xdf8c4fac 0x9c518739>;
56 uuid = <0x48ef1edc 0xcf4c7ab1 0xcfdf8bac 0x141b71f7>;
61 uuid = <0x01f81b75 0x6847de3d 0x100f14a5 0x9017edae>;
66 uuid = <0xd552dfd9 0xb24ba216 0x6dd2a49a 0xc0e8843b>;
72 uuid = <0x55f1baa1 0x95467688 0x95547c8f 0x74b98d5e>;
79 uuid = <0x33d532ed 0x0942e699 0x722dc09c 0xa798d9cd>;
86 uuid = <0x38a82368 0x0e47061b 0xce0c7497 0xfd53fb8b>;
93 uuid = <0xc3db9e5c 0x67433a7b 0x197c839f 0x376ae81a>;
98 uuid = <0x4c161778 0x1a4d0cc4 0xb29b7a86 0x1af48c27>;
103 uuid = <0x0001eb23 0x97442ae3 0x112f5290 0xa6af84e5>;
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/wic/
H A Dcorstone1000-flash-firmware.wks.in10 part --source empty --size 3k --offset 17k --part-name="reserved_1" --uuid B1F2FC8C-A7A3-4485-87CB-…
12 part --source empty --size 4k --align 4 --offset 20k --part-name="FWU-Metadata" --uuid 3FDFFEE1-322…
13 part --source empty --size 4k --align 4 --offset 24k --part-name="Bkup-FWU-Metadata" --uuid B306831…
15 …size 4k --align 4 --offset 28k --part-name="private_metadata_replica_2" --uuid 3CC3B456-DEC8-4CE3-…
16 …size 4k --align 4 --offset 32k --part-name="private_metadata_replica_2" --uuid DCE9C503-8DFD-4DCB-…
19 …="file=bl2_signed.bin" --offset 36k --align 4 --part-name="bl2_primary" --uuid 9A3A8FBF-55EF-439C-…
22 …ourceparams="file=tfm_s_signed.bin" --align 4 --part-name="tfm_primary" --uuid 07F9616C-1233-439C-…
25 …params="file=signed_fip-corstone1000.bin" --align 4 --part-name="FIP_A" --uuid B9C7AC9D-40FF-4675-…
28 …age.gz-initramfs-${MACHINE}.bin" --align 4 --part-name="kernel_primary" --uuid BF7A6142-0662-47FD-…
32 part --source empty --size 144k --offset 16392k --align 4 --part-name="bl2_secondary" --uuid 3F0C49…
[all …]
/openbmc/smbios-mdr/src/
H A Dsystem.cpp37 std::string System::uuid(std::string /* value */) in uuid() function in phosphor::smbios::System
46 stream << std::setw(8) << systemInfo->uuid.timeLow; in uuid()
48 stream << std::setw(4) << systemInfo->uuid.timeMid; in uuid()
50 stream << std::setw(4) << systemInfo->uuid.timeHiAndVer; in uuid()
52 stream << std::setw(2) << static_cast<int>(systemInfo->uuid.clockSeqHi); in uuid()
54 << static_cast<int>(systemInfo->uuid.clockSeqLow); in uuid()
56 static_assert(sizeof(systemInfo->uuid.node) == 6); in uuid()
57 stream << std::setw(2) << static_cast<int>(systemInfo->uuid.node[0]); in uuid()
58 stream << std::setw(2) << static_cast<int>(systemInfo->uuid.node[1]); in uuid()
59 stream << std::setw(2) << static_cast<int>(systemInfo->uuid.node[2]); in uuid()
[all …]
/openbmc/linux/Documentation/filesystems/ext4/
Dchecksums.rst
/openbmc/linux/drivers/acpi/acpica/
Dutuuid.c
/openbmc/qemu/include/qemu/
H A Duuid.h2 * QEMU UUID functions
20 /* Version 4 UUID (pseudo random numbers), RFC4122 4.4. */
38 * UUID_LE - converts the fields of UUID to little-endian array,
39 * each of parameters is the filed of UUID.
64 /* Normal (network byte order) UUID */
65 #define UUID(time_low, time_mid, time_hi_and_version, \ macro
92 void qemu_uuid_unparse(const QemuUUID *uuid, char *out);
94 char *qemu_uuid_unparse_strdup(const QemuUUID *uuid);
96 int qemu_uuid_parse(const char *str, QemuUUID *uuid);
98 QemuUUID qemu_uuid_bswap(QemuUUID uuid);
[all …]
/openbmc/u-boot/doc/
H A DREADME.gpt9 - UUID -(Universally Unique Identifier)
22 UUID introduction:
25 GPT for marking disks/partitions is using the UUID. It is supposed to be a
26 globally unique value. A UUID is a 16-byte (128-bit) number. The number of
28 More often UUID is displayed as 32 hexadecimal digits, in 5 groups,
39 OSes and programming languages are providing libraries to compute UUID (e.g.
40 uuid command line tool).
103 56 16 B Disk GUID (also referred as UUID on UNIXes)
157 "uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
158 name=kernel,size=60MiB,uuid=...;"
[all …]
/openbmc/u-boot/include/environment/ti/
H A Dboot.h21 ",uuid=${uuid_gpt_vbmeta};"
31 "name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};" \
32 "name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}\0" \
36 "name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
37 "name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
38 "name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
39 "name=misc,size=128K,uuid=${uuid_gpt_misc};" \
40 "name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
41 "name=boot,size=10M,uuid=${uuid_gpt_boot};" \
42 "name=system,size=1024M,uuid=${uuid_gpt_system};" \
[all …]
/openbmc/linux/Documentation/ABI/testing/
Dsysfs-uevent
/openbmc/qemu/docs/system/arm/
H A Dvmapple.rst22 First, we need to extract the UUID from the virtual machine that you installed. You can do this
23 by running the shell script in contrib/vmapple/uuid.sh on the macosvm.json file.
26 :caption: uuid.sh script to extract the UUID from a macosvm.json file
28 $ contrib/vmapple/uuid.sh "path/to/macosvm.json"
47 $ UUID="$(contrib/vmapple/uuid.sh 'macosvm.json')"
55 -M vmapple,uuid="$UUID" \
/openbmc/linux/drivers/nvdimm/
Dlabel.h

12345678910>>...26