/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_hierarchy.ksh | 41 destroy_pool "$poolname" 49 poolname="$TESTPOOL-zvol_hierarchy" 57 log_must zpool create -O mountpoint=none "$poolname" "$vdevfile" 58 log_must zfs create "$poolname/sendfs" 59 log_must zfs create -V 1M -s "$poolname/sendvol" 60 log_must zfs snapshot "$poolname/sendfs@snap" 61 log_must zfs snapshot "$poolname/sendvol@snap" 62 log_must eval "zfs send $poolname/sendfs@snap > $streamfile_fs" 63 log_must eval "zfs send $poolname/sendvol@snap > $streamfile_zvol" 66 log_mustnot eval "zfs receive -F $poolname < [all...] |
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_-e.ksh | 40 destroy_pool "$poolname" 49 poolname="$TESTPOOL-zfsrecv" 50 recvfs="$poolname/recv" 59 log_must zpool create -O mountpoint=none "$poolname" "$vdevfile" 60 log_must zfs create -p "$poolname/fs/a/b" 62 log_must zfs snapshot -r "$poolname@full" 63 log_must zfs snapshot -r "$poolname@incr" 68 log_must eval "zfs send $poolname/fs@full > $streamfile" 80 log_must eval "zfs send $poolname@full > $streamfile" 82 log_must datasetexists "$recvfs_rootds/$poolname" [all...] |
H A D | zfs_receive_new_props.ksh | 41 destroy_pool "$poolname" 53 poolname=sendpool 57 sendfs="$poolname/fs" 65 log_must zpool create -O mountpoint=none "$poolname" "$vdevfile"
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_all_001_pos.ksh | 55 typeset poolname 133 poolname="${TESTPOOL}-$number" 135 "$poolname" \ 138 testpools[$poolname]=$poolname 147 for poolname in $(get_all_pools); do 148 if [[ -z ${testpools[$poolname]} ]]; then 149 log_must_busy zpool export $poolname 159 for poolname in ${testpools[@]}; do 160 if poolexists $poolname ; the [all...] |
H A D | zpool_import_014_pos.ksh | 65 typeset poolname=$2 70 if [[ "name: '$poolname'" != "$labelname" ]]; then
|
H A D | zpool_import.kshlib | 216 typeset poolname=$1 220 status=$(zpool status $poolname 2>&1) 223 log_note "zpool status $poolname failed: $status" 245 expected="$poolname $expected" 268 typeset poolname=$1 275 check_pool_config -q $poolname "$expectedconfig" 280 check_pool_config $poolname "$expectedconfig"
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
H A D | create_upgrade_pool_dat.sh | 32 poolname=v${version}-pool 38 zpool create ${zpool_opts} ${poolname} ${dat} 39 zpool export ${poolname}
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_009_neg.ksh | 50 for poolname in $(get_all_pools); do 51 for snap in $(zfs list -H -t snapshot -o name -r $poolname); do
|
/freebsd-13-stable/contrib/ipfilter/tools/ |
H A D | ippool.c | 138 char *poolname = NULL; local 160 poolname = optarg; 229 if (poolname == NULL) { 230 fprintf(stderr, "poolname not given with add/remove node\n"); 237 err = load_poolnode(role, poolname, &pnode, ttl, ioctl); 239 err = remove_poolnode(role, poolname, &pnode, ioctl); 243 err = load_hashnode(role, poolname, &hnode, ttl, ioctl); 245 err = remove_hashnode(role, poolname, &hnode, ioctl); 260 char *poolname, *typearg = NULL; local 267 poolname 692 char *kernel, *core, *poolname; local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/zed.d/ |
H A D | pool_import-led.sh | 175 poolname=$(zed_guid_to_pool "$ZEVENT_POOL_GUID") 176 process_pool "$poolname"
|
H A D | statechange-led.sh | 175 poolname=$(zed_guid_to_pool "$ZEVENT_POOL_GUID") 176 process_pool "$poolname"
|
H A D | vdev_attach-led.sh | 175 poolname=$(zed_guid_to_pool "$ZEVENT_POOL_GUID") 176 process_pool "$poolname"
|
H A D | vdev_clear-led.sh | 175 poolname=$(zed_guid_to_pool "$ZEVENT_POOL_GUID") 176 process_pool "$poolname"
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
H A D | xattr_012_pos.ksh | 56 poolname=$1 57 psize=$(zpool list -H -o allocated $poolname)
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/xattr/ |
H A D | xattr_012_pos.ksh | 63 poolname=$1 64 psize=$( $ZPOOL list -H -o used $poolname )
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/zinject/ |
H A D | zinject.kshlib | 49 # otherwise, $2 should be poolname 170 function check_status #poolname, errors 172 typeset poolname=$1 176 ereport=$($ZPOOL status -v $poolname | $GREP "$err") 178 $ZPOOL status -v $poolname
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zinject/ |
H A D | zinject.h | 58 int level, zinject_record_t *record, char *poolname, char *dataset);
|
H A D | translate.c | 218 int level, zinject_record_t *record, char *poolname, char *dataset) 260 (void) strcpy(poolname, object); 300 (void) strcpy(poolname, dataset); 301 if ((slash = strchr(poolname, '/')) != NULL) 217 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument
|
/freebsd-13-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd.cc | 233 const char *poolname; local 235 poolname = zpool_get_name(*pool); 239 "find pool config for pool %s", poolname); 245 "find pool guid for pool %s", poolname); 252 "pool_name=%s pool_guid=%" PRIu64 "\n", poolname, poolGUID);
|
H A D | case_file.cc | 486 const char *poolname; local 497 poolname = zpool_get_name(zhp); 501 "config for pool %s", poolname); 507 "tree for pool %s", poolname); 532 "No spares available for pool %s", poolname); 544 poolname, i); 565 poolname, i, error); 573 poolname, i, error); 1048 const char *poolname; local 1060 poolname [all...] |
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_config.c | 340 zpool_skip_pool(const char *poolname) argument 348 int namelen = strlen(poolname); 361 if (len == namelen && 0 == strncmp(cur, poolname, len)) 375 if (len == namelen && 0 == strncmp(cur, poolname, len)) {
|
/freebsd-13-stable/sys/contrib/openzfs/include/ |
H A D | libzutil.h | 65 const char *poolname; /* name of a pool to find */ member in struct:importargs
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/ |
H A D | add_nested_replacing_spare.ksh | 91 zpool status | awk -v poolname="$TESTPOOL" -v type="$type" 'BEGIN {s=""} 92 $1 ~ poolname {c=4}; (c && c--) { s=s$1":" } 93 END { if (s != poolname":"type"-0:spare-0:replacing-0:") exit 1; }'
|
/freebsd-13-stable/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | _libzfs_core.py | 908 poolname, program, instrlimit=ZCP_DEFAULT_INSTRLIMIT, 912 Executes a script as a ZFS channel program on pool ``poolname``. 914 :param bytes poolname: the name of the pool. 940 poolname, program, instrlimit, memlimit, params_nv, outnvl) 942 ret, poolname, output.get(b"error")) 947 poolname, program, instrlimit=ZCP_DEFAULT_INSTRLIMIT, 951 Executes a script as a read-only ZFS channel program on pool ``poolname``. 959 :param bytes poolname: the name of the pool. 985 poolname, program, instrlimit, memlimit, params_nv, outnvl) 987 ret, poolname, outpu [all...] |
/freebsd-13-stable/stand/libsa/zfs/ |
H A D | zfs.c | 1558 static char poolname[ZFS_MAXNAMELEN]; local 1575 memcpy(poolname, np, sep - np); 1576 poolname[sep - np] = '\0'; 1585 spa = spa_find_by_name(poolname); 1643 split_devname(const char *name, char *poolname, size_t size, argument 1650 ASSERT(poolname != NULL); 1663 strlcpy(poolname, name, len + 1); 1674 static char poolname[ZFS_MAXNAMELEN]; local 1680 if (split_devname(name, poolname, sizeof(poolname), 1696 char poolname[ZFS_MAXNAMELEN]; local 1800 char poolname[ZFS_MAXNAMELEN], *root; local [all...] |