Home
last modified time | relevance | path

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

/freebsd-12.1/tests/sys/cddl/zfs/tests/cachefile/
H A 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
H A 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
H A 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
H A 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)
H A 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)
H A Dcachefile.kshlib41 typeset cachefile=${2:-$CPATH}
43 if [[ -f $cachefile ]]; then
44 RESULT=$($STRINGS $cachefile | $GREP -w $1)
H A DMakefile6 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cachefile
16 ${PACKAGE}FILES+= cachefile.cfg
17 ${PACKAGE}FILES+= cachefile.kshlib
H A Dcachefile.cfg29 # 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}
/freebsd-12.1/sys/contrib/libsodium/packaging/dotnet-core/
H A 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))
157 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
161 os.path.relpath(self.cachefile, self.tempdir),
[all …]
/freebsd-12.1/tools/regression/zfs/zpool/create/
H A 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.1/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_018_pos.ksh105 log_must $ZPOOL create -o delegation=off -o cachefile=$CPATH $TESTPOOL $disk
113 RESULT=$(get_pool_prop cachefile $TESTPOOL)
H A Dzpool_create.cfg77 export CPATH="$TMPDIR/cachefile.${TESTCASE_ID}"
/freebsd-12.1/tests/sys/cddl/zfs/include/
H A 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.1/tests/sys/cddl/zfs/tests/
H A DMakefile12 TESTS_SUBDIRS+= cachefile
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c1458 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, in zpool_find_import_cached() argument
1473 if ((fd = open(cachefile, O_RDONLY)) < 0) { in zpool_find_import_cached()
1546 cachefile) != 0) { in zpool_find_import_cached()
1607 if (import->cachefile != NULL) in zpool_search_import()
1608 return (zpool_find_import_cached(hdl, import->cachefile, in zpool_search_import()
H A Dlibzfs.h400 char *cachefile; /* cachefile to use for import */ member
/freebsd-12.1/etc/mtree/
H A DBSD.tests.dist500 cachefile
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c528 g_importargs.cachefile = optarg; in main()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c731 char *cachefile; in spa_configfile_set() local
735 &cachefile) != 0) in spa_configfile_set()
741 if (cachefile[0] == '\0') in spa_configfile_set()
743 else if (strcmp(cachefile, "none") == 0) in spa_configfile_set()
746 dp->scd_path = spa_strdup(cachefile); in spa_configfile_set()
5596 char *poolname, *cachefile; local
5628 if (nvlist_lookup_string(tryconfig, ZPOOL_CONFIG_CACHEFILE, &cachefile)
5630 zfs_dbgmsg("spa_tryimport: using cachefile '%s'", cachefile);
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c2314 char *cachefile = NULL; in zpool_do_import() local
2332 cachefile = optarg; in zpool_do_import()
2424 if (cachefile && nsearch != 0) { in zpool_do_import()
2515 idata.cachefile = cachefile; in zpool_do_import()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2454 dump_cachefile(const char *cachefile) in dump_cachefile() argument
2461 if ((fd = open64(cachefile, O_RDONLY)) < 0) { in dump_cachefile()
2462 (void) fprintf(stderr, "cannot open '%s': %s\n", cachefile, in dump_cachefile()
2468 (void) fprintf(stderr, "failed to stat '%s': %s\n", cachefile, in dump_cachefile()
/freebsd-12.1/contrib/tcsh/
H A Dcomplete.tcsh274 'c/--cachefile=*/x:<filename>/' \
279 srcdir= x-includes= x-libraries= cachefile= enable- disable- \