/netbsd-current/sbin/mount_portal/examples/ |
H A D | fs.1.conf | 1 # $NetBSD: fs.1.conf,v 1.2 2017/05/09 23:26:49 kamil Exp $ 3 fs/ file fs/
|
/netbsd-current/external/bsd/am-utils/dist/amd/ |
H A D | srvr_amfs_auto.c | 65 fserver *fs = localhost; local 67 if (!fs) { 68 fs = ALLOC(struct fserver); 69 fs->fs_refc = 0; 70 fs->fs_host = xstrdup("localhost"); 71 fs->fs_ip = NULL; 72 fs->fs_cid = 0; 73 fs->fs_pinger = AM_PINGER; 74 fs->fs_flags = FSF_VALID | FSF_PING_UNINIT; 75 fs 99 wakeup_srvr(fserver *fs) argument 112 fserver *fs = v; local 155 free_srvr(fserver *fs) argument 193 dup_srvr(fserver *fs) argument 204 srvrlog(fserver *fs, char *state) argument [all...] |
/netbsd-current/sbin/mount_portal/ |
H A D | portal.conf | 5 fs/ file fs/
|
/netbsd-current/usr.sbin/fstyp/ |
H A D | ufs.c | 47 #include <ufs/ffs/fs.h> 57 struct fs *fs; local 67 fs = (struct fs *)read_buf(fp, superblock, SBLOCKSIZE); 68 if (fs == NULL) 71 if (fs->fs_magic == FS_UFS2EA_MAGIC) 72 fs->fs_magic = FS_UFS2_MAGIC; 73 else if (fs->fs_magic == FS_UFS2EA_MAGIC_SWAPPED) 74 fs [all...] |
/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/ |
H A D | auto_cleaners.cpp | 29 #include "utils/fs/auto_cleaners.hpp" 32 #include "utils/fs/exceptions.hpp" 33 #include "utils/fs/operations.hpp" 38 namespace fs = utils::fs; 43 struct utils::fs::auto_directory::impl { 45 fs::path _directory; 64 } catch (const fs::error& e) { 81 fs::rmdir(_directory); 90 fs [all...] |
/netbsd-current/sys/ufs/mfs/ |
H A D | mfs_miniroot.c | 40 #include <ufs/ffs/fs.h> 52 struct fs *fs = (struct fs *)((char *)base + SBLOCK_UFS1); local 60 if (fs->fs_magic != FS_UFS1_MAGIC || fs->fs_bsize > MAXBSIZE || 61 fs->fs_bsize < sizeof(struct fs)) 65 mfs_rootsize = fs->fs_fsize * fs [all...] |
/netbsd-current/usr.sbin/puffs/ |
H A D | makerumpmanpages.sh | 179 sedsub='s/xxxfsxxx/$fs/g\;s/XXXFSXXX/$fsc/g\;s/xxximagexxx/$image/g\;'\ 185 fs=${x#rump_} 188 if ! member $fs $disk $net $fictional $special ; then 189 echo ERROR: $fs not found in any class! 194 member $fs $special && continue 197 if member $fs $disk ; then 202 if member $fs $net ; then 207 if member $fs $fictional ; then 209 image=$fs 210 fssrc='fictional fs' [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/pa/ |
H A D | hpux-unwind.h | 110 _Unwind_FrameState *fs) 149 fs->regs.cfa_how = CFA_REG_OFFSET; 150 fs->regs.cfa_reg = 30; 151 fs->regs.cfa_offset = 0; 153 fs->retaddr_column = 0; 154 fs->regs.reg[0].how = REG_SAVED_OFFSET; 155 fs->regs.reg[0].loc.offset = -24; 158 uw_update_context (context, fs); 160 /* Set up fs to describe the FDE for the caller of this stub. */ 161 return uw_frame_state_for (context, fs); 109 pa_fallback_frame_state(struct _Unwind_Context *context, _Unwind_FrameState *fs) argument [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/pa/ |
H A D | hpux-unwind.h | 110 _Unwind_FrameState *fs) 149 fs->regs.cfa_how = CFA_REG_OFFSET; 150 fs->regs.cfa_reg = 30; 151 fs->regs.cfa_offset = 0; 153 fs->retaddr_column = 0; 154 fs->regs.reg[0].how = REG_SAVED_OFFSET; 155 fs->regs.reg[0].loc.offset = -24; 158 uw_update_context (context, fs); 160 /* Set up fs to describe the FDE for the caller of this stub. */ 161 return uw_frame_state_for (context, fs); 109 pa_fallback_frame_state(struct _Unwind_Context *context, _Unwind_FrameState *fs) argument [all...] |
/netbsd-current/external/bsd/am-utils/dist/scripts/ |
H A D | am-eject.in | 20 fs=`amq | grep ' toplvl ' | cut -d' ' -f1` 21 if [ "$fs" = "" ]; then 28 cd|fd) fs=$fs/$1;; 33 if amq | grep -q "^$fs" >/dev/null 2>&1; then 36 amq -u $fs 38 if amq | grep -q "^$fs" >/dev/null 2>&1; then 40 echo -n "Cannot unmount $fs; in use by:" 41 fuser -uv -m $fs 46 echo "$fs no [all...] |
/netbsd-current/sys/fs/v7fs/ |
H A D | v7fs_io.c | 64 scratch_read(struct v7fs_self *fs, daddr_t blk) argument 68 MEM_LOCK(fs); 70 if (fs->scratch_free & (1 << i)) { 71 fs->scratch_free &= ~(1 << i); 78 MEM_UNLOCK(fs); 82 if (!fs->io.read(fs->io.cookie, fs->scratch[i], blk)) { 84 fs->scratch_free |= (1 << i); 85 MEM_UNLOCK(fs); 107 scratch_remain(const struct v7fs_self *fs) argument [all...] |
/netbsd-current/sbin/fsck_lfs/ |
H A D | pass6.c | 89 error = ulfs_bmaparray(fs, vp, lbn, &daddr, a, &num); 94 daddr = LFS_DBTOFSB(fs, daddr); 96 frags = lfs_numfrags(fs, size); 99 ooff = lfs_dino_getdb(fs, ip->i_din, lbn); 101 lfs_dino_setblocks(fs, ip->i_din, 102 lfs_dino_getblocks(fs, ip->i_din) + frags); 105 ofrags = lfs_numfrags(fs, ip->i_lfs_fragsize[lbn]); 106 lfs_dino_setblocks(fs, ip->i_din, 107 lfs_dino_getblocks(fs, ip->i_din) + (frags - ofrags)); 109 lfs_dino_setdb(fs, i [all...] |
H A D | pass5.c | 77 for (i = 0; i < lfs_sb_getnseg(fs); i++) { 79 LFS_SEGENTRY(su, fs, i, bp); 105 bb += lfs_btofsb(fs, su->su_nbytes + 106 su->su_nsums * lfs_sb_getsumsize(fs)); 107 ubb += lfs_btofsb(fs, su->su_nbytes + 108 su->su_nsums * lfs_sb_getsumsize(fs) + 109 su->su_ninos * lfs_sb_getibsize(fs)); 110 dmeta += lfs_btofsb(fs, 111 lfs_sb_getsumsize(fs) * su->su_nsums); 112 dmeta += lfs_btofsb(fs, [all...] |
H A D | setup.c | 124 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 211 fs = lfs_init(fsreadfd, bflag, idaddr, 0, debug); 212 if (fs == NULL) { 219 bufrehash((lfs_sb_getsegtabsz(fs) + maxino / lfs_sb_getifpb(fs)) << 4); 221 if (lfs_sb_getpflags(fs) & LFS_PF_CLEAN) { 241 tdaddr = lfs_sntod(fs, lfs_dtosn(fs, idaddr)); 242 if (lfs_sntod(fs, lfs_dtosn(fs, tdadd [all...] |
/netbsd-current/libexec/lfs_cleanerd/ |
H A D | fdfs.c | 63 struct fdfs *fs; local 67 fs = malloc(sizeof(*fs)); 68 if (fs == NULL) 71 fs->fd_bufp = malloc(nseg * sizeof(struct fd_buf)); 72 if (fs->fd_bufp == NULL) { 73 free(fs); 77 fs->fd_bufp[i].start = 0x0; 78 fs->fd_bufp[i].end = 0x0; 79 fs 129 struct fdfs *fs; local 174 struct fdfs *fs = (struct fdfs *)vp->v_fs; local 223 struct fdfs *fs; local 241 struct fdfs *fs; local [all...] |
/netbsd-current/sbin/newfs_lfs/ |
H A D | make_lfs.c | 276 maxfilesize(struct lfs *fs, int bshift) argument 281 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 292 make_dinode(ino_t ino, union lfs_dinode *dip, int nfrags, struct lfs *fs) argument 298 nblocks = howmany(nfrags, lfs_sb_getfrag(fs)); 300 nfrags = roundup(nfrags, lfs_sb_getfrag(fs)); 302 lfs_dino_setnlink(fs, dip, 1); 303 lfs_dino_setblocks(fs, dip, nfrags); 305 lfs_dino_setsize(fs, dip, nfrags << lfs_sb_getffshift(fs)); 306 t = lfs_sb_gettstamp(fs); 355 make_dir(struct lfs *fs, void *bufp, const struct dirproto *protodir, unsigned numentries) argument 400 struct lfs *fs; /* Superblock */ local [all...] |
/netbsd-current/sys/lib/libsa/ |
H A D | ufs.h | 39 struct fs; 42 void ffs_sb_swap(const struct fs *, struct fs *);
|
/netbsd-current/external/bsd/tmux/dist/ |
H A D | cmd-find.c | 176 cmd_find_best_session_with_window(struct cmd_find_state *fs) argument 182 log_debug("%s: window is @%u", __func__, fs->w->id); 186 if (!session_has(s, fs->w)) 193 fs->s = cmd_find_best_session(slist, ssize, fs->flags); 194 if (fs->s == NULL) 197 return (cmd_find_best_winlink_with_window(fs)); 209 cmd_find_best_winlink_with_window(struct cmd_find_state *fs) argument 213 log_debug("%s: window is @%u", __func__, fs->w->id); 216 if (fs 248 cmd_find_get_session(struct cmd_find_state *fs, const char *session) argument 312 cmd_find_get_window(struct cmd_find_state *fs, const char *window, int only) argument 348 cmd_find_get_window_with_session(struct cmd_find_state *fs, const char *window) argument 500 cmd_find_get_pane(struct cmd_find_state *fs, const char *pane, int only) argument 537 cmd_find_get_pane_with_session(struct cmd_find_state *fs, const char *pane) argument 564 cmd_find_get_pane_with_window(struct cmd_find_state *fs, const char *pane) argument 644 cmd_find_clear_state(struct cmd_find_state *fs, int flags) argument 655 cmd_find_empty_state(struct cmd_find_state *fs) argument 664 cmd_find_valid_state(struct cmd_find_state *fs) argument 700 cmd_find_log_state(const char *prefix, struct cmd_find_state *fs) argument 723 cmd_find_from_session(struct cmd_find_state *fs, struct session *s, int flags) argument 737 cmd_find_from_winlink(struct cmd_find_state *fs, struct winlink *wl, int flags) argument 751 cmd_find_from_session_window(struct cmd_find_state *fs, struct session *s, struct window *w, int flags) argument 770 cmd_find_from_window(struct cmd_find_state *fs, struct window *w, int flags) argument 791 cmd_find_from_winlink_pane(struct cmd_find_state *fs, struct winlink *wl, struct window_pane *wp, int flags) argument 807 cmd_find_from_pane(struct cmd_find_state *fs, struct window_pane *wp, int flags) argument 819 cmd_find_from_nothing(struct cmd_find_state *fs, int flags) argument 839 cmd_find_from_mouse(struct cmd_find_state *fs, struct mouse_event *m, int flags) argument 859 cmd_find_from_client(struct cmd_find_state *fs, struct client *c, int flags) argument 923 cmd_find_target(struct cmd_find_state *fs, struct cmdq_item *item, const char *target, enum cmd_find_type type, int flags) argument 1248 struct cmd_find_state fs; local [all...] |
/netbsd-current/external/bsd/kyua-cli/dist/engine/ |
H A D | kyuafile.hpp | 41 #include "utils/fs/path.hpp" 66 utils::fs::path _source_root; 69 utils::fs::path _build_root; 75 explicit kyuafile(const utils::fs::path&, const utils::fs::path&, 79 static kyuafile load(const utils::fs::path&, 80 const utils::optional< utils::fs::path >); 82 const utils::fs::path& source_root(void) const; 83 const utils::fs::path& build_root(void) const;
|
/netbsd-current/usr.sbin/makefs/ffs/ |
H A D | newfs_extern.h | 31 struct fs *ffs_mkfs(const char *, const fsinfo_t *, time_t); 32 void ffs_write_superblock(struct fs *, const fsinfo_t *);
|
H A D | ffs_alloc.c | 62 #include <ufs/ffs/fs.h> 75 static int32_t ffs_mapsearch(struct fs *, struct cg *, daddr_t, int); 104 struct fs *fs = ip->i_fs; local 109 if (size > fs->fs_bsize || ffs_fragoff(fs, size) != 0) { 111 fs->fs_bsize, size); 113 if (size == fs->fs_bsize && fs->fs_cstotal.cs_nbfree == 0) 115 if (bpref >= fs 161 struct fs *fs; local 200 struct fs *fs; local 253 struct fs *fs; local 305 struct fs *fs = ip->i_fs; local 389 struct fs *fs = ip->i_fs; local 439 struct fs *fs = ip->i_fs; local 538 ffs_mapsearch(struct fs *fs, struct cg *cgp, daddr_t bpref, int allocsiz) argument [all...] |
/netbsd-current/sys/arch/hp300/stand/common/ |
H A D | rawfs.c | 61 struct rawfs_file *fs; local 67 fs = alloc(sizeof(struct rawfs_file)); 68 fs->fs_nextblk = 0; 69 fs->fs_len = 0; 70 fs->fs_ptr = fs->fs_buf; 73 printf("rawfs_open: fs=0x%x\n", (u_long)fs); 76 f->f_fsdata = fs; 83 struct rawfs_file *fs; local 101 struct rawfs_file *fs = (struct rawfs_file *)f->f_fsdata; local 179 struct rawfs_file *fs; local [all...] |
/netbsd-current/external/mit/lua/dist/src/ |
H A D | lcode.h | 55 #define luaK_codeABC(fs,o,a,b,c) luaK_codeABCk(fs,o,a,b,c,0) 62 #define getinstruction(fs,e) ((fs)->f->code[(e)->u.info]) 65 #define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET) 67 #define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) 69 LUAI_FUNC int luaK_code (FuncState *fs, Instructio [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/bfin/ |
H A D | linux-unwind.h | 38 _Unwind_FrameState *fs) 67 fs->regs.cfa_how = CFA_REG_OFFSET; 68 fs->regs.cfa_reg = 14; 69 fs->regs.cfa_offset = new_cfa - (long) context->cfa; 71 fs->regs.reg[0].how = REG_SAVED_OFFSET; 72 fs->regs.reg[0].loc.offset = (long)&sc->sc_r0 - new_cfa; 73 fs->regs.reg[1].how = REG_SAVED_OFFSET; 74 fs->regs.reg[1].loc.offset = (long)&sc->sc_r1 - new_cfa; 75 fs->regs.reg[2].how = REG_SAVED_OFFSET; 76 fs 37 bfin_fallback_frame_state(struct _Unwind_Context *context, _Unwind_FrameState *fs) argument [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/bfin/ |
H A D | linux-unwind.h | 38 _Unwind_FrameState *fs) 67 fs->regs.cfa_how = CFA_REG_OFFSET; 68 fs->regs.cfa_reg = 14; 69 fs->regs.cfa_offset = new_cfa - (long) context->cfa; 71 fs->regs.reg[0].how = REG_SAVED_OFFSET; 72 fs->regs.reg[0].loc.offset = (long)&sc->sc_r0 - new_cfa; 73 fs->regs.reg[1].how = REG_SAVED_OFFSET; 74 fs->regs.reg[1].loc.offset = (long)&sc->sc_r1 - new_cfa; 75 fs->regs.reg[2].how = REG_SAVED_OFFSET; 76 fs 37 bfin_fallback_frame_state(struct _Unwind_Context *context, _Unwind_FrameState *fs) argument [all...] |