| /f-stack/freebsd/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_mod.c | 197 if (nvlist_lookup_string(vdev, ZPOOL_CONFIG_PATH, &path) != 0) in zfs_process_add() 209 (void) nvlist_lookup_string(vdev, ZPOOL_CONFIG_PHYS_PATH, &physpath); in zfs_process_add() 210 (void) nvlist_lookup_string(vdev, ZPOOL_CONFIG_VDEV_ENC_SYSFS_PATH, in zfs_process_add() 309 nvlist_lookup_string(vdev, "new_devid", &new_devid); in zfs_process_add() 524 if (nvlist_lookup_string(nvl, dp->dd_prop, &path) != 0 || in zfs_iter_vdev() 671 if (nvlist_lookup_string(nvl, DEV_IDENTIFIER, &devid) != 0) in zfs_deliver_add() 674 (void) nvlist_lookup_string(nvl, DEV_PHYS_PATH, &devpath); in zfs_deliver_add() 738 error = nvlist_lookup_string(tgt, ZPOOL_CONFIG_PATH, &path); in zfsdle_vdev_online() 810 } else if (nvlist_lookup_string(nvl, DEV_PHYS_PATH, &devname) == 0) { in zfs_deliver_dle()
|
| H A D | zfs_retire.c | 225 if (nvlist_lookup_string(spares[s], ZPOOL_CONFIG_PATH, in replace_with_spare() 230 if ((nvlist_lookup_string(spares[s], ZPOOL_CONFIG_TYPE, in replace_with_spare() 354 if (nvlist_lookup_string(nvl, FM_EREPORT_PAYLOAD_ZFS_VDEV_TYPE, in zfs_retire_recv() 441 nvlist_lookup_string(resource, FM_FMRI_SCHEME, in zfs_retire_recv() 513 nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid) == 0) in zfs_retire_recv()
|
| H A D | fmd_api.c | 360 if (nvlist_lookup_string(nvl, FM_CLASS, &strval) == 0) in zed_log_fault() 367 if (nvlist_lookup_string(rsrc, FM_FMRI_SCHEME, &strval) == 0) in zed_log_fault() 387 if (nvlist_lookup_string(fault, FM_CLASS, &class) == 0) { in fmd_fault_mkcode() 694 nvlist_lookup_string(nvl, FM_CLASS, &class) == 0 && in fmd_nvl_class_match()
|
| H A D | zfs_agents.c | 120 (nvlist_lookup_string(nvl, ZPOOL_CONFIG_DEVID, &path) == 0) && in zfs_agent_iter_vdev() 214 (void) nvlist_lookup_string(nvl, DEV_IDENTIFIER, in zfs_agent_post_event()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa_history.c | 204 if (nvlist_lookup_string(nvl, ZPOOL_HIST_CMD, &string) == 0) in spa_history_log_notify() 207 if (nvlist_lookup_string(nvl, ZPOOL_HIST_INT_NAME, &string) == 0) in spa_history_log_notify() 210 if (nvlist_lookup_string(nvl, ZPOOL_HIST_ZONE, &string) == 0) in spa_history_log_notify() 213 if (nvlist_lookup_string(nvl, ZPOOL_HIST_HOST, &string) == 0) in spa_history_log_notify() 216 if (nvlist_lookup_string(nvl, ZPOOL_HIST_DSNAME, &string) == 0) in spa_history_log_notify() 219 if (nvlist_lookup_string(nvl, ZPOOL_HIST_INT_STR, &string) == 0) in spa_history_log_notify() 222 if (nvlist_lookup_string(nvl, ZPOOL_HIST_IOCTL, &string) == 0) in spa_history_log_notify() 225 if (nvlist_lookup_string(nvl, ZPOOL_HIST_INT_NAME, &string) == 0) in spa_history_log_notify()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | util.c | 71 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_ALLOCATION_BIAS, in show_vdev_stats() 118 if (nvlist_lookup_string(cnv, ZPOOL_CONFIG_PATH, &cname) && in show_vdev_stats() 119 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) in show_vdev_stats() 141 VERIFY(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in show_pool_stats()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/ |
| H A D | zed_disk_event.c | 69 if (nvlist_lookup_string(nvl, DEV_NAME, &strval) == 0) in zed_udev_event() 71 if (nvlist_lookup_string(nvl, DEV_PATH, &strval) == 0) in zed_udev_event() 73 if (nvlist_lookup_string(nvl, DEV_IDENTIFIER, &strval) == 0) in zed_udev_event() 75 if (nvlist_lookup_string(nvl, DEV_PHYS_PATH, &strval) == 0) in zed_udev_event()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 386 if (nvlist_lookup_string(props, in make_leaf_vdev() 519 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in get_replication() 574 verify(nvlist_lookup_string(cnv, in get_replication() 595 verify(nvlist_lookup_string(cnv, in get_replication() 600 verify(nvlist_lookup_string(cnv, in get_replication() 948 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks() 963 verify(!nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path)); in make_disks() 1104 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in is_device_in_use() 1109 verify(!nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path)); in is_device_in_use() 1756 verify(nvlist_lookup_string(child[c], in split_mirror_vdev()
|
| H A D | zpool_iter.c | 301 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in for_each_vdev_cb() 610 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) != 0) in for_each_vdev_run_cb() 613 nvlist_lookup_string(nv, ZPOOL_CONFIG_VDEV_ENC_SYSFS_PATH, in for_each_vdev_run_cb()
|
| H A D | zpool_main.c | 686 (void) nvlist_lookup_string(child[c], in print_vdev_tree() 853 if (nvlist_lookup_string(*props, propname, &pval) == 0) in add_prop_list_default() 1652 if (!nvlist_lookup_string(props, propname, &propval)) { in zpool_do_create() 2559 (void) nvlist_lookup_string(child[c], in print_class_vdevs() 2561 (void) nvlist_lookup_string(child[c], in print_class_vdevs() 3600 verify(nvlist_lookup_string(config, in zpool_do_import() 4599 if (nvlist_lookup_string(newnv, ZPOOL_CONFIG_PATH, in print_vdev_stats() 4671 (void) nvlist_lookup_string(newchild[c], in print_vdev_stats() 4673 (void) nvlist_lookup_string(newchild[c], in print_vdev_stats() 6022 (void) nvlist_lookup_string(child[c], in print_list_stats() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 224 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) != 0) in fix_paths() 574 if (nvlist_lookup_string(tmp, in get_configs() 774 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in get_configs() 846 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in get_configs() 1010 error = nvlist_lookup_string(nvroot, ZPOOL_CONFIG_PATH, &val); in label_paths_impl() 1014 error = nvlist_lookup_string(nvroot, ZPOOL_CONFIG_DEVID, &val); in label_paths_impl() 1306 matched = nvlist_lookup_string(config, in zpool_find_import_impl() 1529 if (nvlist_lookup_string(cfg, ZPOOL_CONFIG_POOL_NAME, &s) == 0) in pool_match()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/ |
| H A D | ereports.c | 72 if (nvlist_lookup_string(nvl, FM_CLASS, &class) != 0 || in print_ereport_line()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfsbootenv/ |
| H A D | lzbe_device.c | 136 rv = nvlist_lookup_string(nv, OS_BOOTONCE, &val); in lzbe_get_boot_device()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_ioctl_os.c | 113 if (nvlist_lookup_string(innvl, in zfs_ioc_nextboot()
|
| H A D | spa_os.c | 204 VERIFY(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in spa_import_rootpool()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 128 verify(nvlist_lookup_string(nv, ZPROP_VALUE, &value) == 0); in zpool_get_prop_string() 1181 if (nvlist_lookup_string(child[c], in zpool_has_special_vdev() 1262 zoned = ((nvlist_lookup_string(fsprops, in zpool_create() 1870 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in zpool_import_props() 2226 if (nvlist_lookup_string(guids_to_paths, nvpair_name(elem), in zpool_initialize_impl() 2337 if (nvlist_lookup_string(guids_to_paths, nvpair_name(elem), in check_trim_errs() 2530 if (nvlist_lookup_string(nv, srchkey, &val) != 0) in vdev_to_nvlist_iter() 2768 if (nvlist_lookup_string(config, ZPOOL_CONFIG_PHYS_PATH, in vdev_get_one_physpath() 2796 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in vdev_get_physpaths() 3139 verify(nvlist_lookup_string(search, ZPOOL_CONFIG_TYPE, in is_replacing_spare() [all …]
|
| H A D | libzfs_sendrecv.c | 403 if (nvlist_lookup_string(propnv, in send_iterate_prop() 412 if (nvlist_lookup_string(propnv, in send_iterate_prop() 423 verify(nvlist_lookup_string(propnv, in send_iterate_prop() 3044 VERIFY(0 == nvlist_lookup_string(nvfs, "name", &fsname)); in created_before() 3051 VERIFY(0 == nvlist_lookup_string(nvfs, "name", &fsname)); in created_before() 3158 VERIFY(0 == nvlist_lookup_string(props, in recv_fix_encryption_hierarchy() 3295 VERIFY(0 == nvlist_lookup_string(origin_nvfs, in recv_incremental_replication() 3421 VERIFY(0 == nvlist_lookup_string(stream_nvfs, in recv_incremental_replication() 3473 VERIFY(0 == nvlist_lookup_string(parent, "name", in recv_incremental_replication() 4005 if (nvlist_lookup_string(attrs, in zfs_setup_cmdline_props() [all …]
|
| H A D | libzfs_status.c | 171 verify(nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE, in find_vdev_problem()
|
| H A D | libzfs_import.c | 329 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in zpool_in_use()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | zpool_influxdb.c | 266 if (nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, in get_vdev_name() 305 if (nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type) != 0) { in get_vdev_desc() 311 if (nvlist_lookup_string( in get_vdev_desc()
|
| /f-stack/freebsd/contrib/openzfs/module/zcommon/ |
| H A D | zfs_comutil.c | 83 if (nvlist_lookup_string(child[c], ZPOOL_CONFIG_ALLOCATION_BIAS, in zfs_special_devs()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_iter.c | 329 verify(nvlist_lookup_string(lval, in zfs_sort() 332 verify(nvlist_lookup_string(rval, in zfs_sort()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 836 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0 || in update_vdev_config_dev_strs() 840 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) != 0) in update_vdev_config_dev_strs()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_pool_os.c | 105 if (nvlist_lookup_string(config, ZPOOL_CONFIG_PATH, &path) != 0) in read_efi_label()
|
| /f-stack/freebsd/contrib/openzfs/cmd/mount_zfs/ |
| H A D | mount_zfs.c | 63 if (!nvlist_lookup_string(cfg, ZPOOL_CONFIG_POOL_NAME, &nm)) in parse_dataset()
|