| /freebsd-12-stable/cddl/usr.sbin/zfsd/ |
| D | vdev.cc | 90 if (nvlist_lookup_uint64(m_poolConfig, ZPOOL_CONFIG_POOL_GUID, &guid)) in VdevLookupPoolGuid() 100 if (nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_GUID, &guid) != 0) in VdevLookupGuid() 156 (void)nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_IS_SPARE, &is_spare); in IsSpare() 191 (void)nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_FAULTED, &faulted); in State() 192 (void)nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_DEGRADED, °raded); in State() 282 if (nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_IS_SPARE, &spare) != 0) in IsSpare()
|
| D | zpool_list.cc | 81 return (nvlist_lookup_uint64(poolConfig, ZPOOL_CONFIG_POOL_GUID, in ZpoolByGUID()
|
| D | zfsd.cc | 240 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in BuildCaseFiles()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
| D | libzfs_import.c | 161 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0); in fix_paths() 232 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in add_config() 235 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid) == 0) { in add_config() 259 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in add_config() 261 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in add_config() 263 nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, in add_config() 265 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in add_config() 365 verify(nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_POOL_GUID, in pool_active() 511 if (nvlist_lookup_uint64(tmp, in get_configs() 568 if (nvlist_lookup_uint64(tmp, in get_configs() [all …]
|
| D | libzfs_status.c | 225 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in check_status() 231 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in check_status() 266 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in check_status() 302 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED, in check_status() 306 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED_REASON, in check_status() 349 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRCOUNT, in check_status()
|
| D | libzfs_pool.c | 127 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &ival) == 0); in zpool_get_prop_string() 158 (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &value) in zpool_get_prop_int() 167 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &value) == 0); in zpool_get_prop_int() 169 verify(nvlist_lookup_uint64(nv, ZPROP_VALUE, &value) == 0); in zpool_get_prop_int() 876 if (nvlist_lookup_uint64(features, feature, &refcount) == 0) in zpool_prop_get_feature() 1563 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_LOAD_TIME, &rewindto) != 0) in zpool_rewind_exclaim() 1618 nvlist_lookup_uint64(nv, ZPOOL_CONFIG_LOAD_TIME, &rewindto) != 0) in zpool_explain_recover() 1622 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_LOAD_DATA_ERRORS, in zpool_explain_recover() 1721 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, in print_vdev_tree() 1804 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in zpool_import_props() [all …]
|
| D | libzfs_config.c | 317 verify(nvlist_lookup_uint64(zhp->zpool_config, in zpool_refresh_stats() 319 verify(nvlist_lookup_uint64(config, in zpool_refresh_stats()
|
| D | libzfs_sendrecv.c | 719 verify(nvlist_lookup_uint64(propnv, in send_iterate_prop() 752 verify(nvlist_lookup_uint64(propnv, in send_iterate_prop() 1440 (void) nvlist_lookup_uint64(nvfs, "origin", &origin_guid); in dump_filesystems() 1472 (void) nvlist_lookup_uint64(fslist, "origin", &origin_guid); in dump_filesystems() 1473 (void) nvlist_lookup_uint64(fslist, "parentfromsnap", in dump_filesystems() 1637 nvlist_lookup_uint64(resume_nvl, "object", &resumeobj) != 0 || in zfs_send_resume() 1638 nvlist_lookup_uint64(resume_nvl, "offset", &resumeoff) != 0 || in zfs_send_resume() 1639 nvlist_lookup_uint64(resume_nvl, "bytes", &bytes) != 0 || in zfs_send_resume() 1640 nvlist_lookup_uint64(resume_nvl, "toguid", &toguid) != 0) { in zfs_send_resume() 1646 (void) nvlist_lookup_uint64(resume_nvl, "fromguid", &fromguid); in zfs_send_resume() [all …]
|
| D | libzfs_dataset.c | 1570 if (nvlist_lookup_uint64(nvl, zfs_prop_to_name(ZFS_PROP_VOLSIZE), in zfs_add_synthetic_resv() 1611 if (nvlist_lookup_uint64(nvl, zfs_prop_to_name(prop), &resvsize) != 0) { in zfs_fix_auto_resv() 1625 if (nvlist_lookup_uint64(nvl, zfs_prop_to_name(ZFS_PROP_VOLSIZE), in zfs_fix_auto_resv() 2070 verify(nvlist_lookup_uint64(nv, ZPROP_VALUE, &value) == 0); in getprop_uint64() 2273 nvlist_lookup_uint64(zplprops, zfs_prop_to_name(prop), in get_numeric_property() 3616 if (props == NULL || nvlist_lookup_uint64(props, in zfs_create() 3624 if ((ret = nvlist_lookup_uint64(props, in zfs_create() 5230 if (nvlist_lookup_uint64(props, in zvol_volsize_to_reservation()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | vdev.c | 685 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ID, &label_id) || in vdev_alloc() 689 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc() 692 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc() 695 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc() 698 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc() 712 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &islog); in vdev_alloc() 724 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_NPARITY, in vdev_alloc() 797 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in vdev_alloc() 802 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_INDIRECT_OBJECT, in vdev_alloc() 805 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_INDIRECT_BIRTHS, in vdev_alloc() [all …]
|
| D | vdev_geom.c | 496 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in vdev_geom_read_config() 504 (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in vdev_geom_read_config() 557 if (nvlist_lookup_uint64(cfg, ZPOOL_CONFIG_POOL_GUID, &pool_guid) != 0) in process_vdev_config() 560 if (nvlist_lookup_uint64(cfg, ZPOOL_CONFIG_TOP_GUID, &vdev_guid) != 0) in process_vdev_config() 566 if (nvlist_lookup_uint64(vdev_tree, ZPOOL_CONFIG_ID, &id) != 0) in process_vdev_config() 569 VERIFY(nvlist_lookup_uint64(cfg, ZPOOL_CONFIG_POOL_TXG, &txg) == 0); in process_vdev_config() 580 VERIFY(nvlist_lookup_uint64((*configs)[id], in process_vdev_config() 677 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid); in vdev_attach_ok() 679 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, &top_guid); in vdev_attach_ok() 681 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid); in vdev_attach_ok()
|
| D | spa_history.c | 239 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_DSID, &uint64) == 0) in spa_history_log_notify() 242 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_TXG, &uint64) == 0) in spa_history_log_notify() 245 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_TIME, &uint64) == 0) in spa_history_log_notify() 248 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_WHO, &uint64) == 0) in spa_history_log_notify() 251 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_INT_EVENT, &uint64) == 0) in spa_history_log_notify()
|
| D | vdev_label.c | 617 error = nvlist_lookup_uint64(label, in vdev_label_read_config() 678 (void) nvlist_lookup_uint64(label, ZPOOL_CONFIG_CREATE_TXG, in vdev_inuse() 681 if (nvlist_lookup_uint64(label, ZPOOL_CONFIG_POOL_STATE, in vdev_inuse() 683 nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, in vdev_inuse() 690 (nvlist_lookup_uint64(label, ZPOOL_CONFIG_POOL_GUID, in vdev_inuse() 692 nvlist_lookup_uint64(label, ZPOOL_CONFIG_POOL_TXG, in vdev_inuse()
|
| D | spa.c | 1794 VERIFY(nvlist_lookup_uint64(l2cache[i], ZPOOL_CONFIG_GUID, in spa_load_l2cache() 2503 (void) nvlist_lookup_uint64(nvinfo, ZPOOL_CONFIG_MMP_TXG, in spa_activity_check_required() 2505 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_TIMESTAMP, in spa_activity_check_required() 2511 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, &state); in spa_activity_check_required() 2766 if (!spa_is_root(spa) && nvlist_lookup_uint64(mos_config, 2803 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, 2807 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid)) { 2846 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, 4730 VERIFY(nvlist_lookup_uint64(spares[i], 4778 VERIFY(nvlist_lookup_uint64(l2cache[i], [all …]
|
| D | zfs_ioctl.c | 1594 (void) nvlist_lookup_uint64(props, in zfs_ioc_pool_create() 1670 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &guid) != 0 || in zfs_ioc_pool_import() 2434 (void) nvlist_lookup_uint64(props, SNAP_ITER_MIN_TXG, in zfs_ioc_snapshot_list_next() 2436 (void) nvlist_lookup_uint64(props, SNAP_ITER_MAX_TXG, in zfs_ioc_snapshot_list_next() 3188 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl() 3190 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl() 3194 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl() 3198 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl() 3355 if (nvlist_lookup_uint64(nvprops, in zfs_ioc_create() 3359 if ((error = nvlist_lookup_uint64(nvprops, in zfs_ioc_create() [all …]
|
| D | vdev_disk.c | 948 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_POOL_STATE, in vdev_disk_read_rootlabel() 955 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_POOL_TXG, in vdev_disk_read_rootlabel()
|
| D | spa_config.c | 484 nvlist_lookup_uint64(spa->spa_config_splitting, in spa_config_generate()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libzpool/common/ |
| D | util.c | 65 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &is_log); in show_vdev_stats() 116 if (nvlist_lookup_uint64(cnv, ZPOOL_CONFIG_NPARITY, &np) == 0) in show_vdev_stats()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/ |
| D | zpool_vdev.c | 630 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &is_log); in get_replication() 660 verify(nvlist_lookup_uint64(nv, in get_replication() 1042 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in make_disks() 1166 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare() 1174 verify(nvlist_lookup_uint64(spares[i], in is_spare() 1214 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in is_device_in_use() 1645 (void) nvlist_lookup_uint64(top[t], ZPOOL_CONFIG_IS_LOG, &log); in num_normal_vdevs()
|
| D | zpool_main.c | 415 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in print_vdev_tree() 1526 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 && in find_vdev() 1624 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_NOT_PRESENT, in print_status_config() 1659 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, in print_status_config() 1769 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in print_status_config() 1771 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_HOLE, in print_status_config() 1861 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in print_import_config() 1925 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in print_class_vdevs() 1980 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in show_import() 1982 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in show_import() [all …]
|
| D | zpool_util.c | 80 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in num_logs()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/common/zfs/ |
| D | zfs_comutil.c | 60 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in zfs_allocatable_devs()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/cmd/zinject/ |
| D | translate.c | 455 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, in translate_device()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/common/nvpair/ |
| D | opensolaris_fnvpair.c | 398 VERIFY0(nvlist_lookup_uint64(nvl, name, &rv)); in fnvlist_lookup_uint64()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| D | nvpair.h | 215 int nvlist_lookup_uint64(nvlist_t *, const char *, uint64_t *);
|