/illumos-gate/usr/src/cmd/stmfproxy/aluaadm/ |
H A D | aluaadm.c | 94 unsigned int guid[sizeof (stmfGuid)]; in setLuStandbyFunc() local 112 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in setLuStandbyFunc() 113 &guid[6], &guid[7], &guid[8], &guid[9], &guid[10], &guid[11], in setLuStandbyFunc() 114 &guid[12], &guid[13], &guid[14], &guid[15]); in setLuStandbyFunc() 117 inGuid.guid[i] = guid[i]; in setLuStandbyFunc()
|
/illumos-gate/usr/src/lib/libsrpt/common/ |
H A D | libsrpt.c | 254 char guid[32]; in srpt_SetTargetState() local 261 ret = srpt_NormalizeGuid(hca_guid, guid, sizeof (guid), &hcaguid); in srpt_SetTargetState() 328 char guid[32]; in srpt_GetTargetState() local 334 ret = srpt_NormalizeGuid(hca_guid, guid, sizeof (guid), NULL); in srpt_GetTargetState() 397 char guid[32]; in srpt_ResetTarget() local 403 ret = srpt_NormalizeGuid(hca_guid, guid, sizeof (guid), NULL); in srpt_ResetTarget() 421 if (nvlist_exists(hcalist, guid)) { in srpt_ResetTarget() 456 uint64_t guid; in srpt_NormalizeGuid() local 477 guid = strtoull(bufp, &end, 16); in srpt_NormalizeGuid() 478 if ((guid == 0) || (guid == ULLONG_MAX) || in srpt_NormalizeGuid() [all …]
|
/illumos-gate/usr/src/cmd/stmfadm/ |
H A D | stmfadm.c | 670 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in addViewFunc() 671 &guid[6], &guid[7], &guid[8], &guid[9], &guid[10], &guid[11], in addViewFunc() 1000 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in modifyLuFunc() 1001 &guid[6], &guid[7], &guid[8], &guid[9], &guid[10], in modifyLuFunc() 1002 &guid[11], &guid[12], &guid[13], &guid[14], &guid[15]); in modifyLuFunc() 2721 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in listViewFunc() 2722 &guid[6], &guid[7], &guid[8], &guid[9], &guid[10], &guid[11], in listViewFunc() 2850 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in onlineOfflineLu() 2851 &guid[6], &guid[7], &guid[8], &guid[9], &guid[10], &guid[11], in onlineOfflineLu() 3353 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in removeViewFunc() [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efizfs.c | 52 efizfs_get_handle_by_guid(uint64_t guid) in efizfs_get_handle_by_guid() argument 57 if (zi->zi_pool_guid == guid) { in efizfs_get_handle_by_guid() 65 efizfs_get_guid_by_handle(EFI_HANDLE handle, uint64_t *guid) in efizfs_get_guid_by_handle() argument 69 if (guid == NULL) in efizfs_get_guid_by_handle() 73 *guid = zi->zi_pool_guid; in efizfs_get_guid_by_handle() 81 insert_zfs(EFI_HANDLE handle, uint64_t guid) in insert_zfs() argument 87 zi->zi_pool_guid = guid; in insert_zfs() 97 uint64_t guid; in efi_zfs_probe() local 114 if (zfs_probe_dev(devname, &guid) == 0) { in efi_zfs_probe() 115 insert_zfs(pd->pd_handle, guid); in efi_zfs_probe() [all …]
|
H A D | env.c | 698 return (efi_str_to_guid(name, guid)); in efi_name_to_guid() 708 rv = uuid_equal((uuid_t *)guid, in efi_guid_to_name() 717 return (efi_guid_to_str(guid, name)); in efi_guid_to_name() 1323 EFI_GUID guid; in command_efi_set() local 1363 EFI_GUID guid; in command_efi_unset() local 1421 char *value = NULL, *guid = NULL; in ficlEfiSetenv() local 1442 guid = ficlMalloc(guids); in ficlEfiSetenv() 1443 if (guid == NULL) in ficlEfiSetenv() 1445 memcpy(guid, guidp, guids); in ficlEfiSetenv() 1446 uuid_from_string(guid, &u, &ustatus); in ficlEfiSetenv() [all …]
|
/illumos-gate/usr/src/cmd/sbdadm/ |
H A D | sbdadm.c | 343 delGuid.guid[j] = inGuid[j]; in delete_lu() 415 unsigned int guid[sizeof (stmfGuid)]; in modify_lu() local 442 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in modify_lu() 443 &guid[6], &guid[7], &guid[8], &guid[9], &guid[10], in modify_lu() 444 &guid[11], &guid[12], &guid[13], &guid[14], &guid[15]); in modify_lu() 447 inGuid.guid[i] = guid[i]; in modify_lu() 582 stmfRet = stmfGetLogicalUnitProperties(&luList->guid[i], in list_lus() 602 stmfRet = stmfGetLogicalUnitProperties(&luList->guid[i], in list_lus() 610 (void) print_lu_attr(&luList->guid[i]); in list_lus() 637 print_lu_attr(stmfGuid *guid) in print_lu_attr() argument [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 91 *isactive = (theguid == guid); in pool_active() 191 uint64_t state, guid, l2cache; in zpool_clear_label() local 206 &guid) != 0 || guid == 0) { in zpool_clear_label() 263 find_guid(nvlist_t *nv, uint64_t guid) in find_guid() argument 270 if (tmp == guid) in find_guid() 276 if (find_guid(child[c], guid)) in find_guid() 295 uint64_t guid; in find_aux() local 305 ZPOOL_CONFIG_GUID, &guid) == 0); in find_aux() 306 if (guid == cbp->cb_guid) { in find_aux() 329 uint64_t guid, vdev_guid; in zpool_in_use() local [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_gids.c | 138 char *guid; in sip_guid() local 145 if (guid == NULL) in sip_guid() 163 guidlen = strlen(guid); in sip_guid() 170 free(guid); in sip_guid() 176 guid[i] = r[i]; in sip_guid() 180 return (guid); in sip_guid() 189 char *guid; in sip_branchid() local 207 guid = sip_guid(); in sip_branchid() 208 if (guid == NULL) { in sip_branchid() 213 guid); in sip_branchid() [all …]
|
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | store.c | 3082 lu->guid[0], lu->guid[1], lu->guid[2], lu->guid[3], lu->guid[4], in psAddViewEntry() 3083 lu->guid[5], lu->guid[6], lu->guid[7], lu->guid[8], lu->guid[9], in psAddViewEntry() 3339 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5], in psGetLogicalUnitList() 3340 &guid[6], &guid[7], &guid[8], &guid[9], &guid[10], in psGetLogicalUnitList() 3341 &guid[11], &guid[12], &guid[13], &guid[14], &guid[15]); in psGetLogicalUnitList() 3528 lu->guid[0], lu->guid[1], lu->guid[2], lu->guid[3], lu->guid[4], in psGetViewEntryList() 3529 lu->guid[5], lu->guid[6], lu->guid[7], lu->guid[8], lu->guid[9], in psGetViewEntryList() 5065 lu->guid[0], lu->guid[1], lu->guid[2], lu->guid[3], lu->guid[4], in psGetViewEntry() 5066 lu->guid[5], lu->guid[6], lu->guid[7], lu->guid[8], lu->guid[9], in psGetViewEntry() 5165 lu->guid[0], lu->guid[1], lu->guid[2], lu->guid[3], lu->guid[4], in psRemoveViewEntry() [all …]
|
H A D | stmf.c | 461 if (g1->guid[i] > g2->guid[i]) in guidCompare() 463 if (g1->guid[i] < g2->guid[i]) in guidCompare() 2020 guid->guid[0], guid->guid[1], guid->guid[2], guid->guid[3], in persistDiskGuid() 2021 guid->guid[4], guid->guid[5], guid->guid[6], guid->guid[7], in persistDiskGuid() 2022 guid->guid[8], guid->guid[9], guid->guid[10], guid->guid[11], in persistDiskGuid() 2023 guid->guid[12], guid->guid[13], guid->guid[14], guid->guid[15]); in persistDiskGuid() 2954 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], in setDiskProp() 2955 &guid[5], &guid[6], &guid[7], &guid[8], &guid[9], in setDiskProp() 2956 &guid[10], &guid[11], &guid[12], &guid[13], in setDiskProp() 2957 &guid[14], &guid[15]); in setDiskProp() [all …]
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 210 uint64_t guid; in fix_paths() local 243 if (ne->ne_guid == guid) { in fix_paths() 432 guid, isactive); in zutil_pool_active() 481 uint64_t guid; in get_configs() local 672 &guid) == 0); in get_configs() 793 &guid) == 0); in get_configs() 940 &guid) != 0 || guid == 0) { in zpool_read_label() 965 expected_guid = guid; in zpool_read_label() 1431 if (guid != 0 && guid != this_guid) in zpool_find_import_cached() 1505 if (guid != 0) { in pool_match() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tvhci.c | 509 char *guid, *addr; in tvhci_initchild() 512 MDI_CLIENT_GUID_PROP, &guid) != DDI_SUCCESS) { in tvhci_initchild() 518 (void) snprintf(addr, MAXNAMELEN, "g%s", guid); in tvhci_initchild() 522 ddi_prop_free(guid); in tvhci_initchild() 536 tvh_get_phci_devname(char *cname, char *guid, in tvh_get_phci_devname() argument 540 cname, ddi_get_instance(pdip), guid); in tvh_get_phci_devname() 567 char *guid; in tvhci_bus_config() local 570 guid = tvhci_devnm_to_guid((char *)arg); in tvhci_bus_config() 572 guid = NULL; in tvhci_bus_config() 574 if (mdi_vhci_bus_config(pdip, flags, op, arg, child, guid) in tvhci_bus_config()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_012_pos.ksh | 130 guid=$(get_pool_prop guid $pool) 158 if [[ -z $guid ]]; then 162 target=$guid 163 guid_flag="$guid" 174 target=$guid
|
H A D | zpool_import_rename_001_pos.ksh | 111 guid=$(get_config ${pools[i]} pool_guid) 125 target=$guid 154 target=$guid 169 ID=$(zpool get -Ho value guid overflow)
|
H A D | zpool_import_011_neg.ksh | 67 typeset guid=$(get_config $TESTPOOL1 pool_guid) 70 target=$guid
|
H A D | zpool_import_006_pos.ksh | 67 typeset guid=$(get_config $TESTPOOL1 pool_guid) 70 target=$guid
|
/illumos-gate/usr/src/cmd/fm/schemes/zfs/ |
H A D | scheme.c | 96 uint64_t guid; in find_vdev_iter() local 99 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid); in find_vdev_iter() 101 if (search == guid) in find_vdev_iter() 132 find_vdev(zpool_handle_t *zhp, uint64_t guid) in find_vdev() argument 140 return (find_vdev_iter(nvroot, guid)); in find_vdev()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_ib.c | 1173 ib_guid_t *guid; in iser_ib_init_hcas() local 1179 num_hcas = ibt_get_hca_list(&guid); in iser_ib_init_hcas() 1198 "(0x%llx)", (longlong_t)guid[i]); in iser_ib_init_hcas() 1200 hca = iser_ib_alloc_hca(guid[i]); in iser_ib_init_hcas() 1278 iser_ib_alloc_hca(ib_guid_t guid) in iser_ib_alloc_hca() argument 1295 hca->hca_guid = guid; in iser_ib_alloc_hca() 1303 (longlong_t)guid, status); in iser_ib_alloc_hca() 1328 (longlong_t)guid, status); in iser_ib_alloc_hca() 1462 iser_ib_guid2hca(ib_guid_t guid) in iser_ib_guid2hca() argument 1472 if (hca->hca_guid == guid) { in iser_ib_guid2hca() [all …]
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfeature_common.c | 94 zfeature_is_supported(const char *guid) in zfeature_is_supported() argument 101 if (strcmp(guid, feature->fi_guid) == 0) in zfeature_is_supported() 145 zfeature_register(spa_feature_t fid, const char *guid, const char *name, in zfeature_register() argument 156 ASSERT(zfeature_is_valid_guid(guid)); in zfeature_register() 165 feature->fi_guid = guid; in zfeature_register()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/ |
H A D | ibdma.c | 290 ib_guid_t *guid; in ibdma_ibt_init() local 307 hca_cnt = ibt_get_hca_list(&guid); in ibdma_ibt_init() 321 (u_longlong_t)guid[hca_ndx]); in ibdma_ibt_init() 324 hca = ibdma_hca_init(guid[hca_ndx]); in ibdma_ibt_init() 327 " failed", (u_longlong_t)guid[hca_ndx]); in ibdma_ibt_init() 336 ibt_free_hca_list(guid, hca_cnt); in ibdma_ibt_init() 380 ibdma_find_hca(ib_guid_t guid) in ibdma_find_hca() argument 388 if (hca->ih_iou_guid == guid) { in ibdma_find_hca() 400 ibdma_hca_init(ib_guid_t guid) in ibdma_hca_init() argument 417 if (ibdma_find_hca(guid) != NULL) { in ibdma_hca_init() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev.h | 68 extern vdev_t *vdev_lookup_by_guid(vdev_t *vd, uint64_t guid); 120 extern int vdev_fault(spa_t *spa, uint64_t guid, vdev_aux_t aux); 121 extern int vdev_degrade(spa_t *spa, uint64_t guid, vdev_aux_t aux); 122 extern int vdev_online(spa_t *spa, uint64_t guid, uint64_t flags, 124 extern int vdev_offline(spa_t *spa, uint64_t guid, uint64_t flags);
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_ioc.c | 148 ib_guid_t *guid; in srpt_ioc_attach() local 164 hca_cnt = ibt_get_hca_list(&guid); in srpt_ioc_attach() 176 (u_longlong_t)guid[hca_ndx]); in srpt_ioc_attach() 180 ibt_free_hca_list(guid, hca_cnt); in srpt_ioc_attach() 423 srpt_ioc_init(ib_guid_t guid) in srpt_ioc_init() argument 445 ioc = srpt_ioc_get_locked(guid); in srpt_ioc_init() 460 ioc->ioc_guid = guid; in srpt_ioc_init() 1125 srpt_ioc_get_locked(ib_guid_t guid) in srpt_ioc_get_locked() argument 1131 if (ioc->ioc_guid == guid) { in srpt_ioc_get_locked() 1143 srpt_ioc_get(ib_guid_t guid) in srpt_ioc_get() argument [all …]
|
H A D | srpt_ioc.h | 49 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 D | gpt.h | 43 grub_uint8_t guid[16]; member 54 grub_uint8_t guid[16]; member
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 921 char *guid; in vhci_scsi_tgt_init() local 1056 ddi_prop_free(guid); in vhci_scsi_tgt_init() 2149 char *guid; in vhci_scsi_get_name_bus_addr() local 2183 ddi_prop_free(guid); in vhci_scsi_get_name_bus_addr() 4077 char *guid; in vhci_pathinfo_init() local 4946 char *guid; in vhci_kstat_create_pathinfo() local 5065 char *guid; in vhci_pathinfo_online() local 6838 char *guid; in vhci_failover() local 7328 char *guid; in vhci_lun_free() local 8177 char *guid; in vhci_scsi_bus_config() local [all …]
|