| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_ioctl.c | 1947 zfs_ioc_pool_scrub(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) in zfs_ioc_pool_scrub() argument 3405 zfs_ioc_pool_get_props(const char *pool, nvlist_t *innvl, nvlist_t *outnvl) in zfs_ioc_pool_get_props() argument 3425 error = spa_prop_get(spa, outnvl); in zfs_ioc_pool_get_props() 3428 outnvl); in zfs_ioc_pool_get_props() 3432 error = spa_prop_get(spa, outnvl); in zfs_ioc_pool_get_props() 3435 outnvl); in zfs_ioc_pool_get_props() 3456 zfs_ioc_vdev_set_props(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) in zfs_ioc_vdev_set_props() argument 3468 if (outnvl == NULL) in zfs_ioc_vdev_set_props() 3483 error = vdev_prop_set(vd, innvl, outnvl); in zfs_ioc_vdev_set_props() 3505 zfs_ioc_vdev_get_props(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) in zfs_ioc_vdev_get_props() argument [all …]
|
| H A D | vdev.c | 6203 vdev_prop_set(vdev_t *vd, nvlist_t *innvl, nvlist_t *outnvl) in vdev_prop_set() argument 6446 vdev_prop_add_list(outnvl, propname, strval, intval, 0); in vdev_prop_set() 6465 vdev_prop_get(vdev_t *vd, nvlist_t *innvl, nvlist_t *outnvl) in vdev_prop_get() argument 6519 vdev_prop_add_list(outnvl, propname, strval, 0, in vdev_prop_get() 6527 vdev_prop_add_list(outnvl, propname, NULL, in vdev_prop_get() 6531 vdev_prop_add_list(outnvl, propname, NULL, in vdev_prop_get() 6535 vdev_prop_add_list(outnvl, propname, NULL, in vdev_prop_get() 6539 vdev_prop_add_list(outnvl, propname, NULL, in vdev_prop_get() 6543 vdev_prop_add_list(outnvl, propname, NULL, in vdev_prop_get() 6547 vdev_prop_add_list(outnvl, propname, NULL, in vdev_prop_get() [all …]
|
| H A D | zcp.c | 1040 uint64_t instrlimit, uint64_t memlimit, nvpair_t *nvarg, nvlist_t *outnvl) in zcp_eval() argument 1122 fnvlist_add_string(outnvl, ZCP_RET_ERROR, in zcp_eval() 1138 fnvlist_add_string(outnvl, ZCP_RET_ERROR, errmsg); in zcp_eval() 1149 runinfo.zri_outnvl = outnvl; in zcp_eval()
|
| H A D | dsl_bookmark.c | 796 dsl_get_bookmarks_impl(dsl_dataset_t *ds, nvlist_t *props, nvlist_t *outnvl) in dsl_get_bookmarks_impl() argument 811 fnvlist_add_nvlist(outnvl, dbn->dbn_name, out_props); in dsl_get_bookmarks_impl() 923 dsl_get_bookmarks(const char *dsname, nvlist_t *props, nvlist_t *outnvl) in dsl_get_bookmarks() argument 938 err = dsl_get_bookmarks_impl(ds, props, outnvl); in dsl_get_bookmarks()
|
| H A D | spa.c | 378 spa_prop_add(spa_t *spa, const char *propname, nvlist_t *outnvl) in spa_prop_add() argument 399 spa_prop_add_list(outnvl, prop, NULL, intval, src); in spa_prop_add() 406 nvlist_t *outnvl) in spa_prop_get_nvlist() argument 414 err = spa_prop_add(spa, props[i], outnvl); in spa_prop_get_nvlist()
|
| /freebsd/sys/contrib/openzfs/lib/libzfs_core/ |
| H A D | libzfs_core.c | 535 lzc_sync(const char *pool_name, nvlist_t *innvl, nvlist_t **outnvl) in lzc_sync() argument 537 (void) outnvl; in lzc_sync() 1138 nvlist_t *outnvl = NULL; in recv_impl() local 1180 error = lzc_ioctl(ZFS_IOC_RECV_NEW, fsname, innvl, &outnvl); in recv_impl() 1183 error = nvlist_lookup_uint64(outnvl, "read_bytes", in recv_impl() 1187 error = nvlist_lookup_uint64(outnvl, "error_flags", in recv_impl() 1192 error = nvlist_lookup_nvlist(outnvl, "errors", &nvl); in recv_impl() 1198 fnvlist_free(outnvl); in recv_impl() 1584 uint64_t instrlimit, uint64_t memlimit, nvlist_t *argnvl, nvlist_t **outnvl) in lzc_channel_program_impl() argument 1595 error = lzc_ioctl(ZFS_IOC_CHANNEL_PROGRAM, pool, args, outnvl); in lzc_channel_program_impl() [all …]
|
| H A D | libzfs_core.abi | 3897 <parameter type-id='857bb57e' name='outnvl'/> 4109 <parameter type-id='857bb57e' name='outnvl'/> 4131 <parameter type-id='857bb57e' name='outnvl'/> 4137 <parameter type-id='857bb57e' name='outnvl'/> 4143 <parameter type-id='857bb57e' name='outnvl'/> 4218 <parameter type-id='857bb57e' name='outnvl'/>
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | nvlist_to_lua.c | 90 nvlist_t *outnvl; in test() local 96 10 * 1000 * 1000, 10 * 1024 * 1024, nvl, &outnvl); in test() 99 dump_nvlist(outnvl, 5); in test() 108 nvlist_t *real_outnvl = fnvlist_lookup_nvlist(outnvl, "return"); in test()
|
| /freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _libzfs_core.py | 897 with nvlist_out(output) as outnvl: 899 poolname, program, instrlimit, memlimit, params_nv, outnvl) 942 with nvlist_out(output) as outnvl: 944 poolname, program, instrlimit, memlimit, params_nv, outnvl) 1601 with nvlist_out({}) as outnvl: 1602 ret = _lib.lzc_sync(poolname, innvl, outnvl)
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | vdev.h | 246 extern int vdev_prop_set(vdev_t *vd, nvlist_t *innvl, nvlist_t *outnvl); 247 extern int vdev_prop_get(vdev_t *vd, nvlist_t *nvprops, nvlist_t *outnvl);
|
| H A D | spa.h | 1258 unsigned int n_props, nvlist_t *outnvl);
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_ioctl_os.c | 91 zfs_ioc_nextboot(const char *unused, nvlist_t *innvl, nvlist_t *outnvl) in zfs_ioc_nextboot() argument
|
| /freebsd/sys/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_main.c | 8369 nvlist_t *outnvl = NULL; in zfs_do_channel_program() local 8490 instrlimit, memlimit, argnvl, &outnvl); in zfs_do_channel_program() 8493 instrlimit, memlimit, argnvl, &outnvl); in zfs_do_channel_program() 8505 if (outnvl != NULL && nvlist_exists(outnvl, ZCP_RET_ERROR)) { in zfs_do_channel_program() 8507 (void) nvlist_lookup_string(outnvl, in zfs_do_channel_program() 8514 (void) nvlist_lookup_uint64(outnvl, in zfs_do_channel_program() 8549 (void) nvlist_print_json(stdout, outnvl); in zfs_do_channel_program() 8550 } else if (nvlist_empty(outnvl)) { in zfs_do_channel_program() 8556 dump_nvlist(outnvl, 4); in zfs_do_channel_program() 8561 fnvlist_free(outnvl); in zfs_do_channel_program()
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 5887 nvlist_t **outnvl) in zpool_get_all_vdev_props() argument 5901 ret = lzc_get_vdev_prop(zhp->zpool_name, nvl, outnvl); in zpool_get_all_vdev_props() 5925 nvlist_t *outnvl = NULL; in zpool_set_vdev_prop() local 5966 ret = lzc_set_vdev_prop(zhp->zpool_name, nvl, &outnvl); in zpool_set_vdev_prop() 5970 nvlist_free(outnvl); in zpool_set_vdev_prop()
|
| H A D | libzfs_dataset.c | 2397 nvlist_t *outnvl; in zcp_check() local 2405 10 * 1000 * 1000, 10 * 1024 * 1024, argnvl, &outnvl); in zcp_check() 2408 retnvl = fnvlist_lookup_nvlist(outnvl, "return"); in zcp_check() 2441 nvlist_free(outnvl); in zcp_check()
|
| H A D | libzfs.abi | 7527 <parameter type-id='857bb57e' name='outnvl'/>
|