/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_006_pos.ksh | 47 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 48 typeset fssnap=$fs@snap 73 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 74 typeset fssnap=$fs@snap 99 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 100 typeset fssnap=$fs@snap 113 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 114 typeset fssnap=$fs@snap
|
/freebsd-current/usr.sbin/bsdinstall/partedit/ |
H A D | partedit_efi.c | 61 is_fs_bootable(const char *part_type, const char *fs) argument 64 if (strcmp(fs, "freebsd-ufs") == 0)
|
/freebsd-current/tests/sys/cddl/zfs/tests/zones/ |
H A D | zones_001_pos.ksh | 94 log_must $ZFS create ${DATASET}/fs 95 if [ ! -d /${DATASET}/fs ] 99 log_must $ZFS destroy ${DATASET}/fs 103 log_mustnot $ZFS create zonepool/fs
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/ |
H A D | zfs_receive_006_pos.ksh | 36 # 'zfs recv -d <fs>' should create ancestor filesystem if it does not 40 # 1. Create pool and fs. 41 # 2. Create some files in fs and take snapshots. 79 log_assert "'zfs recv -d <fs>' should succeed no matter ancestor filesystem \ 84 fs=$TESTPOOL/$TESTFS/$TESTFS1 85 snap1=$fs@snap1 86 snap2=$fs@snap2 92 log_must $ZFS create $fs 94 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" [all...] |
H A D | zfs_receive_003_pos.ksh | 39 # 1. Create pool and fs. 40 # 2. Create some files in fs and take a snapshot1. 41 # 3. Create another files in fs and take snapshot2. 43 # 5. fs rollback to snapshot1 and modify fs. 72 fs=$TESTPOOL/$TESTFS; snap1=$fs@snap1; snap2=$fs@snap2 74 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" [all...] |
/freebsd-current/contrib/kyua/model/ |
H A D | test_program_test.cpp | 49 #include "utils/fs/operations.hpp" 50 #include "utils/fs/path.hpp" 53 namespace fs = utils::fs; 85 const utils::fs::path& binary_, 86 const utils::fs::path& root_, 132 "mock", fs::path("binary"), fs::path("root"), "suite-name", tp_md, 137 ATF_REQUIRE_EQ(fs::path("binary"), test_program.relative_path()); 138 ATF_REQUIRE_EQ(fs [all...] |
H A D | context.cpp | 32 #include "utils/fs/path.hpp" 36 namespace fs = utils::fs; 43 fs::path _cwd; 52 impl(const fs::path& cwd_, 76 model::context::context(const fs::path& cwd_, 92 const fs::path&
|
/freebsd-current/contrib/kyua/utils/ |
H A D | stacktrace.cpp | 50 #include "utils/fs/operations.hpp" 51 #include "utils/fs/path.hpp" 61 namespace fs = utils::fs; 104 const fs::path& _gdb; 107 const fs::path& _program; 110 const fs::path& _core_name; 120 run_gdb(const fs::path& gdb_, const fs::path& program_, 121 const fs [all...] |
/freebsd-current/contrib/atf/atf-c++/detail/ |
H A D | test_helpers.cpp | 37 #include "atf-c++/detail/fs.hpp" 67 const atf::fs::path sfilepath = 68 atf::fs::path(tc.get_config_var("srcdir")) / sfile; 86 atf::fs::path 92 return atf::fs::path(tc.get_config_var("srcdir")) / 95 return atf::fs::path(tc.get_config_var("srcdir")) / 98 return atf::fs::path(atf_c_tests_base) / helper;
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | user_property_004_pos.ksh | 47 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 48 typeset fssnap=$fs@snap 71 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 72 typeset fssnap=$fs@snap 75 log_must zfs set $prop_name="$value" $fs 76 log_must check_user_prop $fs $prop_name "$value"
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/ |
H A D | projectquota_common.kshlib | 61 typeset fs=$1 62 typeset mntp=$(get_prop mountpoint $fs) 68 typeset fs=$2 71 typeset value=$(get_prop $prop $fs) 80 typeset fs=$1 82 typeset cnt=$(zfs projectspace -oname,objused $fs |
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
H A D | userquota_common.kshlib | 75 typeset fs=$1 76 typeset mntp=$(get_prop mountpoint $fs) 85 typeset fs=$1 86 typeset mntp=$(get_prop mountpoint $fs) 95 typeset fs=$2 98 typeset value=$(get_prop $prop $fs)
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_promote/ |
H A D | zfs_promote_002_pos.ksh | 57 log_must $ZFS promote $fs 73 fs=$TESTPOOL/$TESTFS 74 snap=$fs@$TESTSNAP 75 snap1=$fs@$TESTSNAP1 101 origin_prop=$(get_prop origin $fs) 103 log_fail "The dependency of $fs is not correct."
|
/freebsd-current/tests/sys/cddl/zfs/tests/rsend/ |
H A D | rsend_009_pos.ksh | 78 log_must $ZFS create bpool/fs 79 mntpnt=$(get_prop mountpoint bpool/fs) 82 log_must $ZFS snapshot bpool/fs@snap 83 log_must eval "$ZFS send -R bpool/fs@snap > $BACKDIR/fs-R" 84 log_mustnot eval "$ZFS receive -d -F spool < $BACKDIR/fs-R" 86 log_must datasetnonexists spool/fs 94 log_must $ZFS destroy -rf bpool/fs 100 log_must datasetnonexists spool/fs
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | user_property_004_pos.ksh | 56 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 57 typeset fssnap=$fs@snap 89 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 90 typeset fssnap=$fs@snap 93 log_must eval "$ZFS set $prop_name='$value' $fs" 94 log_must eval "check_user_prop $fs $prop_name '$value'"
|
/freebsd-current/contrib/kyua/utils/fs/ |
H A D | lua_module_test.cpp | 29 #include "utils/fs/lua_module.hpp" 37 #include "utils/fs/operations.hpp" 38 #include "utils/fs/path.hpp" 40 namespace fs = utils::fs; 48 fs::open_fs(state); 49 lutok::do_string(state, "return fs.basename", 0, 1, 0); 51 lutok::do_string(state, "return fs.dirname", 0, 1, 0); 53 lutok::do_string(state, "return fs.join", 0, 1, 0); 63 fs [all...] |
/freebsd-current/sbin/fsck_ffs/ |
H A D | setup.c | 41 #include <ufs/ffs/fs.h> 61 static int calcsb(char *dev, int devfd, struct fs *fs); 275 struct fs *fs; local 283 fs = &sblock; 288 lbn = howmany(fs->fs_size, fs->fs_frag); 292 size = fragroundup(fs, 293 DIP(snapip->i_dp, di_size) - lblktosize(fs, lb 403 struct fs *fs; local 510 calcsb(char *dev, int devfd, struct fs *fs) argument [all...] |
/freebsd-current/contrib/kyua/engine/ |
H A D | scheduler.hpp | 72 #include "utils/fs/path_fwd.hpp" 113 const utils::fs::path& stdout_path, 114 const utils::fs::path& stderr_path) const = 0; 130 const utils::fs::path& control_directory) 147 const utils::fs::path& control_directory) 162 const utils::fs::path& control_directory, 163 const utils::fs::path& stdout_path, 164 const utils::fs::path& stderr_path) const = 0; 176 lazy_test_program(const std::string&, const utils::fs::path&, 177 const utils::fs [all...] |
/freebsd-current/tools/tools/vop_table/ |
H A D | vop_table.pl | 48 # Array of { file , fs } 49 @fs = (); 50 $#fs = 0; 52 # Array of available vops for a given fs 84 # Need to sort based on $fs[]->{fs} 87 $sz = $#fs; 88 $#fs++; 89 $fs[$sz]->{file} = $1; 90 $fs[ [all...] |
/freebsd-current/contrib/kyua/store/ |
H A D | read_transaction_test.cpp | 45 #include "utils/fs/path.hpp" 52 namespace fs = utils::fs; 65 store::write_backend::open_rw(fs::path("test.db")); // Create database. 67 fs::path("test.db")); 84 fs::path("test.db")); 94 fs::path("test.db")); 111 fs::path("test-bad-name.db")); 124 fs::path("test-bad-name.db")); 132 fs [all...] |
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_extern.h | 42 struct fs; 61 void ffs_blkfree(struct ufsmount *, struct fs *, struct vnode *, 68 uint32_t ffs_calc_sbhash(struct fs *); 69 int ffs_checkfreefile(struct fs *, struct vnode *, ino_t); 70 void ffs_clrblock(struct fs *, uint8_t *, ufs1_daddr_t); 71 void ffs_clusteracct(struct fs *, struct cg *, ufs1_daddr_t, int); 75 void ffs_fragacct(struct fs *, int, int32_t [], int); 76 int ffs_freefile(struct ufsmount *, struct fs *, struct vnode *, ino_t, 78 void ffs_fserr(struct fs *, ino_t, char *); 79 int ffs_getcg(struct fs *, struc [all...] |
/freebsd-current/sbin/dump/ |
H A D | optr.c | 281 allocfsent(const struct fstab *fs) argument 285 new = (struct fstab *)malloc(sizeof (*fs)); 287 (new->fs_file = strdup(fs->fs_file)) == NULL || 288 (new->fs_type = strdup(fs->fs_type)) == NULL || 289 (new->fs_spec = strdup(fs->fs_spec)) == NULL) 291 new->fs_passno = fs->fs_passno; 292 new->fs_freq = fs->fs_freq; 306 struct fstab *fs; local 314 while ((fs = getfsent()) != NULL) { 315 if ((strcmp(fs 339 struct fstab *fs; local [all...] |
/freebsd-current/stand/libsa/ |
H A D | ext2fs.c | 136 #define fsb_to_db(fs, blk) ((blk) << (fs)->fs_fsbtodb) 144 #define ino_to_bgo(fs, ino) (((ino) - 1) % (fs)->fs_ipg) 145 #define ino_to_bg(fs, ino) (((ino) - 1) / (fs)->fs_ipg) 146 #define ino_to_db(fs, bg, ino) \ 147 fsb_to_db(fs, ((bg)[ino_to_bg(fs, ino)].bg_inotbl + \ 148 ino_to_bgo(fs, in 333 struct ext2fs *fs; local 497 struct ext2fs *fs = fp->f_fs; local 558 struct ext2fs *fs = fp->f_fs; local 600 struct ext2fs *fs = fp->f_fs; local 700 struct ext2fs *fs = fp->f_fs; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | FileOutputBuffer.cpp | 35 OnDiskBuffer(StringRef Path, fs::TempFile Temp, fs::mapped_file_region Buf) 70 fs::mapped_file_region Buffer; 71 fs::TempFile Temp; 98 using namespace sys::fs; 129 Expected<fs::TempFile> FileOrErr = 130 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode); 133 fs::TempFile File = std::move(*FileOrErr); 135 if (auto EC = fs::resize_file_before_mapping_readwrite(File.FD, Size)) { 142 fs [all...] |
/freebsd-current/contrib/kyua/utils/config/ |
H A D | parser_test.cpp | 39 #include "utils/fs/path.hpp" 42 namespace fs = utils::fs; 93 mock_parser(tree).parse(fs::path("output.lua")); 109 mock_parser(tree).parse(fs::path("output.lua"))); 125 mock_parser(tree).parse(fs::path("output.lua")); 146 mock_parser(tree).parse(fs::path("output.lua")); 162 mock_parser(tree1).parse(fs::path("output.lua"))); 171 mock_parser(tree2).parse(fs::path("output.lua"))); 183 mock_parser(tree).parse(fs [all...] |