/illumos-gate/usr/src/boot/common/ |
H A D | gpt.c | 94 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()
|
H A D | gpt.h | 33 int gptread(const uuid_t *uuid, struct dsk *dskp, char *buf); 34 int gptfind(const uuid_t *uuid, struct dsk *dskp, int part);
|
H A D | part.c | 133 uuid_letoh(uuid_t *uuid) in uuid_letoh() argument 136 uuid->time_low = le32toh(uuid->time_low); in uuid_letoh() 137 uuid->time_mid = le16toh(uuid->time_mid); in uuid_letoh() 138 uuid->time_hi_and_version = le16toh(uuid->time_hi_and_version); in uuid_letoh()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | env.c | 1321 char *uuid, *var, *val; in command_efi_set() local 1332 uuid = argv[1]; in command_efi_set() 1335 if (efi_name_to_guid(uuid, &guid) == false) { in command_efi_set() 1336 printf("Invalid uuid %s\n", uuid); in command_efi_set() 1350 printf("would set %s %s = %s\n", uuid, var, val); in command_efi_set() 1361 char *uuid, *var; in command_efi_unset() local 1372 uuid = argv[1]; in command_efi_unset() 1374 if (efi_name_to_guid(uuid, &guid) == false) { in command_efi_unset() 1375 printf("Invalid uuid %s\n", uuid); in command_efi_unset() 1387 printf("would unset %s %s \n", uuid, var); in command_efi_unset()
|
/illumos-gate/usr/src/boot/i386/pmbr/ |
H A D | pmbr.s | 168 disk_uuid: .quad 0 # uuid
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | Makefile.com | 52 pics/%.o objs/%.o: $(SASRC)/uuid/%.c
|
H A D | Makefile.inc | 72 SRCS += $(SASRC)/uuid/uuid_create_nil.c 73 SRCS += $(SASRC)/uuid/uuid_equal.c 74 SRCS += $(SASRC)/uuid/uuid_is_nil.c
|
H A D | smbios.c | 210 char uuid[37]; in smbios_setuuid() local 257 sprintf(uuid, in smbios_setuuid() 263 setenv(name, uuid, 1); in smbios_setuuid()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | efi.h | 52 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,
|
H A D | gpt.h | 44 struct uuid hdr_uuid; 60 struct uuid ent_type; 61 struct uuid ent_uuid;
|
H A D | uuid.h | 44 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 …]
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | namtouid.c | 41 uid_t uuid; member 57 return(up->uuid); 66 up->uuid = tuid;
|
H A D | uidtonam.c | 46 uid_t uuid; member 60 if (uid == up->uuid) 67 up->uuid = uid;
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | smbiostbl.c | 164 uint8_t uuid[16]; /* uuid byte array */ member 674 uuid_t uuid; in smbios_type1_initializer() local 677 uuid_from_string(guest_uuid_str, &uuid, &status); in smbios_type1_initializer() 683 uuid_enc_le(&type1->uuid, &uuid); in smbios_type1_initializer() 712 memcpy(&type1->uuid, digest, sizeof (digest)); in smbios_type1_initializer()
|
H A D | vmgenc.c | 69 error = getentropy(region, sizeof(struct uuid)); in vmgenc_init()
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 897 char uuid[UUID_PRINTABLE_STRING_LENGTH]; in print_stage1_cb() local 906 uuid); in print_stage1_cb() 908 printf("Loader STAGE1_STAGE2_UUID: %s\n", uuid); in print_stage1_cb() 1889 prepare_stage1(struct partlist *stage1, struct partlist *stage2, uuid_t uuid) in prepare_stage1() argument 1913 bcopy(uuid, dest + STAGE1_STAGE2_UUID, UUID_LEN); in prepare_stage1() 1994 uuid_t uuid; in prepare_bblocks() local 2000 uuid_generate(uuid); in prepare_bblocks() 2031 prepare_stage1(stage1, stage2, uuid); in prepare_bblocks() 2047 prepare_stage1(mbr, stage2, uuid); in prepare_bblocks()
|
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 349 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 D | tpmadm.h | 54 #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/cmd/fm/dicts/ |
H A D | SUNOS.po | 329 …then please take steps to preserve the crash image.\nUse 'fmdump -Vp -u %<uuid>' to view more pani…
|
H A D | TEST.po | 38 msgstr "This entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = …
|
/illumos-gate/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 181 char *uuid; member 190 char *uuid; member 853 uurec_p->uuid = strdup(uuid); in add_fault_record_to_catalog() 875 if (strcmp(uuid, uurp->uuid) == 0) { in update_asru_state_in_catalog() 1210 uurp->uuid); in print_sup_record() 1490 print_fru_line(fru, uurp->uuid); in print_fru() 1594 if (strcmp(uuid, uurecp->uuid) == 0) in uuid_in_list() 1607 char *uuid = "-"; in dfault_rec() local 1613 &uuid); in dfault_rec() 1616 uuid); in dfault_rec() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 1072 uuid_t uuid; in fmd_case_open_uuid() local 1083 } else if (uuid_parse((char *)uuidstr, uuid) == -1) { in fmd_case_open_uuid() 1145 const char *uuid = cip->ci_uuid; in fmd_case_uuid() local 1148 return (uuid); in fmd_case_uuid() 1152 fmd_case_uulookup(fmd_hdl_t *hdl, const char *uuid) in fmd_case_uulookup() argument 1155 fmd_case_t *cp = fmd_case_hash_lookup(fmd.d_cases, uuid); in fmd_case_uulookup() 1168 fmd_case_uuclose(fmd_hdl_t *hdl, const char *uuid) in fmd_case_uuclose() argument 1171 fmd_case_t *cp = fmd_case_hash_lookup(fmd.d_cases, uuid); in fmd_case_uuclose() 1182 fmd_case_uuclosed(fmd_hdl_t *hdl, const char *uuid) in fmd_case_uuclosed() argument 1199 fmd_case_uuresolved(fmd_hdl_t *hdl, const char *uuid) in fmd_case_uuresolved() argument [all …]
|
H A D | fmd_asru.c | 78 fmd_asru_create(fmd_asru_hash_t *ahp, const char *uuid, in fmd_asru_create() argument 91 ap->asru_uuid = fmd_strdup(uuid, FMD_SLEEP); in fmd_asru_create() 601 fmd_asru_hash_discard(fmd_asru_hash_t *ahp, const char *uuid, int err) in fmd_asru_hash_discard() argument 605 (void) snprintf(src, PATH_MAX, "%s/%s", ahp->ah_dirpath, uuid); in fmd_asru_hash_discard() 606 (void) snprintf(dst, PATH_MAX, "%s/%s-", ahp->ah_dirpath, uuid); in fmd_asru_hash_discard() 624 fmd_asru_hash_logopen(fmd_asru_hash_t *ahp, const char *uuid) in fmd_asru_hash_logopen() argument 630 fmd_asru_hash_discard(ahp, uuid, errno); in fmd_asru_hash_logopen() 641 fmd_asru_hash_discard(ahp, uuid, ahp->ah_error); in fmd_asru_hash_logopen() 1058 uuid_t uuid; in fmd_asru_hash_create_entry() local 1069 uuid_generate(uuid); in fmd_asru_hash_create_entry() [all …]
|
H A D | fmd_case.c | 1150 fmd_case_hash_lookup(fmd_case_hash_t *chp, const char *uuid) in fmd_case_hash_lookup() argument 1156 h = fmd_strhash(uuid) % chp->ch_hashlen; in fmd_case_hash_lookup() 1159 if (strcmp(cip->ci_uuid, uuid) == 0) in fmd_case_hash_lookup() 1253 uuid_t uuid; in fmd_case_create() local 1284 uuid_generate(uuid); in fmd_case_create() 1285 uuid_unparse(uuid, cip->ci_uuid); in fmd_case_create() 1342 uint_t state, const char *uuid, const char *code) in fmd_case_recreate() argument 1355 cip->ci_uuid = fmd_strdup(uuid, FMD_SLEEP); in fmd_case_recreate()
|
H A D | fmd_ckpt.c | 1034 const char *uuid = fmd_ckpt_strptr(ckp, fcfc->fcfc_uuid, NULL); in fmd_ckpt_restore_case() local 1038 if (uuid == NULL || fcfc->fcfc_state > FCF_CASE_CLOSE_WAIT) { in fmd_ckpt_restore_case() 1047 FMD_CASE_UNSOLVED, uuid, NULL)) == NULL) { in fmd_ckpt_restore_case() 1049 "duplicate case uuid: %s\n", uuid); in fmd_ckpt_restore_case()
|