Searched refs:guid (Results 1 - 25 of 114) sorted by relevance

12345

/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defizfs.c52 efizfs_get_handle_by_guid(uint64_t guid) argument
57 if (zi->zi_pool_guid == guid) {
65 efizfs_get_guid_by_handle(EFI_HANDLE handle, uint64_t *guid) argument
69 if (guid == NULL)
73 *guid = zi->zi_pool_guid;
81 insert_zfs(EFI_HANDLE handle, uint64_t guid) argument
87 zi->zi_pool_guid = guid;
97 uint64_t guid; local
114 if (zfs_probe_dev(devname, &guid) == 0) {
115 insert_zfs(pd->pd_handle, guid);
[all...]
H A Denv.c285 efi_guid_to_str(const EFI_GUID *guid, char **sp) argument
289 uuid_to_string((const uuid_t *)guid, sp, &status);
294 efi_str_to_guid(const char *s, EFI_GUID *guid) argument
298 uuid_from_string(s, (uuid_t *)guid, &status);
303 efi_name_to_guid(const char *name, EFI_GUID *guid) argument
309 *guid = efi_uuid_mapping[i].efi_guid;
313 return (efi_str_to_guid(name, guid));
317 efi_guid_to_name(EFI_GUID *guid, char **name) argument
323 rv = uuid_equal((uuid_t *)guid,
332 return (efi_guid_to_str(guid, nam
937 EFI_GUID guid; local
976 EFI_GUID guid; local
1034 char *value = NULL, *guid = NULL; local
[all...]
/illumos-gate/usr/src/cmd/stmfproxy/aluaadm/
H A Daluaadm.c94 unsigned int guid[sizeof (stmfGuid)]; local
112 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5],
113 &guid[6], &guid[7], &guid[
[all...]
/illumos-gate/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c254 char guid[32]; local
261 ret = srpt_NormalizeGuid(hca_guid, guid, sizeof (guid), &hcaguid);
278 ret = nvlist_lookup_nvlist(hcalist, guid, &hcanv);
293 ret = nvlist_add_nvlist(hcalist, guid, hcanv);
328 char guid[32]; local
334 ret = srpt_NormalizeGuid(hca_guid, guid, sizeof (guid), NULL);
358 ret = nvlist_lookup_nvlist(hcalist, guid, &hcanv);
397 char guid[3 local
456 uint64_t guid; local
[all...]
/illumos-gate/usr/src/cmd/stmfadm/
H A Dstmfadm.c80 static int printExtLuProps(stmfGuid *guid);
81 static void printGuid(stmfGuid *guid, FILE *printWhere);
154 " guid - 32 ascii hex characters in NAA format \n" \
607 unsigned int guid[sizeof (stmfGuid)]; local
670 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[
962 unsigned int guid[sizeof (stmfGuid)]; local
2047 printGuid(stmfGuid *guid, FILE *stream) argument
2056 printExtLuProps(stmfGuid *guid) argument
2675 unsigned int guid[sizeof (stmfGuid)]; local
2831 unsigned int guid[sizeof (stmfGuid)]; local
3300 unsigned int guid[sizeof (stmfGuid)]; local
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_gids.c131 * generate a guid (globally unique id)
140 char *guid; local
146 guid = (char *)malloc(SIP_RANDOM_LEN + 1);
147 if (guid == NULL)
164 (void) snprintf(guid, SIP_RANDOM_LEN + 1, "%u%u", random, time);
165 guidlen = strlen(guid);
172 free(guid);
178 guid[i] = r[i];
182 return (guid);
191 char *guid; local
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ioc.h49 srpt_ioc_t *srpt_ioc_get_locked(ib_guid_t guid);
50 srpt_ioc_t *srpt_ioc_get(ib_guid_t guid);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgpt.h43 grub_uint8_t guid[16]; member in struct:grub_gpt_header
54 grub_uint8_t guid[16]; member in struct:grub_gpt_partentry
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_011_neg.ksh67 typeset guid=$(get_config $TESTPOOL1 pool_guid)
70 target=$guid
71 log_note "Import by guid."
H A Dzpool_import_004_pos.ksh66 typeset guid=$(get_config $TESTPOOL1 pool_guid)
69 target=$guid
70 log_note "Import by guid."
H A Dzpool_import_005_pos.ksh64 typeset guid=$(get_config $TESTPOOL1 pool_guid)
67 target=$guid
68 log_note "Import by guid."
H A Dzpool_import_006_pos.ksh67 typeset guid=$(get_config $TESTPOOL1 pool_guid)
70 target=$guid
71 log_note "Import by guid."
H A Dzpool_import_007_pos.ksh67 typeset guid=$(get_config $TESTPOOL1 pool_guid)
70 target=$guid
71 log_note "Import by guid."
H A Dzpool_import_008_pos.ksh67 typeset guid=$(get_config $TESTPOOL1 pool_guid)
70 target=$guid
71 log_note "Import by guid."
H A Dzpool_import_rename_001_pos.ksh111 guid=$(get_config ${pools[i]} pool_guid)
125 target=$guid
126 log_note "Import by guid."
154 target=$guid
169 ID=$(zpool get -Ho value guid overflow)
H A Dzpool_import_012_pos.ksh130 guid=$(get_pool_prop guid $pool)
145 # for every off/on nfs bit import guid/pool_name
157 log_note "Import by guid."
158 if [[ -z $guid ]]; then
159 log_fail "guid should "\
162 target=$guid
163 guid_flag="$guid"
174 target=$guid
/illumos-gate/usr/src/cmd/sbdadm/
H A Dsbdadm.c167 gettext("guid in use"));
239 gettext("guid in use"));
343 delGuid.guid[j] = inGuid[j];
415 unsigned int guid[sizeof (stmfGuid)]; local
442 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[
637 print_lu_attr(stmfGuid *guid) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dtvhci.c504 /* set devi_addr to "g<guid>" */
509 char *guid, *addr;
512 MDI_CLIENT_GUID_PROP, &guid) != DDI_SUCCESS) {
513 cmn_err(CE_NOTE, "tvhci_initchild - no guid property");
518 (void) snprintf(addr, MAXNAMELEN, "g%s", guid);
522 ddi_prop_free(guid);
534 /* form paddr by cname@<phci_inst>,<guid> */
536 tvh_get_phci_devname(char *cname, char *guid, argument
540 cname, ddi_get_instance(pdip), guid);
545 * Return a pointer to the guid par
567 char *guid; local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c36 * pool guid -> toplevel vdev guid -> label txg
107 uint64_t guid; local
122 * the name list and see if we find a matching guid. If so, replace
125 * There may be multiple names associated with a particular guid, in
133 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0);
140 if (ne->ne_guid == guid) {
300 * known configs. The last thing to do is add the vdev guid -> path
323 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid, argument
342 *isactive = (theguid == guid);
420 uint64_t guid; local
1297 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, char *poolname, uint64_t guid) argument
1460 uint64_t v, guid = strtoull(tgt, NULL, 0); local
1525 find_guid(nvlist_t *nv, uint64_t guid) argument
1557 uint64_t guid; local
1591 uint64_t guid, vdev_guid; local
[all...]
/illumos-gate/usr/src/lib/libstmf/common/
H A Dstore.c3049 char guidAsciiBuf[33]; /* size of ascii hex 16 byte guid with NULL */
3082 lu->guid[0], lu->guid[1], lu->guid[2], lu->guid[3], lu->guid[4],
3083 lu->guid[5], lu->guid[6], lu->guid[7], lu->guid[
3253 unsigned int guid[sizeof (stmfGuid)]; local
[all...]
H A Dstmf.c451 * sort on guid
461 if (g1->guid[i] > g2->guid[i])
463 if (g1->guid[i] < g2->guid[i])
740 * lu - guid of the logical unit to which the view entry is added
1053 * luGuid - If non-NULL, on success, contains the guid of the created logical
1129 stmfGuid guid; local
1307 * on success, copy the resulting guid into the caller's guid i
1974 removeGuidFromDiskStore(stmfGuid *guid) argument
1986 addGuidToDiskStore(stmfGuid *guid, char *filename) argument
1999 persistDiskGuid(stmfGuid *guid, char *filename, boolean_t persist) argument
2865 unsigned int guid[LU_GUID_SIZE]; local
[all...]
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c66 * Attempt to convert the pool guid to a name.
96 uint64_t guid; local
99 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid);
101 if (search == guid)
132 find_vdev(zpool_handle_t *zhp, uint64_t guid) argument
140 return (find_vdev_iter(nvroot, guid));
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev.h67 extern vdev_t *vdev_lookup_by_guid(vdev_t *vd, uint64_t guid);
118 extern int vdev_fault(spa_t *spa, uint64_t guid, vdev_aux_t aux);
119 extern int vdev_degrade(spa_t *spa, uint64_t guid, vdev_aux_t aux);
120 extern int vdev_online(spa_t *spa, uint64_t guid, uint64_t flags,
122 extern int vdev_offline(spa_t *spa, uint64_t guid, uint64_t flags);
/illumos-gate/usr/src/common/zfs/
H A Dzfeature_common.c67 * Every feature guid must contain exactly one colon which separates a reverse
94 zfeature_is_supported(const char *guid) argument
101 if (strcmp(guid, feature->fi_guid) == 0)
145 zfeature_register(spa_feature_t fid, const char *guid, const char *name, argument
156 ASSERT(zfeature_is_valid_guid(guid));
165 feature->fi_guid = guid;
/illumos-gate/usr/src/uts/common/sys/ib/ibnex/
H A Dibnex.h272 #define IBNEX_FORM_GUID(buf, size, guid) \
273 (void) snprintf((buf), (size), "%llX", (longlong_t)guid);

Completed in 211 milliseconds

12345