Home
last modified time | relevance | path

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

12345

/titanic_41/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 …]
/titanic_41/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 …]
H A Duuid_misc.c60 void struct_to_string(uuid_t, struct uuid *);
61 void string_to_struct(struct uuid *, uuid_t);
138 struct uuid uuid1, uuid2; in uuid_compare()
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_state.c73 const char *uuid = fmd_case_uuid(hdl, cp); in gmem_case_redirect() local
76 fmd_buf_read(hdl, cp, uuid, &ptr, sizeof (gmem_case_ptr_t)); in gmem_case_redirect()
77 fmd_hdl_debug(hdl, "redirecting case %s from %d to %d\n", uuid, in gmem_case_redirect()
80 fmd_buf_write(hdl, cp, uuid, &ptr, sizeof (gmem_case_ptr_t)); in gmem_case_redirect()
86 const char *uuid = fmd_case_uuid(hdl, cp); in gmem_case_fini() local
90 fmd_hdl_debug(hdl, "closing case %s\n", uuid); in gmem_case_fini()
92 if (fmd_serd_exists(hdl, uuid)) in gmem_case_fini()
93 fmd_serd_destroy(hdl, uuid); in gmem_case_fini()
95 if (fmd_buf_size(hdl, cp, uuid) != 0) in gmem_case_fini()
96 fmd_buf_destroy(hdl, cp, uuid); in gmem_case_fini()
[all …]
/titanic_41/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_state.c142 const char *uuid = fmd_case_uuid(hdl, cp); in cmd_case_redirect() local
145 fmd_buf_read(hdl, cp, uuid, &ptr, sizeof (cmd_case_ptr_t)); in cmd_case_redirect()
146 fmd_hdl_debug(hdl, "redirecting case %s from %d to %d\n", uuid, in cmd_case_redirect()
149 fmd_buf_write(hdl, cp, uuid, &ptr, sizeof (cmd_case_ptr_t)); in cmd_case_redirect()
155 const char *uuid = fmd_case_uuid(hdl, cp); in cmd_case_fini() local
159 fmd_hdl_debug(hdl, "closing case %s\n", uuid); in cmd_case_fini()
161 if (fmd_serd_exists(hdl, uuid)) in cmd_case_fini()
162 fmd_serd_destroy(hdl, uuid); in cmd_case_fini()
164 if (fmd_buf_size(hdl, cp, uuid) != 0) in cmd_case_fini()
165 fmd_buf_destroy(hdl, cp, uuid); in cmd_case_fini()
[all …]
/titanic_41/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_svc.c326 ndr_uuid_unparse(ndr_uuid_t *uuid, char *out) in ndr_uuid_unparse() argument
329 uuid->data1, uuid->data2, uuid->data3, in ndr_uuid_unparse()
330 uuid->data4[0], uuid->data4[1], in ndr_uuid_unparse()
331 uuid->data4[2], uuid->data4[3], in ndr_uuid_unparse()
332 uuid->data4[4], uuid->data4[5], in ndr_uuid_unparse()
333 uuid->data4[6], uuid->data4[7]); in ndr_uuid_unparse()
340 ndr_uuid_parse(char *in, ndr_uuid_t *uuid) in ndr_uuid_parse() argument
350 uuid->data1 = strtoul(p, &p, 16); in ndr_uuid_parse()
355 uuid->data2 = strtol(p, &p, 16); in ndr_uuid_parse()
360 uuid->data3 = strtol(p, &p, 16); in ndr_uuid_parse()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cpu.c86 const char *uuid, boolean_t repair) in cma_cpu_hc_retire() argument
103 return (cma_cpu_cpu_retire(hdl, nvl, asru, uuid, repair)); in cma_cpu_hc_retire()
139 cma_cpu_start_retry(hdl, nvl, uuid, repair); in cma_cpu_hc_retire()
162 const char *uuid, boolean_t repair) in cma_cpu_hc_retire() argument
192 if (cpu_statechange(hdl, nvl, hc_prs[i], uuid, cpuid, repair) in cma_cpu_hc_retire()
215 cpu_online(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_online() argument
221 err = cma_cpu_statechange(hdl, asru, uuid, P_ONLINE, in cpu_online()
245 cpu_offline(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_offline() argument
255 err = cma_cpu_statechange(hdl, asru, uuid, cpustate, in cpu_offline()
279 cpu_statechange(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_statechange() argument
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Defi_partition.h45 (1 * (sizeof (struct uuid)))))
60 struct uuid efi_gpt_DiskGUID;
161 struct uuid efi_gpe_PartitionTypeGUID;
162 struct uuid efi_gpe_UniquePartitionGUID;
180 struct uuid p_guid; /* partion type GUID */
184 struct uuid p_uguid; /* unique partition GUID */
201 struct uuid efi_disk_uguid; /* unique disk GUID */
225 struct uuid p_type;
/titanic_41/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()
/titanic_41/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 =…
/titanic_41/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic_diag.c200 char *dumpdir, *path, *uuid; in swde_panic_solve() local
245 (void) nvlist_lookup_string(attr, "os-instance-uuid", &uuid); in swde_panic_solve()
248 (void) sprintf(path, "%s/.%s", dumpdir, uuid); in swde_panic_solve()
409 char *uuid; in swde_panic_detected() local
419 if (nvlist_lookup_string(attr, "os-instance-uuid", &uuid) != 0) { in swde_panic_detected()
424 fmd_hdl_debug(hdl, "swde_panic_detected: OS instance %s\n", uuid); in swde_panic_detected()
453 if ((cp = swde_case_open(hdl, myid, uuid, SWDE_PANIC_CASEDATA_VERS, in swde_panic_detected()
504 char *uuid; in swde_panic_savecore_done() local
519 if (nvlist_lookup_string(attr, "os-instance-uuid", &uuid) != 0) { in swde_panic_savecore_done()
528 cp = fmd_case_uulookup(hdl, uuid); in swde_panic_savecore_done()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddisk_monitor.c177 char *uuid = NULL; in diskmon_agent_repair() local
185 err |= nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid); in diskmon_agent_repair()
211 fmd_case_uuresolved(hdl, uuid); in diskmon_agent_repair()
218 char *uuid = NULL; in diskmon_agent_suspect() local
226 err |= nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid); in diskmon_agent_suspect()
232 while (nvc-- != 0 && !fmd_case_uuclosed(hdl, uuid)) { in diskmon_agent_suspect()
251 if (!fmd_case_uuclosed(hdl, uuid)) { in diskmon_agent_suspect()
253 fmd_case_uuclose(hdl, uuid); in diskmon_agent_suspect()
/titanic_41/usr/src/cmd/cmd-crypto/tpmadm/
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
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 …]
/titanic_41/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 …]
H A Dfmd_xprt.c651 char *uuid; in fmd_xprt_event_uuclose() local
656 if (nvlist_lookup_string(nvl, FM_RSRC_XPRT_UUID, &uuid) == 0 && in fmd_xprt_event_uuclose()
657 (cp = fmd_case_hash_lookup(fmd.d_cases, uuid)) != NULL) { in fmd_xprt_event_uuclose()
674 char *uuid; in fmd_xprt_event_uuresolved() local
679 if (nvlist_lookup_string(nvl, FM_RSRC_XPRT_UUID, &uuid) == 0 && in fmd_xprt_event_uuresolved()
680 (cp = fmd_case_hash_lookup(fmd.d_cases, uuid)) != NULL) { in fmd_xprt_event_uuresolved()
697 char *uuid; in fmd_xprt_event_updated() local
702 if (nvlist_lookup_string(nvl, FM_RSRC_XPRT_UUID, &uuid) == 0 && in fmd_xprt_event_updated()
703 (cp = fmd_case_hash_lookup(fmd.d_cases, uuid)) != NULL) { in fmd_xprt_event_updated()
1222 char *uuid, *code; in fmd_xprt_list_suspect() local
[all …]
/titanic_41/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()
479 char *uuid = ""; in sunFmProblemTable_nextpr() local
490 ASN_OCTET_STR, (const uchar_t *)uuid, 0); in sunFmProblemTable_nextpr()
[all …]
/titanic_41/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;
/titanic_41/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()
/titanic_41/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c273 send_fm_trap(const char *uuid, const char *code, const char *url) in send_fm_trap() argument
287 size_t uuid_len = strlen(uuid); in send_fm_trap()
313 var_name[i + sunFmProblem_base_len + 1] = (oid)uuid[i]; in send_fm_trap()
326 ASN_OCTET_STR, (uchar_t *)uuid, strlen(uuid)); in send_fm_trap()
439 char *uuid; in list_cb() local
485 &uuid); in list_cb()
488 send_fm_trap(uuid, ev_info->ei_diagcode, ev_info->ei_url); in list_cb()
490 nd_error(nhdl, "failed to format url for %s", uuid); in list_cb()

12345