| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/ |
| H A D | zpool_upgrade_004_pos.ksh | 59 typeset -n pool_name=ZPOOL_VERSION_${config}_NAME 61 TEST_POOLS="$TEST_POOLS $pool_name" 63 check_pool $pool_name pre > /dev/null 73 typeset -n pool_name=ZPOOL_VERSION_${config}_NAME 75 check_pool $pool_name post > /dev/null 76 log_must diff $TEST_BASE_DIR/pool-checksums.$pool_name.pre \ 77 $TEST_BASE_DIR/pool-checksums.$pool_name.post 78 rm $TEST_BASE_DIR/pool-checksums.$pool_name.pre \ 79 $TEST_BASE_DIR/pool-checksums.$pool_name.post
|
| H A D | zpool_upgrade.kshlib | 47 typeset -n pool_name=ZPOOL_VERSION_${vers}_NAME 49 log_note "Creating $pool_name from $pool_files" 55 log_must zpool import -d $TEST_BASE_DIR $pool_name 59 dd if=/dev/urandom of=/$pool_name/random.$i \ 74 typeset -n pool_name=ZPOOL_VERSION_${vers}_NAME 79 pre_upgrade_checksum=$(check_pool $pool_name pre) 80 log_must zpool upgrade $pool_name 81 post_upgrade_checksum=$(check_pool $pool_name post) 94 typeset -n pool_name=ZPOOL_VERSION_${vers}_NAME 96 destroy_pool $pool_name
|
| H A D | zpool_upgrade_009_neg.ksh | 57 typeset -n pool_name=ZPOOL_VERSION_${config}_NAME 60 log_mustnot zpool upgrade -V 999 $pool_name 62 check_poolversion $pool_name $config
|
| H A D | zpool_upgrade_007_pos.ksh | 63 typeset -n pool_name=ZPOOL_VERSION_${config}_NAME 66 default_check_zfs_upgrade $pool_name
|
| H A D | zpool_upgrade_008_pos.ksh | 70 typeset -n pool_name=ZPOOL_VERSION_${ver_old}_NAME 75 check_poolversion $pool_name $ver_new
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | zpool_influxdb.c | 439 pool_name, vdev_desc); in print_vdev_latency_stats() 536 pool_name, vdev_desc); in print_vdev_size_stats() 651 pool_name); in print_top_level_vdev_stats() 680 err = func(nvroot, pool_name, parent_name); in print_recursive_stats() 714 char *pool_name; in print_stats() local 748 pool_name, NULL, 1); in print_stats() 756 pool_name, NULL, 1); in print_stats() 759 pool_name, NULL, 1); in print_stats() 762 pool_name, NULL, 0); in print_stats() 765 err = print_scan_status(nvroot, pool_name); in print_stats() [all …]
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/bootfs/ |
| H A D | bootfs_005_neg.ksh | 66 typeset pool_name 68 pool_name=$($ENV| $GREP "ZPOOL_VERSION_${config}_NAME"\ 70 if poolexists $pool_name; then 71 log_must $ZPOOL destroy -f $pool_name
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/ |
| H A D | bootfs_005_neg.ksh | 53 typeset pool_name 55 pool_name=$(eval echo \$ZPOOL_VERSION_${config}_NAME) 56 destroy_pool $pool_name
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_config.c | 248 const char *pool_name; in spa_write_cachefile() local 299 pool_name = fnvlist_lookup_string( in spa_write_cachefile() 302 pool_name = spa_name(spa); in spa_write_cachefile() 304 fnvlist_add_nvlist(nvl, pool_name, spa->spa_config); in spa_write_cachefile() 422 const char *pool_name; in spa_config_generate() local 451 ZPOOL_CONFIG_POOL_NAME, &pool_name)); in spa_config_generate() 453 pool_name = spa_name(spa); in spa_config_generate() 458 fnvlist_add_string(config, ZPOOL_CONFIG_POOL_NAME, pool_name); in spa_config_generate()
|
| H A D | spa_misc.c | 2175 char *pool_name; member 2203 (sip->pool_name ? sip->pool_name : "-"), in spa_import_progress_show() 2216 if (sip->pool_name) in spa_import_progress_truncate() 2217 spa_strfree(sip->pool_name); in spa_import_progress_truncate() 2311 zfs_dbgmsg("'%s' %s", sip->pool_name, notes); in spa_import_progress_set_notes_impl() 2407 sip->pool_name = spa_strdup(poolname); in spa_import_progress_add() 2427 if (sip->pool_name) in spa_import_progress_remove() 2428 spa_strfree(sip->pool_name); in spa_import_progress_remove()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | zilstat.in | 89 pool_name = None 156 global pool_name 240 pool_name = parsed_args.pool 265 if pool_name and dataset_name: 368 global curr, pool_name, dataset_name, dsFlag, ds_pairs 374 if pool_name: 375 kstat_update(pool_name) 376 zil_build_dict(pool_name)
|
| /freebsd-14.2/sys/dev/isci/scil/ |
| H A D | sci_pool.h | 86 #define SCI_POOL_CREATE(pool_name, type, pool_size) \ argument 93 } pool_name
|
| /freebsd-14.2/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _error_translation.py | 115 pool_name = next(pool_names, None) 116 same_pool = all(x == pool_name for x in pool_names) 277 pool_name = None 280 pool_name = _pool_name(name) 289 return lzc_exc.FeatureNotSupported(pool_name) 329 pool_name = None 331 pool_name = _pool_name(name) 332 return lzc_exc.FeatureNotSupported(pool_name)
|
| /freebsd-14.2/tests/sys/cddl/zfs/include/ |
| H A D | libtest.kshlib | 1185 typeset pool_name=$ZONE_POOL 1191 [[ -d /$pool_name ]] && $RM -rf /$pool_name 1192 log_must $ZPOOL create -f $pool_name $DISKS 1194 log_must $ZFS create $pool_name/$prefix_ctr$i 1199 log_must $ZFS create -V 1g $pool_name/zone_zvol 1206 log_must $ZPOOL add $pool_name log mirror $sdevs 1228 $ECHO "set name=$pool_name/$prefix_ctr$i" >> \ 1236 $ECHO "set match=/dev/zvol/$pool_name/zone_zvol" >> $zone_conf 1241 $ECHO "set match=/dev/zvol/$pool_name/zone_zvol" >> $zone_conf
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_util.c | 2107 zpool_vdev_script_alloc_env(const char *pool_name, in zpool_vdev_script_alloc_env() argument 2123 rc = asprintf(&env[1], "POOL_NAME=%s", pool_name ? pool_name : ""); in zpool_vdev_script_alloc_env() 2194 const char *pool_name; in zpool_prepare_disk() local 2214 pool_name = zhp ? zpool_get_name(zhp) : NULL; in zpool_prepare_disk() 2216 env = zpool_vdev_script_alloc_env(pool_name, path, upath, in zpool_prepare_disk()
|
| H A D | libzfs_dataset.c | 260 zpool_add_handle(zfs_handle_t *zhp, const char *pool_name) in zpool_add_handle() argument 265 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) { in zpool_add_handle() 274 zpool_find_handle(zfs_handle_t *zhp, const char *pool_name, int len) in zpool_find_handle() argument 280 (strncmp(pool_name, zpool_get_name(zph), len) != 0)) in zpool_find_handle() 293 char *pool_name; in zpool_handle() local 298 pool_name = zfs_alloc(zhp->zfs_hdl, len); in zpool_handle() 299 (void) strlcpy(pool_name, zhp->zfs_name, len); in zpool_handle() 301 zph = zpool_find_handle(zhp, pool_name, len); in zpool_handle() 303 zph = zpool_add_handle(zhp, pool_name); in zpool_handle() 305 free(pool_name); in zpool_handle()
|
| H A D | libzfs_pool.c | 4180 const char *pool_name = zpool_get_name(zhp); in zpool_reopen_one() local 4184 error = lzc_reopen(pool_name, *scrub_restart); in zpool_reopen_one() 4187 dgettext(TEXT_DOMAIN, "cannot reopen '%s'"), pool_name)); in zpool_reopen_one() 4199 const char *pool_name = zpool_get_name(zhp); in zpool_sync_one() local 4204 if ((ret = lzc_sync(pool_name, innvl, NULL)) != 0) { in zpool_sync_one() 4207 dgettext(TEXT_DOMAIN, "sync '%s' failed"), pool_name)); in zpool_sync_one()
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzfs_core/ |
| H A D | libzfs_core.c | 490 lzc_sync(const char *pool_name, nvlist_t *innvl, nvlist_t **outnvl) in lzc_sync() argument 493 return (lzc_ioctl(ZFS_IOC_POOL_SYNC, pool_name, innvl, NULL)); in lzc_sync() 1723 lzc_reopen(const char *pool_name, boolean_t scrub_restart) in lzc_reopen() argument 1730 error = lzc_ioctl(ZFS_IOC_POOL_REOPEN, pool_name, args, NULL); in lzc_reopen()
|
| H A D | libzfs_core.abi | 2593 <parameter type-id='80f4b756' name='pool_name'/> 2847 <parameter type-id='80f4b756' name='pool_name'/>
|
| /freebsd-14.2/tests/sys/aio/ |
| H A D | aio_test.c | 983 char pool_name[80]; in aio_zvol_setup() local 993 snprintf(pool_name, sizeof(pool_name), "%s_%s.%d", POOL_NAME, unique, in aio_zvol_setup() 995 snprintf(zvol_name, sizeof(zvol_name), "%s/%s_%s", pool_name, ZVOL_NAME, in aio_zvol_setup() 1009 snprintf(cmd, sizeof(cmd), "zpool create %s $PWD/%s", pool_name, in aio_zvol_setup()
|
| /freebsd-14.2/sys/cam/ctl/ |
| H A D | ctl_private.h | 494 int ctl_pool_create(struct ctl_softc *ctl_softc, const char *pool_name,
|
| H A D | ctl.c | 3931 ctl_pool_create(struct ctl_softc *ctl_softc, const char *pool_name, in ctl_pool_create() argument 3941 snprintf(pool->name, sizeof(pool->name), "CTL IO %s", pool_name); in ctl_pool_create()
|
| /freebsd-14.2/sys/contrib/openzfs/include/ |
| H A D | libzfs.h | 339 _LIBZFS_H char ** zpool_vdev_script_alloc_env(const char *pool_name,
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 3588 const char *pool_name; in name_or_guid_exists() local 3591 &pool_name) == 0); in name_or_guid_exists() 3592 if (strcmp(pool_name, args->poolname) == 0) in name_or_guid_exists() 5480 are_vdevs_in_pool(int argc, char **argv, char *pool_name, in are_vdevs_in_pool() argument 5491 if (pool_name) in are_vdevs_in_pool() 5502 ret = for_each_pool(pool_count, &pool_name, B_TRUE, NULL, in are_vdevs_in_pool() 5554 error_list_unresolved_vdevs(int argc, char **argv, char *pool_name, in error_list_unresolved_vdevs() argument 5565 else if (are_vdevs_in_pool(1, &name, pool_name, cb)) in error_list_unresolved_vdevs()
|
| /freebsd-14.2/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 2011 const char *pool_name; in vdev_probe() local 2070 NULL, &pool_name, &namelen) != 0) { in vdev_probe() 2093 bcopy(pool_name, name, namelen); in vdev_probe()
|