Searched defs:pool_guid (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dlibofw.h39 uint64_t pool_guid; member in struct:ofw_devdesc::__anon333::__anon334
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dlibzfs.h46 uint64_t pool_guid; member in struct:zfs_devdesc
64 int zfs_probe_dev(const char *devname, uint64_t *pool_guid);
H A Dzfs.c416 uint64_t *pool_guid; member in struct:zfs_probe_args
431 zfs_probe(int fd, uint64_t *pool_guid) argument
437 if (ret == 0 && pool_guid != NULL)
438 *pool_guid = spa->spa_guid;
467 ret = zfs_probe(pa.fd, ppa->pool_guid);
472 pa.pool_guid = ppa->pool_guid;
486 zfs_probe_dev(const char *devname, uint64_t *pool_guid) argument
497 ret = zfs_probe(pa.fd, pool_guid);
506 pa.pool_guid
[all...]
H A Dzfsimpl.c914 uint64_t pool_txg, pool_guid; local
982 DATA_TYPE_UINT64, 0, &pool_guid)
1003 spa = spa_find_by_guid(pool_guid);
1005 spa = spa_create(pool_guid);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dlibi386.h56 uint64_t pool_guid; member in struct:i386_devdesc::__anon281::__anon284
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dzfs.c161 uint64_t pool_guid, vdev_guid; local
167 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid);
172 cb.cb_guid = pool_guid;
178 (void) snprintf(guidbuf, sizeof (guidbuf), "%llx", pool_guid);
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c57 uint64_t pool_guid, vdev_guid; local
63 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid);
68 cb.cb_guid = pool_guid;
74 (void) snprintf(guidbuf, sizeof (guidbuf), "%llx", pool_guid);
146 uint64_t pool_guid, vdev_guid; local
150 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid);
152 cb.cb_guid = pool_guid;
173 uint64_t pool_guid, vdev_guid; local
177 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid);
179 cb.cb_guid = pool_guid;
201 uint64_t pool_guid, vdev_guid; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dmain.c206 uint64_t pool_guid; local
215 pool_guid = 0;
216 zfs_probe_dev(devname, &pool_guid);
217 if (pool_guid != 0)
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c140 find_by_guid(libzfs_handle_t *zhdl, uint64_t pool_guid, uint64_t vdev_guid, argument
150 cb.cb_guid = pool_guid;
279 uint64_t pool_guid, vdev_guid; local
283 &pool_guid) != 0 || nvlist_lookup_uint64(nvl,
299 if (zrp->zrr_pool == pool_guid &&
308 (void) nvlist_add_uint64(asru, FM_FMRI_ZFS_POOL, pool_guid);
345 zrp->zrr_pool = pool_guid;
355 uint64_t pool_guid, vdev_guid; local
380 &pool_guid) != 0 ||
385 if ((zhp = find_by_guid(zhdl, pool_guid, vdev_gui
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c124 * pool_guid Unique identifier for this pool
519 uint64_t state, pool_guid, device_guid, txg, spare_pool; local
547 &pool_guid) != 0 ||
562 !spa_guid_exists(pool_guid, device_guid) &&
614 (spa = spa_by_guid(pool_guid, device_guid)) != NULL &&
H A Dspa_misc.c1328 * Return the spa_t associated with given pool_guid, if it exists. If
1333 spa_by_guid(uint64_t pool_guid, uint64_t device_guid) argument
1345 if (spa_guid(spa) == pool_guid) {
1368 * Determine whether a pool with the given pool_guid exists.
1371 spa_guid_exists(uint64_t pool_guid, uint64_t device_guid) argument
1373 return (spa_by_guid(pool_guid, device_guid) != NULL);
H A Dspa.c2127 uint64_t pool_guid; local
2130 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid))
2149 spa_guid_exists(pool_guid, 0)) {
2152 spa->spa_config_guid = pool_guid;
2164 error = spa_load_impl(spa, pool_guid, config, state, type,
2222 spa_load_impl(spa_t *spa, uint64_t pool_guid, nvlist_t *config, argument
2282 ASSERT(spa_guid(spa) == pool_guid);
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/
H A Dzfsboot.c502 zfsargs.pool = bdev->d_kind.zfs.pool_guid;
507 (uint32_t) bdev->d_kind.zfs.pool_guid,
508 (uint32_t) (bdev->d_kind.zfs.pool_guid >> 32),
678 uint64_t pool_guid = 0; local
683 * ZFS pools from them. We start from boot device to get boot pool_guid.
687 zfs_probe_dev(boot_devname, &pool_guid);
688 if (pool_guid) {
691 bdev->d_kind.zfs.pool_guid = pool_guid;
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c342 uint64_t pool_guid; local
348 &pool_guid) == 0 && pool_guid == dp->dd_pool_guid)) {
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dmain.c193 uint64_t pool_guid; local
365 if (efi_handle_lookup(img->DeviceHandle, &dev, &unit, &pool_guid) != 0)
377 currdev.pool_guid = pool_guid;
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs_de.c41 * Our serd engines are named 'zfs_<pool_guid>_<vdev_guid>_{checksum,io}'. This
185 zfs_mark_vdev(uint64_t pool_guid, nvlist_t *vd, er_timeval_t *loaded) argument
201 if (zcp->zc_data.zc_pool_guid == pool_guid &&
214 zfs_mark_vdev(pool_guid, child[c], loaded);
220 zfs_mark_vdev(pool_guid, child[c], loaded);
226 zfs_mark_vdev(pool_guid, child[c], loaded);
235 uint64_t pool_guid; local
242 pool_guid = zpool_get_prop_int(zhp, ZPOOL_PROP_GUID, NULL);
248 if (zcp->zc_data.zc_pool_guid == pool_guid &&
265 if (zcp->zc_data.zc_pool_guid == pool_guid
292 uint64_t pool_guid; local
377 zfs_serd_name(char *buf, uint64_t pool_guid, uint64_t vdev_guid, const char *type) argument
531 uint64_t ena, pool_guid, vdev_guid; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dfm.c1101 fm_fmri_zfs_set(nvlist_t *fmri, int version, uint64_t pool_guid, argument
1119 if (nvlist_add_uint64(fmri, FM_FMRI_ZFS_POOL, pool_guid) != 0) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c218 uint64_t pool_guid, vdev_guid, top_guid, txg, state; local
255 &pool_guid) != 0 ||
271 if (pe->pe_guid == pool_guid)
280 pe->pe_guid = pool_guid;
1438 uint64_t pool_guid; local
1441 ZPOOL_CONFIG_POOL_GUID, &pool_guid) == 0);
1442 if (pool_guid == import->guid)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c69 static uint64_t pool_guid = 0; variable
1637 pool_guid = 0;
1676 if (pool_guid == 0)
1677 pool_guid = tmp_guid;
1689 if (find_best_root && ((pool_guid != tmp_guid) ||
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c5317 uint64_t pool_guid; local
5342 pool_guid = spa_guid(spa);
5392 ASSERT(pool_guid == spa_guid(spa));

Completed in 106 milliseconds