Searched refs:fs (Results 1 - 25 of 1468) sorted by relevance

1234567891011>>

/freebsd-current/sys/fs/ext2fs/
H A Dfs.h102 #define fsbtodb(fs, b) ((daddr_t)(b) << (fs)->e2fs_fsbtodb)
103 #define dbtofsb(fs, b) ((b) >> (fs)->e2fs_fsbtodb)
106 #define ino_to_cg(fs, x) (((x) - 1) / (fs->e2fs_ipg))
109 #define ino_to_fsba(fs, x) \
110 (e2fs_gd_get_i_tables(&(fs)->e2fs_gd[ino_to_cg((fs), (x))]) + \
111 (((x) - 1) % (fs)
[all...]
/freebsd-current/contrib/kyua/utils/fs/
H A Dpath_fwd.hpp29 /// \file utils/fs/path_fwd.hpp
30 /// Forward declarations for utils/fs/path.hpp
36 namespace fs { namespace in namespace:utils
42 } // namespace fs
H A Dauto_cleaners.cpp29 #include "utils/fs/auto_cleaners.hpp"
32 #include "utils/fs/exceptions.hpp"
33 #include "utils/fs/operations.hpp"
34 #include "utils/fs/path.hpp"
40 namespace fs = utils::fs;
45 struct utils::fs::auto_directory::impl : utils::noncopyable {
47 fs::path _directory;
66 } catch (const fs::error& e) {
83 fs
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.destroy_fs.ksh21 fs=$TESTPOOL/$TESTFS/testchild
25 destroy_dataset $fs
30 log_must zfs create $fs
31 log_must zfs unmount $fs
33 log_must datasetexists $fs
35 log_must_program_sync $TESTPOOL - $fs <<-EOF
37 fs = arg["argv"][1]
38 err = zfs.sync.destroy(fs)
39 msg = "destroying " .. fs .. " err=" .. err
43 log_mustnot datasetexists $fs
[all...]
H A Dtst.get_index_props.ksh26 fs=$TESTPOOL/$TESTFS/testchild
27 snap=$fs@$TESTSNAP
30 destroy_dataset $fs "-R"
35 log_must zfs create -o version=5 $fs
36 create_snapshot $fs $TESTSNAP
39 log_must_program $TESTPOOL $ZCP_ROOT/synctask_core/tst.get_index_props.zcp $fs $snap $os
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_010_neg.ksh49 if ! ismounted $fs; then
50 log_must zfs mount $fs
57 fs=$TESTPOOL/$TESTFS
58 if ! ismounted $fs; then
59 log_must zfs mount $fs
62 log_mustnot zfs mount $fs
64 mpt=$(get_prop mountpoint $fs)
65 log_must zfs umount $fs
69 log_must zfs mount $fs
71 log_mustnot zfs mount $fs
[all...]
/freebsd-current/libexec/rc/rc.d/
H A Dzfskeys44 local fs="$1"
49 if [ "$(zfs get -Ho value keystatus "$fs")" = 'available' ]; then
50 echo "Key already loaded for $fs."
51 elif keytest=$(zfs load-key -n -L "$kl" "$fs" 2>&1); then
52 echo "Loading key for $fs from $kl.."
53 if ! keyload=$(timeout $zfskeys_timeout zfs load-key -L "$kl" "$fs" 2>&1) ; then
55 echo "Timed out loading key from $kl for $fs"
57 echo "Failed to load key from $kl for $fs:"
62 echo "Could not verify key from $kl for $fs:"
66 echo "Key file $k not found, empty or unreadable. Skipping $fs
[all...]
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/
H A Dzfs_mount_010_neg.ksh58 if ! ismounted $fs; then
59 log_must $ZFS mount $fs
66 fs=$TESTPOOL/$TESTFS
67 if ! ismounted $fs; then
68 log_must $ZFS mount $fs
71 log_mustnot $ZFS mount $fs
73 mpt=$(get_prop mountpoint $fs)
74 log_must $ZFS umount $fs
77 log_mustnot $ZFS mount $fs
/freebsd-current/sys/kern/
H A DMake.tags.inc17 ${SYS}/fs/autofs/*.[ch] \
18 ${SYS}/fs/cd9660/*.[ch] \
19 ${SYS}/fs/cuse/*.[ch] \
20 ${SYS}/fs/deadfs/*.[ch] \
21 ${SYS}/fs/devfs/*.[ch] \
22 ${SYS}/fs/ext2fs/*.[ch] \
23 ${SYS}/fs/fdescfs/*.[ch] \
24 ${SYS}/fs/fifofs/*.[ch] \
25 ${SYS}/fs/fuse/*.[ch] \
26 ${SYS}/fs/msdosf
[all...]
/freebsd-current/sys/ufs/ffs/
H A Dffs_subr.c43 #include <ufs/ffs/fs.h>
46 uint32_t ffs_calc_sbhash(struct fs *);
69 #include <ufs/ffs/fs.h>
80 ffs_verify_dinode_ckhash(struct fs *fs, struct ufs2_dinode *dip) argument
87 if (dip->di_mode == 0 || (fs->fs_metackhash & CK_INODE) == 0)
106 ffs_update_dinode_ckhash(struct fs *fs, struct ufs2_dinode *dip) argument
109 if (dip->di_mode == 0 || (fs->fs_metackhash & CK_INODE) == 0)
124 static int readsuper(void *, struct fs **, off_
153 struct fs *fs; local
251 struct fs *fs; local
362 validate_sblock(struct fs *fs, int flags) argument
791 ffs_sbput(void *devfd, struct fs *fs, off_t loc, int (*writefunc)(void *devfd, off_t loc, void *buf, int size)) argument
840 ffs_calc_sbhash(struct fs *fs) argument
877 ffs_fragacct(struct fs *fs, int fragmap, int32_t fraglist[], int cnt) argument
909 ffs_isblock(struct fs *fs, unsigned char *cp, ufs1_daddr_t h) argument
938 ffs_isfreeblock(struct fs *fs, uint8_t *cp, ufs1_daddr_t h) argument
963 ffs_clrblock(struct fs *fs, uint8_t *cp, ufs1_daddr_t h) argument
991 ffs_setblock(struct fs *fs, unsigned char *cp, ufs1_daddr_t h) argument
1021 ffs_clusteracct(struct fs *fs, struct cg *cgp, ufs1_daddr_t blkno, int cnt) argument
[all...]
/freebsd-current/contrib/kyua/store/
H A Dmigrate.hpp35 #include "utils/fs/path_fwd.hpp"
43 utils::fs::path migration_file(const int, const int);
44 void backup_database(const utils::fs::path&, const int);
50 void migrate_schema(const utils::fs::path&);
H A Dlayout.hpp64 #include "utils/fs/path_fwd.hpp"
73 utils::fs::path find_results(const std::string&);
74 results_id_file_pair new_db(const std::string&, const utils::fs::path&);
75 utils::fs::path new_db_for_migration(const utils::fs::path&,
77 utils::fs::path query_store_dir(void);
78 std::string test_suite_for_path(const utils::fs::path&);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mount/
H A Dumount_001.ksh46 for fs in 1 2 3; do
47 log_must mounted $TESTDIR.$fs
48 log_must zfs umount $TESTPOOL/$TESTFS.$fs
49 log_must unmounted $TESTDIR.$fs
50 log_must zfs mount $TESTPOOL/$TESTFS.$fs
51 log_must mounted $TESTDIR.$fs
/freebsd-current/lib/geom/journal/
H A Dgeom_journal_ufs.c34 #include <ufs/ffs/fs.h>
43 static struct fs *
47 struct fs *fs; local
51 fs = &disk.d_fs;
53 return (fs);
66 struct fs *fs; local
69 fs = read_superblock(prov);
70 if (fs
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dshare_mount_001_neg.ksh48 log_must zfs set mountpoint=$oldmpt $fs
54 fs=$TESTPOOL/$TESTFS
55 oldmpt=$(get_prop mountpoint $fs)
58 log_must zfs set mountpoint=$propval $fs
60 log_mustnot zfs mount $fs
61 log_mustnot zfs share $fs
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dshare_mount_001_neg.ksh57 log_must $ZFS set mountpoint=$oldmpt $fs
63 fs=$TESTPOOL/$TESTFS
64 oldmpt=$(get_prop mountpoint $fs)
67 log_must $ZFS set mountpoint=$propval $fs
69 log_mustnot $ZFS mount $fs
70 log_mustnot $ZFS share $fs
/freebsd-current/usr.sbin/makefs/ffs/
H A Dffs_alloc.c53 #include <ufs/ffs/fs.h>
66 static int32_t ffs_mapsearch(struct fs *, struct cg *, daddr_t, int);
91 struct fs *fs = ip->i_fs; local
96 if (size > fs->fs_bsize || fragoff(fs, size) != 0) {
98 fs->fs_bsize, size);
100 if (size == fs->fs_bsize && fs->fs_cstotal.cs_nbfree == 0)
102 if (bpref >= fs
151 struct fs *fs; local
190 struct fs *fs; local
243 struct fs *fs; local
295 struct fs *fs = ip->i_fs; local
379 struct fs *fs = ip->i_fs; local
429 struct fs *fs = ip->i_fs; local
527 ffs_mapsearch(struct fs *fs, struct cg *cgp, daddr_t bpref, int allocsiz) argument
594 ffs_clusteracct(struct fs *fs, struct cg *cgp, int32_t blkno, int cnt) argument
[all...]
H A Dnewfs_extern.h31 struct fs *ffs_mkfs(const char *, const fsinfo_t *, time_t);
32 void ffs_write_superblock(struct fs *, const fsinfo_t *);
/freebsd-current/contrib/kyua/engine/
H A Dkyuafile.hpp45 #include "utils/fs/path.hpp"
70 utils::fs::path _source_root;
73 utils::fs::path _build_root;
79 explicit kyuafile(const utils::fs::path&, const utils::fs::path&,
83 static kyuafile load(const utils::fs::path&,
84 const utils::optional< utils::fs::path >,
88 const utils::fs::path& source_root(void) const;
89 const utils::fs::path& build_root(void) const;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_009_neg.ksh50 val=$(get_prop sharenfs $fs)
52 log_must zfs set sharenfs=off $fs
59 fs=$TESTPOOL/$TESTFS
60 sharenfs_val=$(get_prop sharenfs $fs)
61 mpt=$(get_prop mountpoint $fs)
63 log_must zfs set sharenfs=on $fs
67 log_must zfs share $fs
70 log_mustnot zfs share $fs
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_002_pos.ksh53 for ds in $fs1 $fs $ctr; do
69 fs=$ctr/$TESTFS
71 snap=$fs@$TESTSNAP
75 typeset cmds=("create $fs" "list $fs" "snapshot $snap" "set snapdir=hidden $fs" \
76 "get snapdir $fs" "rollback $snap" "inherit snapdir $fs" \
77 "rename $fs $fs
[all...]
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_share/
H A Dzfs_share_009_neg.ksh59 val=$(get_prop sharenfs $fs)
61 log_must $ZFS set sharenfs=off $fs
68 fs=$TESTPOOL/$TESTFS
69 sharenfs_val=$(get_prop sharenfs $fs)
70 mpt=$(get_prop mountpoint $fs)
72 log_must $ZFS set sharenfs=on $fs
77 log_must $ZFS share $fs
80 log_mustnot $ZFS share $fs
/freebsd-current/sys/vm/
H A Dvm_fault.c176 static void vm_fault_dontneed(const struct faultstate *fs, vm_offset_t vaddr,
178 static void vm_fault_prefault(const struct faultstate *fs, vm_offset_t addra,
243 vm_fault_unlock_map(struct faultstate *fs) argument
246 if (fs->lookup_still_valid) {
247 vm_map_lookup_done(fs->map, fs->entry);
248 fs->lookup_still_valid = false;
253 vm_fault_unlock_vp(struct faultstate *fs) argument
256 if (fs->vp != NULL) {
257 vput(fs
263 vm_fault_deallocate(struct faultstate *fs) argument
281 vm_fault_unlock_and_deallocate(struct faultstate *fs) argument
289 vm_fault_dirty(struct faultstate *fs, vm_page_t m) argument
335 vm_fault_soft_fast(struct faultstate *fs) argument
438 vm_fault_restore_map_lock(struct faultstate *fs) argument
484 vm_fault_populate(struct faultstate *fs) argument
772 vm_fault_object_ensure_wlocked(struct faultstate *fs) argument
792 vm_fault_lock_vnode(struct faultstate *fs, bool objlocked) argument
845 vm_fault_readahead(struct faultstate *fs) argument
893 vm_fault_lookup(struct faultstate *fs) argument
941 vm_fault_relookup(struct faultstate *fs) argument
992 vm_fault_cow(struct faultstate *fs) argument
1098 vm_fault_next(struct faultstate *fs) argument
1153 vm_fault_zerofill(struct faultstate *fs) argument
1187 vm_fault_allocate_oom(struct faultstate *fs) argument
1218 vm_fault_allocate(struct faultstate *fs) argument
1298 vm_fault_getpages(struct faultstate *fs, int *behindp, int *aheadp) argument
1415 vm_fault_busy_sleep(struct faultstate *fs) argument
1445 vm_fault_object(struct faultstate *fs, int *behindp, int *aheadp) argument
1537 struct faultstate fs; local
1821 vm_fault_dontneed(const struct faultstate *fs, vm_offset_t vaddr, int ahead) argument
1885 vm_fault_prefault(const struct faultstate *fs, vm_offset_t addra, int backward, int forward, bool obj_locked) argument
[all...]
/freebsd-current/sys/geom/journal/
H A Dg_journal_ufs.c40 #include <ufs/ffs/fs.h>
51 struct fs *fs; local
55 fs = ump->um_fs;
57 flags = fs->fs_flags;
58 fs->fs_flags &= ~(FS_UNCLEAN | FS_NEEDSFSCK);
60 fs->fs_flags = flags;
68 struct fs *fs; local
71 fs
[all...]
/freebsd-current/sys/contrib/openzfs/module/lua/
H A Dlcode.c38 void luaK_nil (FuncState *fs, int from, int n) { argument
41 if (fs->pc > fs->lasttarget) { /* no jumps to current position? */
42 previous = &fs->f->code[fs->pc-1];
56 luaK_codeABC(fs, OP_LOADNIL, from, n - 1, 0); /* else no optimization */
60 int luaK_jump (FuncState *fs) { argument
61 int jpc = fs->jpc; /* save list of jumps to here */
63 fs->jpc = NO_JUMP;
64 j = luaK_codeAsBx(fs, OP_JM
70 luaK_ret(FuncState *fs, int first, int nret) argument
75 condjump(FuncState *fs, OpCode op, int A, int B, int C) argument
81 fixjump(FuncState *fs, int pc, int dest) argument
95 luaK_getlabel(FuncState *fs) argument
101 getjump(FuncState *fs, int pc) argument
110 getjumpcontrol(FuncState *fs, int pc) argument
123 need_value(FuncState *fs, int list) argument
132 patchtestreg(FuncState *fs, int node, int reg) argument
145 removevalues(FuncState *fs, int list) argument
151 patchlistaux(FuncState *fs, int list, int vtarget, int reg, int dtarget) argument
164 dischargejpc(FuncState *fs) argument
170 luaK_patchlist(FuncState *fs, int list, int target) argument
180 luaK_patchclose(FuncState *fs, int list, int level) argument
193 luaK_patchtohere(FuncState *fs, int list) argument
199 luaK_concat(FuncState *fs, int *l1, int l2) argument
213 luaK_code(FuncState *fs, Instruction i) argument
228 luaK_codeABC(FuncState *fs, OpCode o, int a, int b, int c) argument
237 luaK_codeABx(FuncState *fs, OpCode o, int a, unsigned int bc) argument
245 codeextraarg(FuncState *fs, int a) argument
251 luaK_codek(FuncState *fs, int reg, int k) argument
262 luaK_checkstack(FuncState *fs, int n) argument
272 luaK_reserveregs(FuncState *fs, int n) argument
278 freereg(FuncState *fs, int reg) argument
286 freeexp(FuncState *fs, expdesc *e) argument
292 addk(FuncState *fs, TValue *key, TValue *v) argument
320 luaK_stringK(FuncState *fs, TString *s) argument
327 luaK_numberK(FuncState *fs, lua_Number r) argument
344 boolK(FuncState *fs, int b) argument
351 nilK(FuncState *fs) argument
360 luaK_setreturns(FuncState *fs, expdesc *e, int nresults) argument
372 luaK_setoneret(FuncState *fs, expdesc *e) argument
384 luaK_dischargevars(FuncState *fs, expdesc *e) argument
416 code_label(FuncState *fs, int A, int b, int jump) argument
422 discharge2reg(FuncState *fs, expdesc *e, int reg) argument
461 discharge2anyreg(FuncState *fs, expdesc *e) argument
469 exp2reg(FuncState *fs, expdesc *e, int reg) argument
493 luaK_exp2nextreg(FuncState *fs, expdesc *e) argument
501 luaK_exp2anyreg(FuncState *fs, expdesc *e) argument
515 luaK_exp2anyregup(FuncState *fs, expdesc *e) argument
521 luaK_exp2val(FuncState *fs, expdesc *e) argument
529 luaK_exp2RK(FuncState *fs, expdesc *e) argument
559 luaK_storevar(FuncState *fs, expdesc *var, expdesc *ex) argument
586 luaK_self(FuncState *fs, expdesc *e, expdesc *key) argument
599 invertjump(FuncState *fs, expdesc *e) argument
607 jumponcond(FuncState *fs, expdesc *e, int cond) argument
622 luaK_goiftrue(FuncState *fs, expdesc *e) argument
646 luaK_goiffalse(FuncState *fs, expdesc *e) argument
669 codenot(FuncState *fs, expdesc *e) argument
704 luaK_indexed(FuncState *fs, expdesc *t, expdesc *k) argument
730 codearith(FuncState *fs, OpCode op, expdesc *e1, expdesc *e2, int line) argument
752 codecomp(FuncState *fs, OpCode op, int cond, expdesc *e1, expdesc *e2) argument
768 luaK_prefix(FuncState *fs, UnOpr op, expdesc *e, int line) argument
792 luaK_infix(FuncState *fs, BinOpr op, expdesc *v) argument
819 luaK_posfix(FuncState *fs, BinOpr op, expdesc *e1, expdesc *e2, int line) argument
868 luaK_fixline(FuncState *fs, int line) argument
873 luaK_setlist(FuncState *fs, int base, int nelems, int tostore) argument
[all...]

Completed in 158 milliseconds

1234567891011>>