Searched defs:guid (Results 51 - 75 of 76) sorted by relevance

1234

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c36 * pool guid -> toplevel vdev guid -> label txg
132 uint64_t guid; local
147 * the name list and see if we find a matching guid. If so, replace
150 * There may be multiple names associated with a particular guid, in
158 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0);
165 if (ne->ne_guid == guid) {
329 * known configs. The last thing to do is add the vdev guid -> path
352 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid, argument
371 *isactive = (theguid == guid);
447 uint64_t guid; local
1317 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, char *poolname, uint64_t guid) argument
1466 find_guid(nvlist_t *nv, uint64_t guid) argument
1498 uint64_t guid; local
1532 uint64_t guid, vdev_guid; local
[all...]
H A Dlibzfs.h367 uint64_t guid; /* guid of a pool to find */ member in struct:importargs
H A Dlibzfs_pool.c150 * vdev's guid then get it from the zhp config nvlist.
824 * Convert from feature name to feature guid. This conversion is
1923 * 'avail_spare' is set to TRUE if the provided guid refers to an AVAIL
2165 uint64_t guid; local
2169 guid = strtoull(path, &end, 10);
2170 if (guid != 0 && *end == '\0') {
2171 verify(nvlist_add_uint64(search, ZPOOL_CONFIG_GUID, guid) == 0);
2510 zpool_vdev_fault(zpool_handle_t *zhp, uint64_t guid, vdev_aux_t aux) argument
2517 dgettext(TEXT_DOMAIN, "cannot fault %llu"), guid);
2520 zc.zc_guid = guid;
2545 zpool_vdev_degrade(zpool_handle_t *zhp, uint64_t guid, vdev_aux_t aux) argument
3190 zpool_vdev_clear(zpool_handle_t *zhp, uint64_t guid) argument
[all...]
H A Dlibzfs_sendrecv.c525 * Given an nvlist, produce an avl tree of snapshots, ordered by guid
549 uint64_t guid; local
551 VERIFY(0 == nvpair_value_uint64(snapelem, &guid));
558 fn->fn_guid = guid;
582 * guid of fromsnap snapshot in parent dataset
612 * "parentfromsnap" -> number (guid of fromsnap in parent)
615 * "snaps" -> { name (lastname) -> number (guid) }
618 * "origin" -> number (guid) (if clone)
633 uint64_t guid = zhp->zfs_dmustats.dds_guid; local
651 VERIFY(0 == nvlist_add_uint64(sd->parent_snaps, snapname, guid));
783 uint64_t guid = zhp->zfs_dmustats.dds_guid; local
2250 uint64_t guid; member in struct:guid_to_name_data
2291 guid_to_name(libzfs_handle_t *hdl, const char *parent, uint64_t guid, boolean_t bookmark_ok, char *name) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1462 uint64_t guid; local
1468 &guid, DATA_TYPE_UINT64, NULL) != 0)
1471 if (guid != inguid)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c168 vdev_lookup_by_guid(vdev_t *vd, uint64_t guid) argument
172 if (vd->vdev_guid == guid)
176 if ((mvd = vdev_lookup_by_guid(vd->vdev_child[c], guid)) !=
238 * Walk up all ancestors to update guid sum.
272 * Walk up all ancestors to update guid sum.
312 vdev_alloc_common(spa_t *spa, uint_t id, uint64_t guid, vdev_ops_t *ops) argument
324 if (guid == 0 && ops != &vdev_hole_ops) {
327 * The root vdev's guid will also be the pool guid,
330 guid
378 uint64_t guid = 0, islog, nparity; local
1373 uint64_t guid = 0, top_guid; local
2195 uint64_t guid, version; local
2348 vdev_fault(spa_t *spa, uint64_t guid, vdev_aux_t aux) argument
2404 vdev_degrade(spa_t *spa, uint64_t guid, vdev_aux_t aux) argument
2439 vdev_online(spa_t *spa, uint64_t guid, uint64_t flags, vdev_state_t *newstate) argument
2499 vdev_offline_locked(spa_t *spa, uint64_t guid, uint64_t flags) argument
2593 vdev_offline(spa_t *spa, uint64_t guid, uint64_t flags) argument
[all...]
H A Dspa_misc.c130 * spa_guid_exists() Determine whether a pool/device guid exists.
902 spa_aux_exists(uint64_t guid, uint64_t *pool, int *refcnt, avl_tree_t *avl) argument
906 search.aux_guid = guid;
989 spa_spare_exists(uint64_t guid, uint64_t *pool, int *refcnt) argument
994 found = spa_aux_exists(guid, pool, refcnt, &spa_spare_avl);
1042 spa_l2cache_exists(uint64_t guid, uint64_t *pool) argument
1047 found = spa_aux_exists(guid, pool, NULL, &spa_l2cache_avl);
1411 uint64_t guid = spa_get_random(-1ULL); local
1414 while (guid == 0 || spa_guid_exists(spa_guid(spa), guid))
1571 uint64_t guid; local
[all...]
H A Ddmu_send.c1798 /* A map from guid to dataset to help handle dedup'd streams. */
1840 uint64_t guid; member in struct:guid_map_entry
1851 if (gmep1->guid < gmep2->guid)
1853 else if (gmep1->guid > gmep2->guid)
2262 gmesrch.guid = drrwbr->drr_refguid;
2895 /* if this stream is dedup'ed, set up the avl tree for guid mapping */
3148 /* set snapshot's creation time and guid */
3174 /* set snapshot's creation time and guid */
[all...]
H A Dspa.c757 spa_history_log_internal(spa, "guid change", tx, "old=%llu new=%llu",
764 * the root vdev's guid, our own pool guid, and then mark all of our
774 uint64_t guid; local
778 guid = spa_generate_guid(NULL);
781 spa_change_guid_sync, &guid, 5, ZFS_SPACE_CHECK_RESERVED);
1460 uint64_t guid; local
1485 &guid) == 0);
1490 if (vd != NULL && guid == vd->vdev_guid) {
2396 * If the vdev guid su
3209 uint64_t guid; local
3258 uint64_t guid; local
3846 spa_generate_rootconf(char *devpath, char *devid, uint64_t *guid) argument
3935 uint64_t guid, txg; local
4585 spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing) argument
4789 spa_vdev_detach(spa_t *spa, uint64_t guid, uint64_t pguid, int replace_done) argument
5321 uint64_t guid; local
5457 spa_vdev_remove(spa_t *spa, uint64_t guid, boolean_t unspare) argument
5650 uint64_t guid, sguid, pguid, ppguid; local
5688 spa_vdev_set_common(spa_t *spa, uint64_t guid, const char *value, boolean_t ispath) argument
5725 spa_vdev_setpath(spa_t *spa, uint64_t guid, const char *newpath) argument
5731 spa_vdev_setfru(spa_t *spa, uint64_t guid, const char *newfru) argument
6856 spa_lookup_by_guid(spa_t *spa, uint64_t guid, boolean_t aux) argument
6905 spa_has_spare(spa_t *spa, uint64_t guid) argument
[all...]
H A Darc.c3798 uint64_t guid = 0; local
3808 guid = spa_load_guid(spa);
3810 (void) arc_flush_state(arc_mru, guid, ARC_BUFC_DATA, retry);
3811 (void) arc_flush_state(arc_mru, guid, ARC_BUFC_METADATA, retry);
3813 (void) arc_flush_state(arc_mfu, guid, ARC_BUFC_DATA, retry);
3814 (void) arc_flush_state(arc_mfu, guid, ARC_BUFC_METADATA, retry);
3816 (void) arc_flush_state(arc_mru_ghost, guid, ARC_BUFC_DATA, retry);
3817 (void) arc_flush_state(arc_mru_ghost, guid, ARC_BUFC_METADATA, retry);
3819 (void) arc_flush_state(arc_mfu_ghost, guid, ARC_BUFC_DATA, retry);
3820 (void) arc_flush_state(arc_mfu_ghost, guid, ARC_BUFC_METADAT
4723 uint64_t guid = spa_load_guid(spa); local
5063 uint64_t guid = spa_load_guid(spa); local
6705 uint64_t guid = spa_load_guid(spa); local
[all...]
H A Dzfs_ioctl.c1542 uint64_t guid; local
1556 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &guid) != 0 ||
1557 guid != zc->zc_guid)
2019 uint64_t guid = zc->zc_guid; local
2026 error = spa_vdev_setpath(spa, guid, path);
2036 uint64_t guid = zc->zc_guid; local
2043 error = spa_vdev_setfru(spa, guid, fru);
4163 * zc_action_handle handle for this guid/ds mapping (or zero on first call)
4170 * zc_action_handle handle for this guid/ds mapping
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfwohcireg.h221 fwohcireg_t guid; /* GUID_ROM No. 0x4 */ member in struct:ohci_registers
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c480 vdev_find(uint64_t guid) argument
485 if (vdev->v_guid == guid)
492 vdev_create(uint64_t guid, vdev_read_t *vdev_read) argument
499 vdev->v_guid = guid;
514 uint64_t guid, id, ashift, nparity; local
523 DATA_TYPE_UINT64, 0, &guid)
556 vdev = vdev_find(guid);
561 vdev = vdev_create(guid, vdev_mirror_read);
563 vdev = vdev_create(guid, vdev_raidz_read);
565 vdev = vdev_create(guid, vdev_replacing_rea
701 spa_find_by_guid(uint64_t guid) argument
750 spa_create(uint64_t guid) argument
913 uint64_t guid; local
[all...]
/illumos-gate/usr/src/lib/libstmf/common/
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/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c514 * port guid as an argument
609 " HCA guid %llx", event->ev_hca_guid);
853 * Get port attributes from HCA guid and port number
1022 "\thandle_hca_attach: port guid %llx Port state 0x%x",
1552 ibdm_is_cisco(ib_guid_t guid) argument
1554 if ((guid >> IBDM_OUI_GUID_SHIFT) == IBDM_CISCO_COMPANY_ID)
1581 * Use the node guid (the OUI part) instead of the vendor id
2052 * get the node record with this guid if the destination
2114 ibdm_check_dgid(ib_guid_t guid, ib_sn_prefix_t prefix) argument
2120 if ((guid
4592 ibdm_get_node_records(ibmf_saa_handle_t sa_hdl, size_t *length, ib_guid_t guid) argument
5568 ibdm_port_reachable(ibmf_saa_handle_t sa_hdl, ib_guid_t guid) argument
5593 ibdm_get_node_record_by_port(ibmf_saa_handle_t sa_hdl, ib_guid_t guid, sa_node_record_t **resp, size_t *length) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c594 * Common routine to print warning messages; adds in hca guid, port number
608 0, "hca-guid", 0);
1072 ib_guid_t guid)
1079 nboguid = h2b64(guid);
8769 "hca-guid", 0)) == 0) {
8770 DPRINT(10, "ibd_port_attach: hca has invalid guid (0x%llx)",
8775 "port-guid", 0)) == 0) {
8776 DPRINT(10, "ibd_port_attach: port has invalid guid (0x%llx)",
1071 ibd_h2n_mac(ipoib_mac_t *mac, ib_qpn_t qpn, ib_sn_prefix_t prefix, ib_guid_t guid) argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c918 char *guid; local
929 MDI_CLIENT_GUID_PROP, &guid) != DDI_SUCCESS) {
939 VHCI_DEBUG(4, (CE_WARN, hba_dip, "tgt_init: lun guid "
975 "vhci_scsi_tgt_init: guid %s : found vlun 0x%p "
977 guid, (void *)vlun, from_ticks, vhci_to_ticks));
980 "vhci_scsi_tgt_init: guid %s : vlun not found "
981 "from_ticks %lx to_ticks %lx", guid, from_ticks,
1002 "vlun 0x%p lun guid %s not supported!",
1003 (void *)vlun, guid));
1005 ddi_prop_free(guid);
2146 char *guid; local
4070 char *guid; local
4939 char *guid; local
5058 char *guid; local
6833 char *guid; local
7204 vhci_quiesce_paths(dev_info_t *vdip, dev_info_t *cdip, scsi_vhci_lun_t *vlun, char *guid, char *active_pclass_ptr) argument
7294 vhci_lun_lookup_alloc(dev_info_t *tgt_dip, char *guid, int *didalloc) argument
7321 char *guid; local
8170 char *guid; local
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcib.c776 rpcib_find_hca(rpcib_state_t *ribstat, ib_guid_t guid) argument
780 while (hca && hca->hca_guid != guid)
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c1279 uint64_t guid; local
1283 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 &&
1284 search == guid)
1608 uint64_t guid; local
1620 &guid) == 0);
1633 (void) printf(gettext(" id: %llu\n"), (u_longlong_t)guid);
2152 * User specified a name or guid. Ensure it's unique.
2161 idata.guid = searchguid;
2198 * we were searching by pool name or guid, we still need to
2252 uint64_t guid; local
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c3476 uint64_t v, guid = strtoull(tgt, NULL, 0); local
3479 if (guid != 0) {
3481 return (v == guid);
/illumos-gate/usr/src/uts/common/sys/1394/
H A Ds1394.h805 uint64_t guid; member in struct:s1394_kstat_s
/illumos-gate/usr/src/uts/common/os/
H A Dsunmdi.c187 const char *mdi_client_guid_prop = "client-guid";
1101 i_mdi_devinfo_create(mdi_vhci_t *vh, char *name, char *guid, argument
1109 cdip = i_mdi_devinfo_find(vh, name, guid);
1114 name ? name : "", guid ? guid : "");
1126 MDI_CLIENT_GUID_PROP, guid) != DDI_PROP_SUCCESS) {
1150 * and its guid.
1155 i_mdi_devinfo_find(mdi_vhci_t *vh, caddr_t name, char *guid) argument
1177 if (strcmp(data, guid) != 0) {
1404 char *guid; local
1495 i_mdi_client_find(mdi_vhci_t *vh, char *cname, char *guid) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c1884 map->guid, sizeof (map->guid));
1886 if ((sizeof (map->guid)) <
1890 "guid copy space "
1894 (int)sizeof (map->guid),
7241 char *guid = NULL; local
7276 guid = ddi_devid_to_guid(devid);
7278 if (guid) {
7280 * Check our current guid. If it's non null
7285 strcmp(guid, plu
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c2506 uint64_t guid; local
2522 * Grab the guid from the head of the log class rotor.
2524 guid = spa_log_class(spa)->mc_rotor->mg_vd->vdev_guid;
2537 error = spa_vdev_remove(spa, guid, B_FALSE);
2577 uint64_t guid = 0; local
2596 guid = sav->sav_vdevs[ztest_random(sav->sav_count)]->vdev_guid;
2621 if (guid == 0) {
2638 (void) vdev_online(spa, guid, 0, NULL);
2640 error = spa_vdev_remove(spa, guid, B_FALSE);
2642 fatal(0, "spa_vdev_remove(%llu) = %d", guid, erro
2964 uint64_t guid = vd->vdev_guid; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c3668 char *guid; local
3888 * from the identity information, and can generate a guid from
3898 guid = ddi_devid_to_guid(devid);
3901 guid = NULL;
3902 if (guid && (inq->inq_tpgs & TPGS_FAILOVER_EXPLICIT))
3904 if (guid)
3906 if (guid && (inq->inq_tpgs & TPGS_FAILOVER_IMPLICIT))
3909 if (guid)
3910 ddi_devid_free_guid(guid);
5114 char *guid local
[all...]

Completed in 321 milliseconds

1234