Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 120) sorted by relevance

12345

/illumos-gate/usr/src/man/man3uuid/
H A DMakefile20 MANSECT= 3uuid
22 MANFILES= uuid_clear.3uuid
24 MANLINKS= uuid_compare.3uuid \
25 uuid_copy.3uuid \
26 uuid_generate.3uuid \
27 uuid_generate_random.3uuid \
28 uuid_generate_time.3uuid \
29 uuid_is_null.3uuid \
30 uuid_parse.3uuid \
31 uuid_time.3uuid \
[all …]
/illumos-gate/usr/src/lib/libuuid/common/
H A Duuid.c85 void struct_to_string(uuid_t, struct uuid *);
86 void string_to_struct(struct uuid *, uuid_t);
93 static void format_uuid(struct uuid *, uint16_t, uuid_time_t,
95 static int uuid_create(struct uuid *);
104 uuid_create(struct uuid *uuid) in uuid_create() argument
171 format_uuid(uuid, data->state.clock, timestamp, system_node); in uuid_create()
205 format_uuid(struct uuid *uuid, uint16_t clock_seq, in format_uuid() argument
212 uuid->time_low = (uint32_t)(timestamp & 0xFFFFFFFF); in format_uuid()
213 uuid->time_mid = (uint16_t)((timestamp >> 32) & 0xFFFF); in format_uuid()
214 uuid->time_hi_and_version = (uint16_t)((timestamp >> 48) & 0x0FFF); in format_uuid()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Duuid.h44 struct uuid { struct
59 struct uuid *kern_uuidgen(struct uuid *, size_t); argument
64 int snprintf_uuid(char *, size_t, struct uuid *);
65 int printf_uuid(struct uuid *);
66 int sbuf_printf_uuid(struct sbuf *, struct uuid *);
67 int parse_uuid(const char *, struct uuid *);
69 void be_uuid_dec(void const *buf, struct uuid *uuid);
70 void be_uuid_enc(void *buf, struct uuid const *uuid);
71 void le_uuid_dec(void const *buf, struct uuid *uuid);
72 void le_uuid_enc(void *buf, struct uuid const *uuid);
[all …]
H A Defi.h52 struct uuid ct_uuid;
126 efi_status (*rt_getvar)(efi_char *, struct uuid *, uint32_t *,
128 efi_status (*rt_scanvar)(u_long *, efi_char *, struct uuid *);
129 efi_status (*rt_setvar)(efi_char *, struct uuid *, uint32_t,
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3uuid.inc18 file path=usr/share/man/man3uuid/uuid_clear.3uuid
19 link path=usr/share/man/man3uuid/uuid_compare.3uuid target=uuid_clear.3uuid
20 link path=usr/share/man/man3uuid/uuid_copy.3uuid target=uuid_clear.3uuid
21 link path=usr/share/man/man3uuid/uuid_generate.3uuid target=uuid_clear.3uuid
22 link path=usr/share/man/man3uuid/uuid_generate_random.3uuid \
23 target=uuid_clear.3uuid
24 link path=usr/share/man/man3uuid/uuid_generate_time.3uuid \
25 target=uuid_clear.3uuid
26 link path=usr/share/man/man3uuid/uuid_is_null.3uuid target=uuid_clear.3uuid
27 link path=usr/share/man/man3uuid/uuid_parse.3uuid target=uuid_clear.3uuid
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_response.c79 char uuid[37]; member
153 if (entp->uuid[0] == '\0') in uuid_cache_gc()
156 if (fmd_case_uuisresolved(hdl, entp->uuid)) { in uuid_cache_gc()
157 bzero(entp->uuid, sizeof (entp->uuid)); in uuid_cache_gc()
211 swrp_smf_cache_add(fmd_hdl_t *hdl, char *uuid, char *fmristr) in swrp_smf_cache_add() argument
225 if (strcmp(uuid, uuid_cache->entry[i].uuid) == 0) in swrp_smf_cache_add()
231 if (uuid_cache->entry[i].uuid[0] == '\0') { in swrp_smf_cache_add()
260 (void) strncpy(entp->uuid, uuid, sizeof (entp->uuid)); in swrp_smf_cache_add()
272 swrp_smf_cache_mark(fmd_hdl_t *hdl, char *uuid, char *fmristr) in swrp_smf_cache_mark() argument
284 if (entp->uuid[0] == '\0') in swrp_smf_cache_mark()
[all …]
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_svc.c325 ndr_uuid_unparse(ndr_uuid_t *uuid, char *out) in ndr_uuid_unparse() argument
328 uuid->data1, uuid->data2, uuid->data3, in ndr_uuid_unparse()
329 uuid->data4[0], uuid->data4[1], in ndr_uuid_unparse()
330 uuid->data4[2], uuid->data4[3], in ndr_uuid_unparse()
331 uuid->data4[4], uuid->data4[5], in ndr_uuid_unparse()
332 uuid->data4[6], uuid->data4[7]); in ndr_uuid_unparse()
339 ndr_uuid_parse(char *in, ndr_uuid_t *uuid) in ndr_uuid_parse() argument
349 uuid->data1 = strtoul(p, &p, 16); in ndr_uuid_parse()
354 uuid->data2 = strtol(p, &p, 16); in ndr_uuid_parse()
359 uuid->data3 = strtol(p, &p, 16); in ndr_uuid_parse()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cpu.c88 const char *uuid, boolean_t repair) in cma_cpu_hc_retire() argument
105 return (cma_cpu_cpu_retire(hdl, nvl, asru, uuid, repair)); in cma_cpu_hc_retire()
141 cma_cpu_start_retry(hdl, nvl, uuid, repair); in cma_cpu_hc_retire()
164 const char *uuid, boolean_t repair) in cma_cpu_hc_retire() argument
194 if (cpu_statechange(hdl, nvl, hc_prs[i], uuid, cpuid, repair) in cma_cpu_hc_retire()
217 cpu_online(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_online() argument
223 err = cma_cpu_statechange(hdl, asru, uuid, P_ONLINE, in cpu_online()
247 cpu_offline(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_offline() argument
257 err = cma_cpu_statechange(hdl, asru, uuid, cpustate, in cpu_offline()
281 cpu_statechange(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_statechange() argument
[all …]
/illumos-gate/usr/src/compat/bhyve/
H A Duuid.h44 be32enc(p, ((struct uuid *)uuidp)->time_low); in uuid_enc_le()
45 be16enc(p + 4, ((struct uuid *)uuidp)->time_mid); in uuid_enc_le()
46 be16enc(p + 6, ((struct uuid *)uuidp)->time_hi_and_version); in uuid_enc_le()
47 p[8] = ((struct uuid *)uuidp)->clock_seq_hi_and_reserved; in uuid_enc_le()
48 p[9] = ((struct uuid *)uuidp)->clock_seq_low; in uuid_enc_le()
51 p[10 + i] = ((struct uuid *)uuidp)->node_addr[i]; in uuid_enc_le()
/illumos-gate/usr/src/uts/common/sys/
H A Defi_partition.h47 (1 * (sizeof (struct uuid)))))
72 struct uuid efi_gpt_DiskGUID;
181 struct uuid efi_gpe_PartitionTypeGUID;
182 struct uuid efi_gpe_UniquePartitionGUID;
200 struct uuid p_guid; /* partion type GUID */
204 struct uuid p_uguid; /* unique partition GUID */
221 struct uuid efi_disk_uguid; /* unique disk GUID */
245 struct uuid p_type;
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dinfo.c46 char *uuid = "(absent)"; in info_verb1() local
49 (void) nvlist_lookup_string(rp->rec_nvl, FM_IREPORT_UUID, &uuid); in info_verb1()
52 fmdump_date(buf, sizeof (buf), rp), uuid, rp->rec_class); in info_verb1()
63 char *uuid = "(absent)"; in info_verb23_cmn() local
65 (void) nvlist_lookup_string(rp->rec_nvl, FM_IREPORT_UUID, &uuid); in info_verb23_cmn()
68 fmdump_year(buf, sizeof (buf), rp), rp->rec_nsec, uuid); in info_verb23_cmn()
H A Dasru.c47 char *uuid = "-"; in asru_verb1() local
51 (void) nvlist_lookup_string(rp->rec_nvl, FM_RSRC_ASRU_UUID, &uuid); in asru_verb1()
67 fmdump_date(buf, sizeof (buf), rp), uuid, state + 1); in asru_verb1()
77 char *uuid = "-"; in asru_verb23_cmn() local
81 (void) nvlist_lookup_string(rp->rec_nvl, FM_RSRC_ASRU_UUID, &uuid); in asru_verb23_cmn()
97 fmdump_year(buf, sizeof (buf), rp), rp->rec_nsec, uuid, state + 1); in asru_verb23_cmn()
H A Dfault.c35 char *class = NULL, *uuid = "-", *code = "-"; in flt_short() local
48 (void) nvlist_lookup_string(rp->rec_nvl, FM_SUSPECT_UUID, &uuid); in flt_short()
66 fmdump_date(buf, sizeof (buf), rp), uuid, code); in flt_short()
158 char *class = NULL, *uuid = "-", *code = "-"; in flt_verb23_cmn() local
160 (void) nvlist_lookup_string(rp->rec_nvl, FM_SUSPECT_UUID, &uuid); in flt_verb23_cmn()
179 fmdump_year(buf, sizeof (buf), rp), rp->rec_nsec, uuid, code); in flt_verb23_cmn()
252 char *msg, *uuid = "-", *code = "-"; in flt_msg() local
256 &uuid); in flt_msg()
260 "diagcode %s, event %s: %s\n\n", g_pname, code, uuid, in flt_msg()
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.out29 … 4 = <<This entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = …
38 IMPACT: This entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = …
45 code TEST-8000-08 item 4 = <<This entry tests variable expansion for event payload members: uuid = …
54 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
63 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
70 … 4 = <<This entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = …
79 IMPACT: This entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = …
86 code TEST-8000-08 item 4 = <<This entry tests variable expansion for event payload members: uuid = …
95 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
104 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic_diag.c199 char *dumpdir, *path, *uuid; in swde_panic_solve() local
244 (void) nvlist_lookup_string(attr, "os-instance-uuid", &uuid); in swde_panic_solve()
247 (void) sprintf(path, "%s/.%s", dumpdir, uuid); in swde_panic_solve()
408 char *uuid; in swde_panic_detected() local
418 if (nvlist_lookup_string(attr, "os-instance-uuid", &uuid) != 0) { in swde_panic_detected()
423 fmd_hdl_debug(hdl, "swde_panic_detected: OS instance %s\n", uuid); in swde_panic_detected()
452 if ((cp = swde_case_open(hdl, myid, uuid, SWDE_PANIC_CASEDATA_VERS, in swde_panic_detected()
503 char *uuid; in swde_panic_savecore_done() local
518 if (nvlist_lookup_string(attr, "os-instance-uuid", &uuid) != 0) { in swde_panic_savecore_done()
527 cp = fmd_case_uulookup(hdl, uuid); in swde_panic_savecore_done()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddisk_monitor.c182 char *uuid = NULL; in diskmon_agent_repair() local
190 err |= nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid); in diskmon_agent_repair()
216 fmd_case_uuresolved(hdl, uuid); in diskmon_agent_repair()
223 char *uuid = NULL; in diskmon_agent_suspect() local
231 err |= nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid); in diskmon_agent_suspect()
237 while (nvc-- != 0 && !fmd_case_uuclosed(hdl, uuid)) { in diskmon_agent_suspect()
256 if (!fmd_case_uuclosed(hdl, uuid)) { in diskmon_agent_suspect()
258 fmd_case_uuclose(hdl, uuid); in diskmon_agent_suspect()
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c349 TSS_UUID uuid; member
357 hash_insert(TSS_UUID uuid, TSS_KM_KEYINFO2 *key_data) in hash_insert() argument
363 cp = (char *)&uuid; in hash_insert()
369 if (memcmp(&(node->uuid), &uuid, sizeof (TSS_UUID)) == 0) in hash_insert()
375 node->uuid = uuid; in hash_insert()
406 uuid_unparse(*(uuid_t *)&parent->uuid, uuidstr); in print_all()
429 } uuid; in cmd_keyinfo() local
461 if (uuid_parse(argv[1], uuid.arr_uuid)) in cmd_keyinfo()
464 uuid.tss_uuid, &hKey); in cmd_keyinfo()
467 TSS_PS_TYPE_SYSTEM, uuid.tss_uuid, &hKey); in cmd_keyinfo()
[all …]
H A Dtpmadm.h54 #define UUID_PARSE(str, uuid) uuid_parse(str, *(uuid_t *)&uuid) argument
55 #define UUID_UNPARSE(uuid, str) uuid_unparse(*(uuid_t *)&uuid, str) argument
/illumos-gate/usr/src/boot/common/
H A Dgpt.c94 gptfind(const uuid_t *uuid, struct dsk *dskp, int part) in gptfind() argument
105 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) { in gptfind()
127 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) in gptfind()
141 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) in gptfind()
157 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) in gptfind()
283 gptread_table(const char *which, const uuid_t *uuid, struct dsk *dskp, in gptread_table() argument
321 gptread(const uuid_t *uuid, struct dsk *dskp, char *buf) in gptread() argument
336 gptread_table("primary", uuid, dskp, &hdr_primary, in gptread()
357 gptread_table("backup", uuid, dskp, &hdr_backup, in gptread()
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dproblem.c76 problem_key_build(const char *uuid) in problem_key_build() argument
80 key.d_aci_uuid = uuid; in problem_key_build()
86 problem_lookup_uuid_exact(const char *uuid) in problem_lookup_uuid_exact() argument
90 key = problem_key_build(uuid); in problem_lookup_uuid_exact()
92 DEBUGMSGTL((MODNAME_STR, "lookup_exact for uuid %s\n", uuid)); in problem_lookup_uuid_exact()
99 problem_lookup_uuid_next(const char *uuid) in problem_lookup_uuid_next() argument
104 key = problem_key_build(uuid); in problem_lookup_uuid_next()
106 DEBUGMSGTL((MODNAME_STR, "lookup_next for uuid %s\n", uuid)); in problem_lookup_uuid_next()
477 char *uuid = ""; in sunFmProblemTable_nextpr() local
488 ASN_OCTET_STR, (const uchar_t *)uuid, 0); in sunFmProblemTable_nextpr()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c143 fmd_protocol_list(const char *class, nvlist_t *de_fmri, const char *uuid, in fmd_protocol_list() argument
161 err |= nvlist_add_string(nvl, FM_SUSPECT_UUID, uuid); in fmd_protocol_list()
210 nvlist_t *fmri, const char *uuid, const char *code, in fmd_protocol_rsrc_asru() argument
231 if (uuid != NULL) in fmd_protocol_rsrc_asru()
232 err |= nvlist_add_string(nvl, FM_RSRC_ASRU_UUID, uuid); in fmd_protocol_rsrc_asru()
363 const char *uuid) in fmd_protocol_xprt_uuclose() argument
366 int err = nvlist_add_string(nvl, FM_RSRC_XPRT_UUID, uuid); in fmd_protocol_xprt_uuclose()
376 uint8_t version, const char *uuid) in fmd_protocol_xprt_uuresolved() argument
379 int err = nvlist_add_string(nvl, FM_RSRC_XPRT_UUID, uuid); in fmd_protocol_xprt_uuresolved()
389 const char *uuid, uint8_t *statusp, uint8_t *has_asrup, uint_t nelem) in fmd_protocol_xprt_updated() argument
[all …]
/illumos-gate/usr/src/cmd/acct/lib/
H A Duidtonam.c46 uid_t uuid; member
60 if (uid == up->uuid)
67 up->uuid = uid;
H A Dnamtouid.c41 uid_t uuid; member
57 return(up->uuid);
66 up->uuid = tuid;
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c128 char *uuid; in rio_recv() local
289 if (nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid) == 0 && in rio_recv()
290 !fmd_case_uuclosed(hdl, uuid)) { in rio_recv()
291 fmd_case_uuclose(hdl, uuid); in rio_recv()
300 nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid) == 0) in rio_recv()
301 fmd_case_uuresolved(hdl, uuid); in rio_recv()
/illumos-gate/usr/src/common/ficl/
H A Dloader.c488 char *uuid; in ficlUuidFromString() local
503 uuid = ficlMalloc(uuid_size + 1); in ficlUuidFromString()
504 if (!uuid) in ficlUuidFromString()
506 (void) memcpy(uuid, uuid_ptr, uuid_size); in ficlUuidFromString()
507 uuid[uuid_size] = '\0'; in ficlUuidFromString()
511 uuid_from_string(uuid, u, &status); in ficlUuidFromString()
512 ficlFree(uuid); in ficlUuidFromString()
518 status = uuid_parse(uuid, *u); in ficlUuidFromString()
519 ficlFree(uuid); in ficlUuidFromString()
531 char *uuid; in ficlUuidToString() local
[all …]

12345