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

/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defizfs.c43 uint64_t pool_guid; variable
118 pool_guid = guid;
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dlibzfs.h37 uint64_t pool_guid; member in struct:zfs_devdesc
55 int zfs_probe_dev(const char *devname, uint64_t *pool_guid);
H A Dzfs.c450 uint64_t *pool_guid; member in struct:zfs_probe_args
465 zfs_probe(int fd, uint64_t *pool_guid) argument
472 if (ret == 0 && pool_guid != NULL)
473 *pool_guid = spa->spa_guid;
502 ret = zfs_probe(pa.fd, ppa->pool_guid);
507 pa.pool_guid = ppa->pool_guid;
524 zfs_probe_dev(const char *devname, uint64_t *pool_guid) argument
532 if (pool_guid)
533 *pool_guid
[all...]
H A Dzfsimpl.c1528 uint64_t pool_txg, pool_guid; local
1623 NULL, &pool_guid) != 0 ||
1642 spa = spa_find_by_guid(pool_guid);
1644 spa = spa_create(pool_guid, pool_name);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dlibi386.h42 uint64_t pool_guid; member in struct:i386_devdesc::__anon4::__anon6
/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/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/modules/common/zfs-retire/
H A Dzfs_retire.c143 find_by_guid(libzfs_handle_t *zhdl, uint64_t pool_guid, uint64_t vdev_guid, argument
153 cb.cb_guid = pool_guid;
294 uint64_t pool_guid, vdev_guid; local
298 &pool_guid) != 0 || nvlist_lookup_uint64(nvl,
314 if (zrp->zrr_pool == pool_guid &&
323 (void) nvlist_add_uint64(asru, FM_FMRI_ZFS_POOL, pool_guid);
360 zrp->zrr_pool = pool_guid;
370 uint64_t pool_guid, vdev_guid; local
395 &pool_guid) != 0 ||
400 if ((zhp = find_by_guid(zhdl, pool_guid, vdev_gui
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/
H A Dzfsboot.c397 zfsargs.pool = bdev->d_kind.zfs.pool_guid;
402 (uint32_t)bdev->d_kind.zfs.pool_guid,
403 (uint32_t)(bdev->d_kind.zfs.pool_guid >> 32),
629 uint64_t pool_guid = 0; local
677 pool_guid_ptr = &pool_guid;
683 if (pool_guid != 0 && bdev == NULL) {
687 bdev->d_kind.zfs.pool_guid = pool_guid;
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c351 uint64_t pool_guid; local
357 &pool_guid) == 0 && pool_guid == dp->dd_pool_guid)) {
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c126 * pool_guid Unique identifier for this pool
663 uint64_t state, pool_guid, device_guid, txg, spare_pool; local
691 &pool_guid) != 0 ||
706 !spa_guid_exists(pool_guid, device_guid) &&
758 (spa = spa_by_guid(pool_guid, device_guid)) != NULL &&
H A Dspa_misc.c1386 * Return the spa_t associated with given pool_guid, if it exists. If
1391 spa_by_guid(uint64_t pool_guid, uint64_t device_guid) argument
1403 if (spa_guid(spa) == pool_guid) {
1426 * Determine whether a pool with the given pool_guid exists.
1429 spa_guid_exists(uint64_t pool_guid, uint64_t device_guid) argument
1431 return (spa_by_guid(pool_guid, device_guid) != NULL);
H A Dspa.c2727 uint64_t pool_guid; local
2738 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid)) {
2756 spa_guid_exists(pool_guid, 0)) {
2760 spa_guid_exists(pool_guid, 0) &&
2764 (u_longlong_t)pool_guid);
2768 spa->spa_config_guid = pool_guid;
2822 ASSERT(spa_guid(spa) == pool_guid);
/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/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/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/lib/libzfs/common/
H A Dlibzfs_import.c193 uint64_t pool_guid, vdev_guid, top_guid, txg, state; local
232 &pool_guid) != 0 ||
247 if (pe->pe_guid == pool_guid)
255 pe->pe_guid = pool_guid;
1426 uint64_t pool_guid; local
1429 ZPOOL_CONFIG_POOL_GUID, &pool_guid) == 0);
1430 if (pool_guid == import->guid)
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c6160 uint64_t pool_guid; local
6185 pool_guid = spa_guid(spa);
6235 ASSERT(pool_guid == spa_guid(spa));

Completed in 254 milliseconds