/src/sys/kern/ |
kern_uuid.c | 39 #include <sys/uuid.h> 47 CTASSERT(sizeof(struct uuid) == 16); 50 uuid_generate(struct uuid *uuid) 54 cprng_fast(uuid, sizeof(*uuid)); 57 uuid->time_hi_and_version &= ~(uint32_t)0xf000; 58 uuid->time_hi_and_version |= 0x4000; 61 uuid->clock_seq_hi_and_reserved &= ~(uint8_t)0x40; 62 uuid->clock_seq_hi_and_reserved |= 0x80 [all...] |
/src/sys/sys/ |
uuid.h | 1 /* $NetBSD: uuid.h,v 1.8 2022/08/20 11:27:09 riastradh Exp $ */ 28 * $FreeBSD: /repoman/r/ncvs/src/sys/sys/uuid.h,v 1.3 2003/05/31 16:47:07 phk Exp $ 40 /* Length of a printed UUID. */ 50 struct uuid { struct 64 int uuid_snprintf(char *, size_t, const struct uuid *); 65 int uuid_printf(const struct uuid *); 66 void uuid_dec_be(const void *, struct uuid *); 67 void uuid_dec_le(const void *, struct uuid *); 68 void uuid_enc_be(void *, const struct uuid *); 69 void uuid_enc_le(void *, const struct uuid *); [all...] |
efiio.h | 37 #include <sys/uuid.h> 53 struct uuid uuid; member in struct:efi_get_table_ioc 61 struct uuid vendor; /* unique identifier for vendor */
|
/src/lib/libc/uuid/ |
uuid_stream.c | 37 #include <uuid.h> 40 * Encode/Decode UUID into octet-stream. 60 uuid_enc_le(void *buf, const uuid_t *uuid) 65 le32enc(p, uuid->time_low); 66 le16enc(p + 4, uuid->time_mid); 67 le16enc(p + 6, uuid->time_hi_and_version); 68 p[8] = uuid->clock_seq_hi_and_reserved; 69 p[9] = uuid->clock_seq_low; 71 p[10 + i] = uuid->node[i]; 75 uuid_dec_le(const void *buf, uuid_t *uuid) [all...] |
uuid_create.c | 29 * $FreeBSD: src/lib/libc/uuid/uuid_create.c,v 1.2 2003/08/08 19:18:43 marcel Exp $ 39 #include <uuid.h> 42 * uuid_create() - create an UUID.
|
uuid_create_nil.c | 29 * $FreeBSD: src/lib/libc/uuid/uuid_create_nil.c,v 1.2 2003/08/08 19:18:43 marcel Exp $ 40 #include <uuid.h> 47 * uuid_create_nil() - create a nil UUID.
|
uuid_hash.c | 29 * $FreeBSD: src/lib/libc/uuid/uuid_hash.c,v 1.2 2003/08/08 19:18:43 marcel Exp $ 39 #include <uuid.h> 54 * Use the most frequently changing bits in the UUID as the hash
|
uuid_is_nil.c | 29 * $FreeBSD: src/lib/libc/uuid/uuid_is_nil.c,v 1.2 2003/08/08 19:18:43 marcel Exp $ 40 #include <uuid.h> 47 * uuid_is_nil() - return whether the UUID is a nil UUID.
|
/src/sys/external/bsd/drm2/include/linux/ |
uuid.h | 1 /* $NetBSD: uuid.h,v 1.4 2021/12/19 11:38:04 riastradh Exp $ */ 64 uuid_is_valid(const char uuid[static 36]) 74 if (uuid[i] == '-') 78 if ('0' <= uuid[i] && uuid[i] <= '9') 80 if ('a' <= uuid[i] && uuid[i] <= 'f') 82 if ('A' <= uuid[i] && uuid[i] <= 'F')
|
/src/sbin/efi/ |
certs.h | 33 const char *get_cert_name(uuid_t *uuid);
|
utils.h | 35 int uuid_printf(const struct uuid *); 36 void uuid_dec_be(const void *, struct uuid *); 37 void uuid_dec_le(const void *, struct uuid *); 38 void uuid_enc_be(void *, const struct uuid *); 39 void uuid_enc_le(void *, const struct uuid *); 40 int uuidgen(struct uuid *, int); 46 struct uuid; 87 int uuid_scanf(struct uuid *, const char *); 88 int uuid_snprintf(char *, size_t, const struct uuid *); 89 int uuid_printf(const struct uuid *); [all...] |
utils.c | 31 #include <sys/uuid.h> 295 * UUID routines 298 uuid_scanf(struct uuid *uuid, const char *str) 303 &uuid->time_low, &uuid->time_mid, &uuid->time_hi_and_version, 304 &uuid->clock_seq_hi_and_reserved, &uuid->clock_seq_low, 305 &uuid->node[0], &uuid->node[1], &uuid->node[2], &uuid->node[3] [all...] |
efiio.h | 72 struct efi_var_ioc get_variable(int, const char *, struct uuid *, uint32_t); 74 void *get_table(int, struct uuid *, size_t *);
|
/src/sys/arch/i386/stand/lib/ |
biosdisk.h | 36 const struct uuid *guid; 61 struct uuid; 62 bool guid_is_nil(const struct uuid *); 63 bool guid_is_equal(const struct uuid *, const struct uuid *);
|
/src/sys/dev/ |
efivar.h | 32 #include <sys/uuid.h> 40 efi_status (*efi_getvar)(uint16_t *, struct uuid *, uint32_t *, 42 efi_status (*efi_setvar)(uint16_t *, struct uuid *, uint32_t, 44 efi_status (*efi_nextvar)(u_long *, uint16_t *, struct uuid *); 45 efi_status (*efi_gettab)(const struct uuid *, uint64_t *);
|
/src/sys/arch/arm/arm/ |
efi_runtime.h | 40 efi_status arm_efirt_getvar(uint16_t *, struct uuid *, uint32_t *, 42 efi_status arm_efirt_nextvar(u_long *, uint16_t *, struct uuid *); 43 efi_status arm_efirt_setvar(uint16_t *, struct uuid *, uint32_t,
|
/src/sys/arch/arm/include/ |
efi.h | 34 #include <sys/uuid.h> 51 extern const struct uuid EFI_UUID_ACPI20; 52 extern const struct uuid EFI_UUID_ACPI10; 53 extern const struct uuid EFI_UUID_SMBIOS; 54 extern const struct uuid EFI_UUID_SMBIOS3;
|
/src/lib/libbluetooth/ |
sdp_match.c | 46 sdp_match_uuid16(sdp_data_t *data, uint16_t uuid) 52 u1.time_low = uuid;
|
/src/sys/arch/x86/include/ |
efi.h | 34 #include <sys/uuid.h> 51 extern const struct uuid EFI_UUID_ACPI20; 52 extern const struct uuid EFI_UUID_ACPI10; 53 extern const struct uuid EFI_UUID_SMBIOS; 54 extern const struct uuid EFI_UUID_SMBIOS3; 94 struct uuid *, uint32_t, void *); 96 struct uuid *, void *, void *); 98 struct uuid *, void *); 100 struct uuid *, void **); 102 struct uuid *, void **) [all...] |
/src/usr.bin/uuidgen/ |
uuidgen.c | 65 #include <uuid.h> 80 uuid_t *store, *uuid; local in function:main 133 uuid = store; 135 if (uuidgen(uuid++, 1) != 0) 140 uuid = store; 142 uuid_to_string(uuid++, &p, NULL);
|
/src/sys/arch/ia64/include/ |
efi.h | 34 #include <sys/uuid.h> 49 void *efi_get_table(struct uuid *);
|
/src/sbin/gpt/ |
uuid.c | 36 __RCSID("$NetBSD: uuid.c,v 1.4 2025/02/23 20:47:19 christos Exp $"); 60 "uuid", 70 gpt_uuid_t *uuid; member in struct:uuidctx 80 if (ctx->uuid != NULL) 81 memcpy(uuidstore, ctx->uuid, sizeof(uuidstore)); 111 find.msg = "UUID changed"; 113 /* Get the uuid options */ 115 ctx.uuid = NULL; 121 ctx.uuid = &new_uuid;
|
gpt_uuid.c | 101 gpt_uuid_to_dce(const gpt_uuid_t buf, struct dce_uuid *uuid) 106 uuid->time_low = le32dec(p); 107 uuid->time_mid = le16dec(p + 4); 108 uuid->time_hi_and_version = le16dec(p + 6); 109 uuid->clock_seq_hi_and_reserved = p[8]; 110 uuid->clock_seq_low = p[9]; 111 for (i = 0; i < sizeof(uuid->node); i++) 112 uuid->node[i] = p[10 + i]; 116 gpt_dce_to_uuid(const struct dce_uuid *uuid, uint8_t *buf) 121 le32enc(p, uuid->time_low) [all...] |
/src/sys/arch/x86/x86/ |
efi_machdep.c | 38 #include <sys/uuid.h> 55 const struct uuid EFI_UUID_ACPI20 = EFI_TABLE_ACPI20; 56 const struct uuid EFI_UUID_ACPI10 = EFI_TABLE_ACPI10; 57 const struct uuid EFI_UUID_SMBIOS = EFI_TABLE_SMBIOS; 58 const struct uuid EFI_UUID_SMBIOS3 = EFI_TABLE_SMBIOS3; 64 void efi_aprintuuid(const struct uuid *); 65 bool efi_uuideq(const struct uuid *, const struct uuid *); 130 efi_uuideq(const struct uuid * a, const struct uuid * b [all...] |
/src/sys/external/bsd/drm2/linux/ |
linux_acpi.c | 40 acpi_evaluate_dsm(acpi_handle handle, const guid_t *uuid, u64 rev, u64 func, 55 params[0].Buffer.Pointer = (char *)__UNCONST(uuid); 78 acpi_evaluate_dsm_typed(acpi_handle handle, const guid_t *uuid, u64 rev, 83 obj = acpi_evaluate_dsm(handle, uuid, rev, func, argv4); 99 acpi_check_dsm(acpi_handle handle, const guid_t *uuid, u64 rev, u64 funcs) 108 obj = acpi_evaluate_dsm(handle, uuid, rev, 0, NULL);
|