HomeSort by: relevance | last modified time | path
    Searched refs:uuid (Results 1 - 25 of 351) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/kern/
kern_uuid.c 41 #include <sys/uuid.h>
49 CTASSERT(sizeof(struct uuid) == 16);
52 uuid_generate(struct uuid *uuid)
56 cprng_fast(uuid, sizeof(*uuid));
59 uuid->time_hi_and_version &= ~(uint32_t)0xf000;
60 uuid->time_hi_and_version |= 0x4000;
63 uuid->clock_seq_hi_and_reserved &= ~(uint8_t)0x40;
64 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...]
  /src/external/bsd/iscsi/dist/src/lib/
uuid.c 1 /* $NetBSD: uuid.c,v 1.2 2009/06/30 02:44:52 agc Exp $ */
57 nbuuid_create(nbuuid_t *uuid, uint32_t *status)
64 uuid->time_low = (int)t;
65 uuid->time_mid = (uint16_t)(random() & 0xffff);
66 uuid->time_hi_and_version = (uint16_t)(random() & 0xffff);
67 uuid->clock_seq_low = (uint8_t)(random() & 0xff);
68 uuid->clock_seq_hi_and_reserved = (uint8_t)(random() & 0xff);
69 (void) memcpy(&uuid->node, &ether, sizeof(uuid->node));
75 nbuuid_to_string(nbuuid_t *uuid, char **str, uint32_t *status
    [all...]
  /src/external/mit/libuv/dist/src/unix/
random-sysctl-linux.c 46 char uuid[16]; local
59 args.oldval = uuid;
61 n = sizeof(uuid);
80 if (n != sizeof(uuid))
83 /* uuid[] is now a type 4 UUID. Bytes 6 and 8 (counting from zero) contain
87 uuid[6] = uuid[14];
88 uuid[8] = uuid[15]
    [all...]
  /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/external/bsd/wpa/dist/src/utils/
uuid.h 2 * Universally Unique IDentifier (UUID)
16 int is_nil_uuid(const u8 *uuid);
17 int uuid_random(u8 *uuid);
uuid.c 2 * Universally Unique IDentifier (UUID)
13 #include "uuid.h"
65 int is_nil_uuid(const u8 *uuid)
69 if (uuid[i])
75 int uuid_random(u8 *uuid)
81 * os_get_random() output in the UUID field. */
83 if (os_get_random(uuid, UUID_LEN) < 0 ||
84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0)
87 os_memcpy(uuid, hash, UUID_LEN);
90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f)
    [all...]
  /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 32 #include <sys/uuid.h>
300 * UUID routines
303 uuid_scanf(struct uuid *uuid, const char *str)
308 &uuid->time_low, &uuid->time_mid, &uuid->time_hi_and_version,
309 &uuid->clock_seq_hi_and_reserved, &uuid->clock_seq_low,
310 &uuid->node[0], &uuid->node[1], &uuid->node[2], &uuid->node[3]
    [all...]
  /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/external/gpl2/lvm2/dist/liblvm/
lvm_pv.c 24 char uuid[64] __attribute((aligned(8)));
26 if (!id_write_format(&pv->id, uuid, sizeof(uuid))) {
27 log_error("Internal error converting uuid");
30 return strndup((const char *)uuid, 64);
  /src/external/gpl2/lvm2/dist/daemons/cmirrord/
cluster.h 54 int create_cluster_cpg(char *uuid, uint64_t luid);
55 int destroy_cluster_cpg(char *uuid);
functions.h 27 int push_state(const char *uuid, uint64_t luid,
29 int pull_state(const char *uuid, uint64_t luid,
  /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/external/gpl2/lvm2/dist/lib/uuid/
uuid.c 1 /* $NetBSD: uuid.c,v 1.1.1.3 2009/12/02 00:26:49 haad Exp $ */
19 #include "uuid.h"
40 void uuid_from_num(char *uuid, uint32_t num)
45 uuid[i - 1] = _c[num % (sizeof(_c) - 1)];
57 lvid->id[1].uuid[i - 1] = _c[lv_num % (sizeof(_c) - 1)];
73 if ((c = strchr(_c, lvid->id[1].uuid[i])))
87 if (lvid->id[1].uuid[i] != '0')
91 if (!isdigit(lvid->id[1].uuid[i]))
101 size_t len = sizeof(id->uuid);
103 memset(id->uuid, 0, len)
    [all...]
  /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/crypto/external/cpl/trousers/dist/src/tspi/
tsp_ps.c 63 ps_get_registered_keys(TSS_UUID *uuid, TSS_UUID *tcs_uuid, UINT32 *size, TSS_KM_KEYINFO **keys)
71 result = psfile_get_registered_keys(fd, uuid, tcs_uuid, size, keys);
79 ps_get_registered_keys2(TSS_UUID *uuid, TSS_UUID *tcs_uuid, UINT32 *size, TSS_KM_KEYINFO2 **keys)
87 /* Sets the proper TSS_KM_KEYINFO2 fields according to the UUID type */
88 result = psfile_get_registered_keys2(fd, uuid, tcs_uuid, size, keys);
96 ps_is_key_registered(TSS_UUID *uuid, TSS_BOOL *answer)
104 result = psfile_is_key_registered(fd, uuid, answer);
112 ps_write_key(TSS_UUID *uuid, TSS_UUID *parent_uuid, UINT32 parent_ps, UINT32 blob_size, BYTE *blob)
126 result = psfile_write_key(fd, uuid, parent_uuid, parent_ps, blob, short_blob_size);
134 ps_remove_key(TSS_UUID *uuid)
154 TSS_UUID uuid; local
    [all...]
  /src/crypto/external/cpl/trousers/dist/src/tcs/
tcs_key_ps.c 71 TSS_UUID *uuid; local
79 if ((rc = psfile_get_uuid_by_pub(fd, pub, &uuid))) {
86 if ((isUUIDRegistered(uuid, &is_reg)))
89 free(uuid);
94 getParentUUIDByUUID(TSS_UUID *uuid, TSS_UUID *ret_uuid)
103 !memcmp(&disk_tmp->uuid, uuid, sizeof(TSS_UUID))) {
115 isUUIDRegistered(TSS_UUID *uuid, TSS_BOOL *is_reg)
124 !memcmp(&disk_tmp->uuid, uuid, sizeof(TSS_UUID)))
    [all...]
  /src/usr.bin/uuidgen/
uuidgen.c 65 #include <uuid.h>
80 uuid_t *store, *uuid; local
133 uuid = store;
135 if (uuidgen(uuid++, 1) != 0)
140 uuid = store;
142 uuid_to_string(uuid++, &p, NULL);

Completed in 27 milliseconds

1 2 3 4 5 6 7 8 91011>>