Home
last modified time | relevance | path

Searched refs:cachefile (Results 1 – 25 of 34) sorted by path

12

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c1987 } cachefile; typedef
1990 setup_file(char *base, const char *path, cachefile *cf) in setup_file()
2036 cache_write(cachefile cf, char *buf, int size) in cache_write()
2061 cache_close(cachefile cf) in cache_close()
2094 cachefile outfile, outupdt; in dircache_updatefile()
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_db.c150 char cachefile[MAXPATHLEN]; variable
155 (persistent) ? DLMGMT_PERSISTENT_DB_PATH : cachefile);
1505 if (zone_file_exists(zoneroot, cachefile)) { in dlmgmt_db_init()
H A Ddlmgmt_impl.h108 extern char cachefile[];
H A Ddlmgmt_main.c299 (void) snprintf(cachefile, MAXPATHLEN, "%s/%s%s", in dlmgmt_init()
324 (void) snprintf(cachefile, MAXPATHLEN, "%s/%s", in dlmgmt_init()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h214 struct fileinfo *cachefile();
H A Dinode.c51 cachefile(feblock, len) in cachefile() function
H A Dpass1.c104 (void) cachefile(rootblock, rootlen); in pass1()
154 (void) cachefile(fidp->fid_icb.lad_ext_loc, in pass1()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2630 dump_cachefile(const char *cachefile) in dump_cachefile() argument
2637 if ((fd = open64(cachefile, O_RDONLY)) < 0) { in dump_cachefile()
2638 (void) printf("cannot open '%s': %s\n", cachefile, in dump_cachefile()
2644 (void) printf("failed to stat '%s': %s\n", cachefile, in dump_cachefile()
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c491 g_importargs.cachefile = optarg; in main()
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c2843 char *cachefile = NULL; in zpool_do_import() local
2861 cachefile = optarg; in zpool_do_import()
2956 if (cachefile && nsearch != 0) { in zpool_do_import()
3058 idata.cachefile = cachefile; in zpool_do_import()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dlibzutil.h68 const char *cachefile; /* cachefile to use for import */ member
H A Dzutil_import.c1356 zpool_find_import_cached(libpc_handle_t *hdl, const char *cachefile, in zpool_find_import_cached() argument
1371 if ((fd = open(cachefile, O_RDONLY)) < 0) { in zpool_find_import_cached()
1444 cachefile) != 0) { in zpool_find_import_cached()
1484 if (import->cachefile != NULL) in zpool_search_import()
1485 pools = zpool_find_import_cached(&handle, import->cachefile, in zpool_search_import()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-zfstest.p5m276 dir path=opt/zfs-tests/tests/functional/cachefile
277 file path=opt/zfs-tests/tests/functional/cachefile/cachefile.cfg mode=0444
278 file path=opt/zfs-tests/tests/functional/cachefile/cachefile.kshlib mode=0444
279 file path=opt/zfs-tests/tests/functional/cachefile/cachefile_001_pos mode=0555
280 file path=opt/zfs-tests/tests/functional/cachefile/cachefile_002_pos mode=0555
281 file path=opt/zfs-tests/tests/functional/cachefile/cachefile_003_pos mode=0555
282 file path=opt/zfs-tests/tests/functional/cachefile/cachefile_004_pos mode=0555
/illumos-gate/usr/src/test/zfs-tests/runfiles/
H A Dcommon.run89 [tests/functional/cachefile]
92 tags = ['functional', 'cachefile']
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/
H A DMakefile19 TARGETDIR = $(ROOTOPTPKG)/tests/functional/cachefile
H A Dcachefile.cfg32 export CPATH1=/var/tmp/cachefile.$$
33 export CPATH2=/cachefile.$$
H A Dcachefile.kshlib39 typeset cachefile=${2:-$CPATH}
41 RESULT=$(strings $cachefile | grep -w $1)
H A Dcachefile_001_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
77 log_must zpool create -o cachefile=${opts[i]} $TESTPOOL $DISKS
85 PROP=$(get_pool_prop cachefile $TESTPOOL)
H A Dcachefile_002_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
64 log_must zpool create -o cachefile=none $TESTPOOL $DISKS
73 log_must zpool import -o cachefile=none -d $DEVICEDIR $TESTPOOL
77 log_must zpool import -o cachefile=$CPATH -d $DEVICEDIR $TESTPOOL
H A Dcachefile_003_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
83 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
91 PROP=$(get_pool_prop cachefile $TESTPOOL)
H A Dcachefile_004_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
92 log_must zpool create -o cachefile=$CPATH1 $TESTPOOL1 $vdev0
94 log_must zpool create -o cachefile=$CPATH1 $TESTPOOL2 $vdev1
97 log_must zpool set cachefile=$CPATH2 $TESTPOOL1
99 log_must zpool set cachefile=$CPATH2 $TESTPOOL2
112 log_must zpool set cachefile=$CPATH2 $TESTPOOL1
115 log_must zpool set cachefile=$CPATH2 $TESTPOOL2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create.cfg94 export CPATH="/var/tmp/cachefile.create"
H A Dzpool_create_018_pos.ksh89 log_must zpool create -o delegation=off -o cachefile=$CPATH $TESTPOOL $disk
97 RESULT=$(get_pool_prop cachefile $TESTPOOL)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get.cfg43 "cachefile"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dimport_cachefile_device_added.ksh45 log_must zpool create -o cachefile=$CPATH $TESTPOOL1 $poolcreate

12