Home
last modified time | relevance | path

Searched refs:cachefile (Results 1 – 22 of 22) sorted by relevance

/freebsd-12-stable/tests/sys/cddl/zfs/tests/cachefile/
Dcachefile_test.sh38 . $(atf_get_srcdir)/cachefile.kshlib
39 . $(atf_get_srcdir)/cachefile.cfg
55 . $(atf_get_srcdir)/cachefile.kshlib
56 . $(atf_get_srcdir)/cachefile.cfg
72 . $(atf_get_srcdir)/cachefile.kshlib
73 . $(atf_get_srcdir)/cachefile.cfg
89 . $(atf_get_srcdir)/cachefile.kshlib
90 . $(atf_get_srcdir)/cachefile.cfg
Dcachefile_004_pos.ksh33 . $STF_SUITE/tests/cachefile/cachefile.kshlib
103 log_must $ZPOOL create -o cachefile=$CPATH1 $TESTPOOL1 $vdev0
105 log_must $ZPOOL create -o cachefile=$CPATH1 $TESTPOOL2 $vdev1
108 log_must $ZPOOL set cachefile=$CPATH2 $TESTPOOL1
110 log_must $ZPOOL set cachefile=$CPATH2 $TESTPOOL2
123 log_must $ZPOOL set cachefile=$CPATH2 $TESTPOOL1
126 log_must $ZPOOL set cachefile=$CPATH2 $TESTPOOL2
Dcachefile_002_pos.ksh33 . $STF_SUITE/tests/cachefile/cachefile.kshlib
75 log_must $ZPOOL create -o cachefile=none $TESTPOOL $DISKS
84 log_must $ZPOOL import -o cachefile=none -d $DEVICEDIR $TESTPOOL
88 log_must $ZPOOL import -o cachefile=$CPATH -d $DEVICEDIR $TESTPOOL
Dcachefile_001_pos.ksh33 . $STF_SUITE/tests/cachefile/cachefile.kshlib
89 log_must $ZPOOL create -o cachefile=${opts[i]} $TESTPOOL $DISKS
97 PROP=$(get_pool_prop cachefile $TESTPOOL)
Dcachefile_003_pos.ksh33 . $STF_SUITE/tests/cachefile/cachefile.kshlib
95 log_must $ZPOOL create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
103 PROP=$(get_pool_prop cachefile $TESTPOOL)
Dcachefile.cfg23 # $FreeBSD: stable/12/tests/sys/cddl/zfs/tests/cachefile/cachefile.cfg 329867 2018-02-23 16:31:00Z …
29 # ident "@(#)cachefile.cfg 1.1 08/02/29 SMI"
37 export CPATH1=$TMPDIR/cachefile.1.${TESTCASE_ID}
38 export CPATH2=$TMPDIR/cachefile.2.${TESTCASE_ID}
Dcachefile.kshlib41 typeset cachefile=${2:-$CPATH}
43 if [[ -f $cachefile ]]; then
44 RESULT=$($STRINGS $cachefile | $GREP -w $1)
DMakefile6 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cachefile
16 ${PACKAGE}FILES+= cachefile.cfg
17 ${PACKAGE}FILES+= cachefile.kshlib
/freebsd-12-stable/sys/contrib/libsodium/packaging/dotnet-core/
Dprepare.py61 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
73 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
77 os.path.relpath(self.cachefile, self.tempdir),
85 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
97 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
101 os.path.relpath(self.cachefile, self.tempdir),
109 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
133 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
145 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
157 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
[all …]
/freebsd-12-stable/tools/regression/zfs/zpool/create/
Doption-o.t75 expect_ok ${ZPOOL} create -o cachefile=none ${name0} ${disk0}
80 expect "${exp}" ${ZPOOL} get cachefile ${name0}
83 expect_ok ${ZPOOL} create -o cachefile=/tmp/${name1} ${name0} ${disk0}
88 expect "${exp}" ${ZPOOL} get cachefile ${name0}
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
Dzpool_create_018_pos.ksh105 log_must $ZPOOL create -o delegation=off -o cachefile=$CPATH $TESTPOOL $disk
113 RESULT=$(get_pool_prop cachefile $TESTPOOL)
Dzpool_create.cfg77 export CPATH="$TMPDIR/cachefile.${TESTCASE_ID}"
/freebsd-12-stable/tests/sys/cddl/zfs/include/
Dlibtest.kshlib2526 cachefile=$(get_pool_prop cachefile $pool)
2529 case "$cachefile" in
2535 cachefile="${dir}/zpool.cache"
2543 [[ $ret -eq 0 || $ret -eq 1 ]] && print "$cachefile"
2554 cachefile=$(cachefile_for_pool $pool)
2556 log_must test -e "${cachefile}"
2557 log_must zdb -U ${cachefile} -C ${pool}
2570 cachefile=$(cachefile_for_pool $pool)
2574 1) opts="-U $cachefile -C" ;;
/freebsd-12-stable/tests/sys/cddl/zfs/tests/
DMakefile12 TESTS_SUBDIRS+= cachefile
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/
Dlibzfs_import.c1470 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, in zpool_find_import_cached() argument
1485 if ((fd = open(cachefile, O_RDONLY)) < 0) { in zpool_find_import_cached()
1558 cachefile) != 0) { in zpool_find_import_cached()
1621 if (import->cachefile != NULL) in zpool_search_import()
1622 pools = zpool_find_import_cached(hdl, import->cachefile, in zpool_search_import()
Dlibzfs.h410 char *cachefile; /* cachefile to use for import */ member
/freebsd-12-stable/etc/mtree/
DBSD.tests.dist506 cachefile
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zhack/
Dzhack.c495 g_importargs.cachefile = optarg; in main()
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/
Dzpool_main.c2500 char *cachefile = NULL; in zpool_do_import() local
2518 cachefile = optarg; in zpool_do_import()
2610 if (cachefile && nsearch != 0) { in zpool_do_import()
2701 idata.cachefile = cachefile; in zpool_do_import()
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dspa.c761 char *cachefile; in spa_configfile_set() local
765 &cachefile) != 0) in spa_configfile_set()
771 if (cachefile[0] == '\0') in spa_configfile_set()
773 else if (strcmp(cachefile, "none") == 0) in spa_configfile_set()
776 dp->scd_path = spa_strdup(cachefile); in spa_configfile_set()
6010 char *poolname, *cachefile; local
6042 if (nvlist_lookup_string(tryconfig, ZPOOL_CONFIG_CACHEFILE, &cachefile)
6044 zfs_dbgmsg("spa_tryimport: using cachefile '%s'", cachefile);
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zdb/
Dzdb.c2507 dump_cachefile(const char *cachefile) in dump_cachefile() argument
2514 if ((fd = open64(cachefile, O_RDONLY)) < 0) { in dump_cachefile()
2515 (void) fprintf(stderr, "cannot open '%s': %s\n", cachefile, in dump_cachefile()
2521 (void) fprintf(stderr, "failed to stat '%s': %s\n", cachefile, in dump_cachefile()
/freebsd-12-stable/contrib/tcsh/
Dcomplete.tcsh273 'c/--cachefile=*/x:<filename>/' \
278 srcdir= x-includes= x-libraries= cachefile= enable- disable- \