Home
last modified time | relevance | path

Searched refs:nvlist_lookup_uint64 (Results 1 – 25 of 51) sorted by relevance

123

/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c61 verify(nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_POOL_GUID, in pool_active()
182 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in zpool_clear_label()
189 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in zpool_clear_label()
197 if (nvlist_lookup_uint64(config, in zpool_clear_label()
246 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &tmp) == 0); in find_guid()
281 verify(nvlist_lookup_uint64(list[i], in find_aux()
323 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in zpool_in_use()
325 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in zpool_in_use()
331 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in zpool_in_use()
398 if (ret && nvlist_lookup_uint64(config, in zpool_in_use()
H A Dlibzfs_status.c235 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in check_status()
241 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in check_status()
319 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in check_status()
355 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED, in check_status()
359 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED_REASON, in check_status()
402 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRCOUNT, in check_status()
444 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRATA, &errata); in check_status()
H A Dlibzfs_pool.c157 (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &value) in zpool_get_prop_int()
1806 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, in print_vdev_tree()
2519 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, in vdev_to_nvlist_iter()
2581 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ID, in vdev_to_nvlist_iter()
2624 nvlist_lookup_uint64(child[c], in vdev_to_nvlist_iter()
3464 (void) nvlist_lookup_uint64(zc_props, in zpool_vdev_split()
3832 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, in zpool_clear()
4060 verify(nvlist_lookup_uint64(nv, in zpool_vdev_name()
4062 verify(nvlist_lookup_uint64(nv, in zpool_vdev_name()
4064 verify(nvlist_lookup_uint64(nv, in zpool_vdev_name()
[all …]
H A Dlibzfs_crypto.c651 if (!features || nvlist_lookup_uint64(features, in encryption_feature_is_enabled()
701 ret = nvlist_lookup_uint64(props, in populate_create_encryption_params_nvlists()
716 ret = nvlist_lookup_uint64(props, in populate_create_encryption_params_nvlists()
757 ret = nvlist_lookup_uint64(props, in proplist_has_encryption_props()
767 ret = nvlist_lookup_uint64(props, in proplist_has_encryption_props()
772 ret = nvlist_lookup_uint64(props, in proplist_has_encryption_props()
830 ret = nvlist_lookup_uint64(props, in zfs_crypto_create()
836 (void) nvlist_lookup_uint64(props, in zfs_crypto_create()
1460 (void) nvlist_lookup_uint64(props, in zfs_crypto_rewrap()
H A Dlibzfs_sendrecv.c395 verify(nvlist_lookup_uint64(propnv, in send_iterate_prop()
428 verify(nvlist_lookup_uint64(propnv, in send_iterate_prop()
1273 (void) nvlist_lookup_uint64(nvfs, "origin", &origin_guid); in dump_filesystems()
1306 (void) nvlist_lookup_uint64(fslist, "parentfromsnap", in dump_filesystems()
1904 nvlist_lookup_uint64(resume_nvl, "toguid", in zfs_send_saved()
1912 if (nvlist_lookup_uint64(saved_nvl, "toguid", in zfs_send_saved()
3263 VERIFY(0 == nvlist_lookup_uint64(nvfs, "parentfromsnap", in recv_incremental_replication()
3265 (void) nvlist_lookup_uint64(nvfs, "origin", &originguid); in recv_incremental_replication()
3283 (void) nvlist_lookup_uint64(stream_nvfs, "origin", in recv_incremental_replication()
3423 VERIFY(0 == nvlist_lookup_uint64(stream_nvfs, in recv_incremental_replication()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dspa_os.c98 VERIFY(nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, in spa_generate_rootconf()
107 nvlist_lookup_uint64(best_cfg, ZPOOL_CONFIG_VDEV_CHILDREN, &nchildren); in spa_generate_rootconf()
155 VERIFY(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in spa_generate_rootconf()
206 VERIFY(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, &txg) in spa_import_rootpool()
233 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in spa_import_rootpool()
H A Dzfs_ioctl_os.c107 if (nvlist_lookup_uint64(innvl, in zfs_ioc_nextboot()
110 if (nvlist_lookup_uint64(innvl, in zfs_ioc_nextboot()
H A Dvdev_geom.c489 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in vdev_geom_read_config()
497 (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in vdev_geom_read_config()
548 if (nvlist_lookup_uint64(cfg, ZPOOL_CONFIG_POOL_GUID, &pool_guid) != 0) in process_vdev_config()
551 if (nvlist_lookup_uint64(cfg, ZPOOL_CONFIG_TOP_GUID, &vdev_guid) != 0) in process_vdev_config()
557 if (nvlist_lookup_uint64(vdev_tree, ZPOOL_CONFIG_ID, &id) != 0) in process_vdev_config()
560 VERIFY(nvlist_lookup_uint64(cfg, ZPOOL_CONFIG_POOL_TXG, &txg) == 0); in process_vdev_config()
571 VERIFY(nvlist_lookup_uint64((*configs)[id], in process_vdev_config()
668 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid); in vdev_attach_ok()
670 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, &top_guid); in vdev_attach_ok()
672 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid); in vdev_attach_ok()
/f-stack/freebsd/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c105 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 && in find_vdev()
271 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_vdev_repair()
272 &pool_guid) != 0 || nvlist_lookup_uint64(nvl, in zfs_vdev_repair()
328 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_VDEV_STATE, &state); in zfs_retire_recv()
341 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_retire_recv()
343 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_VDEV_GUID, in zfs_retire_recv()
448 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_POOL, in zfs_retire_recv()
452 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_VDEV, in zfs_retire_recv()
H A Dzfs_agents.c122 (void) nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, in zfs_agent_iter_vdev()
124 (void) nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_EXPANSION_TIME, in zfs_agent_iter_vdev()
151 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in zfs_agent_iter_pool()
202 (void) nvlist_lookup_uint64(nvl, ZFS_EV_POOL_GUID, &pool_guid); in zfs_agent_post_event()
203 (void) nvlist_lookup_uint64(nvl, ZFS_EV_VDEV_GUID, &vdev_guid); in zfs_agent_post_event()
H A Dzfs_mod.c212 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk); in zfs_process_add()
213 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_OFFLINE, &offline); in zfs_process_add()
214 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_GUID, &guid); in zfs_process_add()
510 if (nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, in zfs_iter_vdev()
568 (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in zfs_iter_pool()
705 if (nvlist_lookup_uint64(nvl, ZFS_EV_POOL_GUID, in zfs_deliver_check()
707 nvlist_lookup_uint64(nvl, ZFS_EV_VDEV_GUID, in zfs_deliver_check()
744 error = nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_WHOLE_DISK, in zfsdle_vdev_online()
808 if (nvlist_lookup_uint64(nvl, ZFS_EV_VDEV_GUID, &guid) == 0) { in zfs_deliver_dle()
H A Dzfs_diagnosis.c176 (void) nvlist_lookup_uint64(vd, ZPOOL_CONFIG_GUID, &vdev_guid); in zfs_mark_vdev()
479 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_VDEV_GUID, in zfs_fm_recv()
535 (void) nvlist_lookup_uint64(nvl, in zfs_fm_recv()
537 if (nvlist_lookup_uint64(nvl, in zfs_fm_recv()
540 if (nvlist_lookup_uint64(nvl, FM_EREPORT_ENA, &ena) != 0) in zfs_fm_recv()
701 nvlist_lookup_uint64(nvl, in zfs_fm_recv()
/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c290 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in add_config()
318 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in add_config()
320 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in add_config()
322 nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, in add_config()
324 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in add_config()
528 if (nvlist_lookup_uint64(tmp, in get_configs()
585 if (nvlist_lookup_uint64(tmp, in get_configs()
603 verify(nvlist_lookup_uint64(nvtop, ZPOOL_CONFIG_ID, in get_configs()
917 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_GUID, in zpool_read_label()
1297 aux = nvlist_lookup_uint64(config, in zpool_find_import_impl()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_disk_event.c77 if (nvlist_lookup_uint64(nvl, DEV_SIZE, &numval) == 0) in zed_udev_event()
79 if (nvlist_lookup_uint64(nvl, ZFS_EV_POOL_GUID, &numval) == 0) in zed_udev_event()
81 if (nvlist_lookup_uint64(nvl, ZFS_EV_VDEV_GUID, &numval) == 0) in zed_udev_event()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev.c783 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in vdev_alloc()
814 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_CREATE_TXG, in vdev_alloc()
826 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ASIZE, in vdev_alloc()
828 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_REMOVING, in vdev_alloc()
846 (void) nvlist_lookup_uint64(nv, in vdev_alloc()
860 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_DTL, in vdev_alloc()
862 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_UNSPARE, in vdev_alloc()
869 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_SPARE, in vdev_alloc()
874 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_OFFLINE, in vdev_alloc()
898 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_FAULTED, in vdev_alloc()
[all …]
H A Dspa_history.c228 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_DSID, &uint64) == 0) in spa_history_log_notify()
231 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_TXG, &uint64) == 0) in spa_history_log_notify()
234 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_TIME, &uint64) == 0) in spa_history_log_notify()
237 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_WHO, &uint64) == 0) in spa_history_log_notify()
240 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_INT_EVENT, &uint64) == 0) in spa_history_log_notify()
H A Ddsl_crypt.c154 (void) nvlist_lookup_uint64(props, in dsl_crypto_params_create_nvlist()
156 (void) nvlist_lookup_uint64(props, in dsl_crypto_params_create_nvlist()
160 (void) nvlist_lookup_uint64(props, in dsl_crypto_params_create_nvlist()
162 (void) nvlist_lookup_uint64(props, in dsl_crypto_params_create_nvlist()
1972 ret = nvlist_lookup_uint64(nvl, "mdn_compress", &intval); in dsl_crypto_recv_raw_objset_check()
1976 ret = nvlist_lookup_uint64(nvl, "mdn_checksum", &intval); in dsl_crypto_recv_raw_objset_check()
1980 ret = nvlist_lookup_uint64(nvl, "mdn_nlevels", &nlevels); in dsl_crypto_recv_raw_objset_check()
1984 ret = nvlist_lookup_uint64(nvl, "mdn_blksz", &blksz); in dsl_crypto_recv_raw_objset_check()
1990 ret = nvlist_lookup_uint64(nvl, "mdn_indblkshift", &ibs); in dsl_crypto_recv_raw_objset_check()
1994 ret = nvlist_lookup_uint64(nvl, "mdn_nblkptr", &nblkptr); in dsl_crypto_recv_raw_objset_check()
[all …]
H A Dzfs_ioctl.c1475 (void) nvlist_lookup_uint64(props, in zfs_ioc_pool_create()
2280 (void) nvlist_lookup_uint64(props, SNAP_ITER_MIN_TXG, in zfs_ioc_snapshot_list_next()
2282 (void) nvlist_lookup_uint64(props, SNAP_ITER_MAX_TXG, in zfs_ioc_snapshot_list_next()
3079 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl()
3081 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl()
3085 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl()
3089 (void) nvlist_lookup_uint64(createprops, in zfs_fill_zplprops_impl()
3258 if (nvlist_lookup_uint64(nvprops, in zfs_ioc_create()
3262 if ((error = nvlist_lookup_uint64(nvprops, in zfs_ioc_create()
3950 if (nvlist_lookup_uint64(innvl, ZPOOL_INITIALIZE_COMMAND, in zfs_ioc_pool_initialize()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_ioctl_compat.c409 (void) nvlist_lookup_uint64(outnvl, "used", &zc->zc_cookie); in zfs_ioctl_compat_outnvl()
410 (void) nvlist_lookup_uint64(outnvl, "compressed", in zfs_ioctl_compat_outnvl()
412 (void) nvlist_lookup_uint64(outnvl, "uncompressed", in zfs_ioctl_compat_outnvl()
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_util.c81 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in num_logs()
H A Dzpool_vdev.c244 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare()
252 verify(nvlist_lookup_uint64(spares[i], in is_spare()
514 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &is_log); in get_replication()
548 verify(nvlist_lookup_uint64(nv, in get_replication()
964 verify(!nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in make_disks()
1111 verify(!nvlist_lookup_uint64(nv, in is_device_in_use()
1787 (void) nvlist_lookup_uint64(top[t], ZPOOL_CONFIG_IS_LOG, &log); in num_normal_vdevs()
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dutil.c70 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &is_log); in show_vdev_stats()
124 if (nvlist_lookup_uint64(cnv, ZPOOL_CONFIG_NPARITY, &np) == 0) in show_vdev_stats()
/f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c270 if (nvlist_lookup_uint64( in get_vdev_name()
308 if (nvlist_lookup_uint64(nvroot, ZPOOL_CONFIG_ID, &vdev_id) != 0) { in get_vdev_desc()
602 if (nvlist_lookup_uint64(nv_ex, in print_queue_stats()
653 if (nvlist_lookup_uint64(nv_ex, in print_top_level_vdev_stats()
/f-stack/freebsd/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_device.c58 rv = nvlist_lookup_uint64(nv, BOOTENV_VERSION, in lzbe_set_boot_device()
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c59 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, in zfs_allocatable_devs()

123