/netbsd-6-1-5-RELEASE/lib/libc/uuid/ |
H A D | Makefile.inc | 5 .PATH: ${.CURDIR}/uuid 11 MAN+= uuid.3 13 MLINKS+=uuid.3 uuid_compare.3 14 MLINKS+=uuid.3 uuid_create.3 15 MLINKS+=uuid.3 uuid_create_nil.3 16 MLINKS+=uuid.3 uuid_equal.3 17 MLINKS+=uuid.3 uuid_from_string.3 18 MLINKS+=uuid.3 uuid_hash.3 19 MLINKS+=uuid.3 uuid_is_nil.3 20 MLINKS+=uuid [all...] |
H A D | uuid_stream.c | 37 #include <uuid.h> 60 uuid_enc_le(void *buf, const uuid_t *uuid) argument 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) argument 80 uuid 90 uuid_enc_be(void *buf, const uuid_t *uuid) argument 105 uuid_dec_be(const void *buf, uuid_t *uuid) argument [all...] |
H A D | 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>
|
H A D | 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>
|
H A D | 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>
|
H A D | 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>
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | uuid.h | 1 /* $NetBSD: uuid.h,v 1.4 2007/07/09 21:11:34 ad Exp $ */ 28 * $FreeBSD: /repoman/r/ncvs/src/sys/sys/uuid.h,v 1.3 2003/05/31 16:47:07 phk Exp $ 49 struct uuid { struct 63 int uuid_snprintf(char *, size_t, const struct uuid *); 64 int uuid_printf(const struct uuid *); 65 void uuid_dec_be(const void *, struct uuid *); 66 void uuid_dec_le(const void *, struct uuid *); 67 void uuid_enc_be(void *, const struct uuid *); 68 void uuid_enc_le(void *, const struct uuid *); 70 int uuidgen(struct uuid *, in [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/lib/ |
H A D | uuid.c | 1 /* $NetBSD: uuid.c,v 1.4 2009/06/23 05:11:47 agc Exp $ */ 57 nbuuid_create(nbuuid_t *uuid, uint32_t *status) argument 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, ðer, sizeof(uuid->node)); 75 nbuuid_to_string(nbuuid_t *uuid, cha argument [all...] |
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | kern_uuid.c | 40 #include <sys/uuid.h> 62 CTASSERT(sizeof(struct uuid) == 16); 156 uuid_generate(struct uuid_private *uuid, uint64_t *timep, int count) argument 162 uuid_node(uuid->node); 166 if (uuid_last.time.ll == 0LL || uuid_last.node[0] != uuid->node[0] || 167 uuid_last.node[1] != uuid->node[1] || 168 uuid_last.node[2] != uuid->node[2]) 169 uuid->seq = (uint16_t)cprng_fast32() & 0x3fff; 171 uuid->seq = (uuid_last.seq + 1) & 0x3fff; 173 uuid 184 struct uuid_private uuid; local 235 uuid_snprintf(char *buf, size_t sz, const struct uuid *uuid) argument 248 uuid_printf(const struct uuid *uuid) argument 275 uuid_enc_le(void *buf, const struct uuid *uuid) argument 290 uuid_dec_le(void const *buf, struct uuid *uuid) argument 305 uuid_enc_be(void *buf, const struct uuid *uuid) argument 320 uuid_dec_be(void const *buf, struct uuid *uuid) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/liblvm/ |
H A D | 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);
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/daemons/cmirrord/ |
H A D | cluster.h | 54 int create_cluster_cpg(char *uuid, uint64_t luid); 55 int destroy_cluster_cpg(char *uuid);
|
H A D | functions.h | 27 int push_state(const char *uuid, uint64_t luid, 29 int pull_state(const char *uuid, uint64_t luid,
|
H A D | functions.c | 65 char uuid[DM_UUID_LEN]; member in struct:log_c 162 static struct log_c *get_log(const char *uuid, uint64_t luid) argument 167 if (!strcmp(lc->uuid, uuid) && 182 static struct log_c *get_pending_log(const char *uuid, uint64_t luid) argument 187 if (!strcmp(lc->uuid, uuid) && 211 SHORT_UUID(lc->uuid), strerror(errno)); 219 SHORT_UUID(lc->uuid), strerror(errno)); 229 SHORT_UUID(lc->uuid), strerro 369 _clog_ctr(char *uuid, uint64_t luid, int argc, char **argv, uint64_t device_size) argument 700 cluster_postsuspend(char *uuid, uint64_t luid) argument 1679 push_state(const char *uuid, uint64_t luid, const char *which, char **buf, uint32_t debug_who) argument 1739 pull_state(const char *uuid, uint64_t luid, const char *which, char *buf, int size) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/uuid/ |
H A D | uuid.c | 19 #include "uuid.h" 40 void uuid_from_num(char *uuid, uint32_t num) argument 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); 104 if (!read_urandom(&id->uuid, le [all...] |
H A D | uuid.h | 25 int8_t uuid[ID_LEN]; member in struct:id 30 * With format1 this is VG uuid + LV uuid + '\0' + padding 41 void uuid_from_num(char *uuid, uint32_t num); 50 * of the uuid. 55 * Reads a formatted uuid.
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/ |
H A D | uuid.h | 22 int is_nil_uuid(const u8 *uuid);
|
H A D | uuid.c | 18 #include "uuid.h" 70 int is_nil_uuid(const u8 *uuid) argument 74 if (uuid[i])
|
/netbsd-6-1-5-RELEASE/lib/libbluetooth/ |
H A D | sdp_match.c | 46 sdp_match_uuid16(sdp_data_t *data, uint16_t uuid) argument 52 u1.time_low = uuid;
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tsp_ps.c | 63 ps_get_registered_keys(TSS_UUID *uuid, TSS_UUID *tcs_uuid, UINT32 *size, TSS_KM_KEYINFO **keys) argument 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) argument 88 result = psfile_get_registered_keys2(fd, uuid, tcs_uuid, size, keys); 96 ps_is_key_registered(TSS_UUID *uuid, TSS_BOOL *answer) argument 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) argument 126 result = psfile_write_key(fd, uuid, parent_uuid, parent_ps, blob, short_blob_size); 134 ps_remove_key(TSS_UUID *uuid) argument 142 result = psfile_remove_key(fd, uuid); 154 TSS_UUID uuid; local 172 ps_get_key_by_uuid(TSS_HCONTEXT tspContext, TSS_UUID *uuid, TSS_HKEY *hKey) argument 194 ps_get_parent_uuid_by_uuid(TSS_UUID *uuid, TSS_UUID *parent_uuid) argument 209 ps_get_parent_ps_type_by_uuid(TSS_UUID *uuid, UINT32 *type) argument [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | 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) argument 103 !memcmp(&disk_tmp->uuid, uuid, sizeof(TSS_UUID))) { 115 isUUIDRegistered(TSS_UUID *uuid, TSS_BOOL *is_reg) argument 124 !memcmp(&disk_tmp->uuid, uuid, sizeo 161 ps_remove_key(TSS_UUID *uuid) argument 249 ps_get_key_by_uuid(TSS_UUID *uuid, BYTE *blob, UINT16 *blob_size) argument 312 ps_get_uuid_by_pub(TCPA_STORE_PUBKEY *pub, TSS_UUID **uuid) argument 342 ps_write_key(TSS_UUID *uuid, TSS_UUID *parent_uuid, BYTE *vendor_data, UINT32 vendor_size, BYTE *blob, UINT32 blob_size) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/dm/ |
H A D | dm_ioctl.c | 194 * Create in-kernel entry for device. Device attributes such as name, uuid are 202 const char *name, *uuid; local 209 uuid = NULL; 213 prop_dictionary_get_cstring_nocopy(dm_dict, DM_IOCTL_UUID, &uuid); 218 /* Lookup name and uuid if device already exist quit. */ 219 if ((dmv = dm_dev_lookup(name, uuid, -1)) != NULL) { 231 if (uuid) 232 strncpy(dmv->uuid, uuid, DM_UUID_LEN); 234 dmv->uuid[ 326 const char *name, *uuid, *n_name; local 376 const char *name, *uuid; local 417 const char *name, *uuid; local 472 const char *name, *uuid; local 511 const char *name, *uuid; local 568 const char *name, *uuid; local 613 const char *name, *uuid; local 688 const char *name, *uuid, *type; local 847 const char *name, *uuid; local [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/uuidgen/ |
H A D | 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);
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/ |
H A D | uuid.h | 25 int8_t uuid[ID_LEN]; member in struct:id 30 * With format1 this is VG uuid + LV uuid + '\0' + padding 41 void uuid_from_num(char *uuid, uint32_t num); 50 * of the uuid. 55 * Reads a formatted uuid.
|
/netbsd-6-1-5-RELEASE/sys/arch/ia64/include/ |
H A D | efi.h | 34 #include <sys/uuid.h> 54 struct uuid ct_uuid; 128 efi_status (*rt_getvar)(efi_char *, struct uuid *, uint32_t *, 130 efi_status (*rt_scanvar)(u_long *, efi_char *, struct uuid *); 131 efi_status (*rt_setvar)(efi_char *, struct uuid *, uint32_t, 158 void *efi_get_table(struct uuid *);
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/ |
H A D | pvcreate.c | 23 * These args are: --restorefile, --uuid, and --physicalvolumesize 32 const char *uuid = NULL; local 37 log_error("--uuid is required with --restorefile"); 42 log_error("Can only set uuid on one volume at once"); 47 uuid = arg_str_value(cmd, uuidstr_ARG, ""); 48 if (!id_read_format(&pp->id, uuid)) 55 /* The uuid won't already exist */ 62 log_error("Can't find uuid %s in backup file %s", 63 uuid, pp->restorefile);
|