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 DMakefile36 uuid_compare.3uuid := LINKSRC = uuid_clear.3uuid
37 uuid_copy.3uuid := LINKSRC = uuid_clear.3uuid
38 uuid_generate.3uuid := LINKSRC = uuid_clear.3uuid
39 uuid_generate_random.3uuid := LINKSRC = uuid_clear.3uuid
40 uuid_generate_time.3uuid := LINKSRC = uuid_clear.3uuid
41 uuid_is_null.3uuid := LINKSRC = uuid_clear.3uuid
42 uuid_parse.3uuid := LINKSRC = uuid_clear.3uuid
43 uuid_time.3uuid := LINKSRC = uuid_clear.3uuid
44 uuid_unparse.3uuid := LINKSRC = uuid_clear.3uuid
45 uuid_unparse_lower.3uuid := LINKSRC = uuid_clear.3uuid
[all …]
/illumos-gate/usr/src/lib/libuuid/common/
H A Duuid.c104 uuid_create(struct uuid *uuid) in uuid_create() argument
205 format_uuid(struct uuid *uuid, uint16_t clock_seq, in format_uuid() argument
240 (void) memcpy(&uuid->node_addr, &node, sizeof (uuid->node_addr)); in format_uuid()
356 string_to_struct(struct uuid *uuid, uuid_t in) in string_to_struct() argument
393 struct uuid uuid; in uuid_generate_random() local
399 (void) memset(&uuid, 0, sizeof (struct uuid)); in uuid_generate_random()
426 struct uuid uuid; in uuid_generate_time() local
475 struct uuid uuid; in uuid_unparse_common() local
497 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, clock_seq); in uuid_unparse_common()
557 struct uuid uuid; in uuid_parse() local
[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 *);
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);
77 typedef struct uuid uuid_t;
[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.inc19 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
23 target=uuid_clear.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
28 link path=usr/share/man/man3uuid/uuid_time.3uuid target=uuid_clear.3uuid
29 link path=usr/share/man/man3uuid/uuid_unparse.3uuid target=uuid_clear.3uuid
31 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()
157 bzero(entp->uuid, sizeof (entp->uuid)); in uuid_cache_gc()
225 if (strcmp(uuid, uuid_cache->entry[i].uuid) == 0) in swrp_smf_cache_add()
260 (void) strncpy(entp->uuid, uuid, sizeof (entp->uuid)); in swrp_smf_cache_add()
284 if (entp->uuid[0] == '\0') in swrp_smf_cache_mark()
287 if (uuid && strcmp(uuid, entp->uuid) == 0) { in swrp_smf_cache_mark()
348 char *fmristr, *uuid; in swrp_smf_cacheuuid() local
367 fmd_case_uuclose(hdl, uuid); in swrp_smf_cacheuuid()
429 char *uuid; in swrp_fmd2smf() local
[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()
223 err = cma_cpu_statechange(hdl, asru, uuid, P_ONLINE, in cpu_online()
257 err = cma_cpu_statechange(hdl, asru, uuid, cpustate, in cpu_offline()
285 return (cpu_online(hdl, nvl, asru, uuid, cpuid)); in cpu_statechange()
287 return (cpu_offline(hdl, nvl, asru, uuid, cpuid)); in cpu_statechange()
316 const char *uuid, boolean_t repair) in cma_cpu_cpu_retire() 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()
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()
531 "image %s\n", 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
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()
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()
492 } uuid; in cmd_deletekey() local
499 if (uuid_parse(argv[1], uuid.arr_uuid)) in cmd_deletekey()
502 uuid.tss_uuid, &hKey); in cmd_deletekey()
[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()
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()
477 char *uuid = ""; in sunFmProblemTable_nextpr() local
514 (void) strlcpy(uuid, in sunFmProblemTable_nextpr()
526 "%s; trying next column\n", uuid)); in sunFmProblemTable_nextpr()
568 char *uuid; in sunFmProblemTable_pr() local
[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()
507 uuid[uuid_size] = '\0'; 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
541 uuid_to_string(u, &uuid, &status); in ficlUuidToString()
548 if (uuid != NULL) { in ficlUuidToString()
[all …]

12345