Home
last modified time | relevance | path

Searched defs:fs (Results 1 – 25 of 212) sorted by relevance

123456789

/freebsd-head/tools/tools/find-sb/
HDmini_ufs.h51 struct fs { struct
52 int32_t fs_firstfield; /* historic filesystem linked list, */ argument
53 int32_t fs_unused_1; /* used for incore super blocks */ argument
54 int32_t fs_sblkno; /* offset of super-block in filesys */ argument
55 int32_t fs_cblkno; /* offset of cyl-block in filesys */ argument
56 int32_t fs_iblkno; /* offset of inode-blocks in filesys */ argument
57 int32_t fs_dblkno; /* offset of first data after cg */ argument
58 int32_t fs_old_cgoffset; /* cylinder group offset in cylinder */ argument
59 int32_t fs_old_cgmask; /* used to calc mod fs_ntrak */ argument
60 int32_t fs_old_time; /* last time written */ argument
[all …]
/freebsd-head/sys/ufs/ffs/
HDfs.h340 struct fs { struct
341 int32_t fs_firstfield; /* historic filesystem linked list, */ argument
342 int32_t fs_unused_1; /* used for incore super blocks */ argument
343 int32_t fs_sblkno; /* offset of super-block in filesys */ argument
344 int32_t fs_cblkno; /* offset of cyl-block in filesys */ argument
345 int32_t fs_iblkno; /* offset of inode-blocks in filesys */ argument
346 int32_t fs_dblkno; /* offset of first data after cg */ argument
347 int32_t fs_old_cgoffset; /* cylinder group offset in cylinder */ argument
348 int32_t fs_old_cgmask; /* used to calc mod fs_ntrak */ argument
349 int32_t fs_old_time; /* last time written */ argument
[all …]
HDffs_subr.c82 ffs_verify_dinode_ckhash(struct fs *fs, struct ufs2_dinode *dip) in ffs_verify_dinode_ckhash()
108 ffs_update_dinode_ckhash(struct fs *fs, struct ufs2_dinode *dip) in ffs_update_dinode_ckhash()
156 struct fs *fs; in ffs_sbget() local
254 struct fs *fs; in readsuper() local
331 ffs_oldfscompat_read(struct fs *fs, ufs2_daddr_t sblockloc) in ffs_oldfscompat_read()
389 ffs_oldfscompat_write(struct fs *fs) in ffs_oldfscompat_write()
438 ffs_oldfscompat_inode_read(struct fs *fs, union dinodep dp, time_t now) in ffs_oldfscompat_inode_read()
525 validate_sblock(struct fs *fs, int flags) in validate_sblock()
954 ffs_sbput(void *devfd, struct fs *fs, off_t loc, in ffs_sbput()
1008 ffs_calc_sbhash(struct fs *fs) in ffs_calc_sbhash()
[all …]
HDffs_snapshot.c85 ffs_snapblkfree(struct fs *fs, in ffs_snapblkfree()
206 struct fs *copy_fs = NULL, *fs, *bpfs; in ffs_snapshot() local
925 struct fs *fs; in cgaccount() local
1038 struct fs *fs, in expunge_ufs1()
1139 struct fs *fs, in indiracct_ufs1()
1209 struct fs *fs, in fullacct_ufs1()
1227 struct fs *fs, in snapacct_ufs1()
1280 struct fs *fs, in mapacct_ufs1()
1320 struct fs *fs, in expunge_ufs2()
1423 struct fs *fs, in indiracct_ufs2()
[all …]
HDffs_alloc.c158 struct fs *fs; in ffs_alloc() local
262 struct fs *fs; in ffs_realloccg() local
568 struct fs *fs; in ffs_reallocblks_ufs1() local
836 struct fs *fs; in ffs_reallocblks_ufs2() local
1117 struct fs *fs; in ffs_valloc() local
1244 struct fs *fs; in ffs_dirpref() local
1410 struct fs *fs; in ffs_blkpref_ufs1() local
1530 struct fs *fs; in ffs_blkpref_ufs2() local
1661 struct fs *fs; in ffs_hashalloc() local
1718 struct fs *fs; in ffs_fragextend() local
[all …]
/freebsd-head/sys/contrib/openzfs/module/lua/
HDlcode.c39 void luaK_nil (FuncState *fs, int from, int n) { in luaK_nil()
61 int luaK_jump (FuncState *fs) { in luaK_jump()
71 void luaK_ret (FuncState *fs, int first, int nret) { in luaK_ret()
76 static int condjump (FuncState *fs, OpCode op, int A, int B, int C) { in condjump()
82 static void fixjump (FuncState *fs, int pc, int dest) { in fixjump()
96 int luaK_getlabel (FuncState *fs) { in luaK_getlabel()
102 static int getjump (FuncState *fs, int pc) { in getjump()
111 static Instruction *getjumpcontrol (FuncState *fs, int pc) { in getjumpcontrol()
124 static int need_value (FuncState *fs, int list) { in need_value()
133 static int patchtestreg (FuncState *fs, int node, int reg) { in patchtestreg()
[all …]
HDlparser.c81 static l_noret errorlimit (FuncState *fs, int limit, const char *what) { in errorlimit()
94 static void checklimit (FuncState *fs, int v, int l, const char *what) { in checklimit()
164 FuncState *fs = ls->fs; in registerlocalvar() local
177 FuncState *fs = ls->fs; in new_localvar() local
196 static LocVar *getlocvar (FuncState *fs, int i) { in getlocvar()
204 FuncState *fs = ls->fs; in adjustlocalvars() local
212 static void removevars (FuncState *fs, int tolevel) { in removevars()
219 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue()
229 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { in newupvalue()
244 static int searchvar (FuncState *fs, TString *n) { in searchvar()
[all …]
HDlcode.h40 #define getcode(fs,e) ((fs)->f->code[(e)->u.info]) argument
42 #define luaK_codeAsBx(fs,o,A,sBx) luaK_codeABx(fs,o,A,(sBx)+MAXARG_sBx) argument
44 #define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET) argument
46 #define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) argument
/freebsd-head/sys/fs/ext2fs/
HDfs.h102 #define fsbtodb(fs, b) ((daddr_t)(b) << (fs)->e2fs_fsbtodb) argument
103 #define dbtofsb(fs, b) ((b) >> (fs)->e2fs_fsbtodb) argument
106 #define ino_to_cg(fs, x) (((x) - 1) / (fs->e2fs_ipg)) argument
109 #define ino_to_fsba(fs, x) \ argument
114 #define ino_to_fsbo(fs, x) ((x-1) % (fs->e2fs_ipb)) argument
120 #define dtog(fs, d) (((d) - le32toh(fs->e2fs->e2fs_first_dblock)) / \ argument
122 #define dtogd(fs, d) (((d) - le32toh(fs->e2fs->e2fs_first_dblock)) % \ argument
130 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ argument
133 #define lblktosize(fs, blk) /* calculates (blk * fs->fs_bsize) */ \ argument
136 #define lblkno(fs, loc) /* calculates (loc / fs->fs_bsize) */ \ argument
[all …]
HDext2_csum.c75 ext2_sb_csum_set_seed(struct m_ext2fs *fs) in ext2_sb_csum_set_seed()
89 ext2_sb_csum_verify(struct m_ext2fs *fs) in ext2_sb_csum_verify()
112 ext2_sb_csum_set(struct m_ext2fs *fs) in ext2_sb_csum_set()
124 struct m_ext2fs *fs; in ext2_extattr_blk_csum() local
182 struct m_ext2fs *fs; in ext2_is_dirent_tail() local
230 struct m_ext2fs *fs; in ext2_dirent_csum() local
297 struct m_ext2fs *fs; in ext2_dx_csum() local
351 struct m_ext2fs *fs; in ext2_dir_blk_csum_verify() local
376 struct m_ext2fs *fs; in ext2_dirent_csum_set() local
395 struct m_ext2fs *fs; in ext2_dx_csum_set() local
[all …]
HDext2_alloc.c103 struct m_ext2fs *fs; in ext2_alloc() local
156 struct m_ext2fs *fs; in ext2_alloc_meta() local
202 struct m_ext2fs *fs; in ext2_reallocblks() local
382 struct m_ext2fs *fs; in ext2_valloc() local
598 struct m_ext2fs *fs; in ext2_dirpref() local
708 struct m_ext2fs *fs; in ext2_blkpref() local
752 struct m_ext2fs *fs; in ext2_hashalloc() local
793 ext2_cg_number_gdb_nometa(struct m_ext2fs *fs, int cg) in ext2_cg_number_gdb_nometa()
807 ext2_cg_number_gdb_meta(struct m_ext2fs *fs, int cg) in ext2_cg_number_gdb_meta()
823 ext2_cg_number_gdb(struct m_ext2fs *fs, int cg) in ext2_cg_number_gdb()
[all …]
HDext2_vfsops.c127 struct m_ext2fs *fs; in ext2_mount() local
334 ext2_cg_location(struct m_ext2fs *fs, int number) in ext2_cg_location()
364 ext2_cg_validate(struct m_ext2fs *fs) in ext2_cg_validate()
457 struct m_ext2fs *fs) in ext2_compute_sb_data()
740 struct m_ext2fs *fs; in ext2_reload() local
836 struct m_ext2fs *fs; in ext2_mountfs() local
1010 struct m_ext2fs *fs; in ext2_unmount() local
1069 struct m_ext2fs *fs; in ext2_statfs() local
1126 struct m_ext2fs *fs; in ext2_sync() local
1196 struct m_ext2fs *fs; in ext2_vget() local
[all …]
/freebsd-head/contrib/lua/src/
HDlcode.c74 static TValue *const2val (FuncState *fs, const expdesc *e) { in const2val()
84 int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v) { in luaK_exp2const()
116 static Instruction *previousinstruction (FuncState *fs) { in previousinstruction()
131 void luaK_nil (FuncState *fs, int from, int n) { in luaK_nil()
154 static int getjump (FuncState *fs, int pc) { in getjump()
167 static void fixjump (FuncState *fs, int pc, int dest) { in fixjump()
181 void luaK_concat (FuncState *fs, int *l1, int l2) { in luaK_concat()
199 int luaK_jump (FuncState *fs) { in luaK_jump()
207 void luaK_ret (FuncState *fs, int first, int nret) { in luaK_ret()
222 static int condjump (FuncState *fs, OpCode op, int A, int B, int C, int k) { in condjump()
[all …]
HDlparser.c74 static l_noret errorlimit (FuncState *fs, int limit, const char *what) { in errorlimit()
87 static void checklimit (FuncState *fs, int v, int l, const char *what) { in checklimit()
175 static int registerlocalvar (LexState *ls, FuncState *fs, TString *varname) { in registerlocalvar()
195 FuncState *fs = ls->fs; in new_localvar() local
219 static Vardesc *getlocalvardesc (FuncState *fs, int vidx) { in getlocalvardesc()
229 static int reglevel (FuncState *fs, int nvar) { in reglevel()
243 int luaY_nvarstack (FuncState *fs) { in luaY_nvarstack()
251 static LocVar *localdebuginfo (FuncState *fs, int vidx) { in localdebuginfo()
266 static void init_var (FuncState *fs, expdesc *e, int vidx) { in init_var()
278 FuncState *fs = ls->fs; in check_readonly() local
[all …]
HDlcode.h48 #define luaK_codeABC(fs,o,a,b,c) luaK_codeABCk(fs,o,a,b,c,0) argument
55 #define getinstruction(fs,e) ((fs)->f->code[(e)->u.info]) argument
58 #define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET) argument
60 #define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) argument
/freebsd-head/usr.sbin/makefs/ffs/
HDffs_subr.c47 ffs_fragacct_swap(struct fs *fs, int fragmap, uint32_t fraglist[], int cnt, int needswap) in ffs_fragacct_swap()
83 ffs_isblock(struct fs *fs, u_char *cp, int32_t h) in ffs_isblock()
111 ffs_isfreeblock(struct fs *fs, u_char *cp, int32_t h) in ffs_isfreeblock()
133 ffs_clrblock(struct fs *fs, u_char *cp, int32_t h) in ffs_clrblock()
159 ffs_setblock(struct fs *fs, u_char *cp, int32_t h) in ffs_setblock()
HDffs_alloc.c91 struct fs *fs = ip->i_fs; in ffs_alloc() local
151 struct fs *fs; in ffs_blkpref_ufs1() local
190 struct fs *fs; in ffs_blkpref_ufs2() local
243 struct fs *fs; in ffs_hashalloc() local
295 struct fs *fs = ip->i_fs; in ffs_alloccg() local
379 struct fs *fs = ip->i_fs; in ffs_alloccgblk() local
429 struct fs *fs = ip->i_fs; in ffs_blkfree() local
527 ffs_mapsearch(struct fs *fs, struct cg *cgp, daddr_t bpref, int allocsiz) in ffs_mapsearch()
594 ffs_clusteracct(struct fs *fs, struct cg *cgp, int32_t blkno, int cnt) in ffs_clusteracct()
/freebsd-head/sys/vm/
HDvm_fault.c244 vm_fault_unlock_map(struct faultstate *fs) in vm_fault_unlock_map()
254 vm_fault_unlock_vp(struct faultstate *fs) in vm_fault_unlock_vp()
264 vm_fault_deallocate(struct faultstate *fs) in vm_fault_deallocate()
282 vm_fault_unlock_and_deallocate(struct faultstate *fs) in vm_fault_unlock_and_deallocate()
290 vm_fault_dirty(struct faultstate *fs, vm_page_t m) in vm_fault_dirty()
336 vm_fault_soft_fast(struct faultstate *fs) in vm_fault_soft_fast()
451 vm_fault_restore_map_lock(struct faultstate *fs) in vm_fault_restore_map_lock()
498 vm_fault_populate(struct faultstate *fs) in vm_fault_populate()
786 vm_fault_object_ensure_wlocked(struct faultstate *fs) in vm_fault_object_ensure_wlocked()
806 vm_fault_lock_vnode(struct faultstate *fs, bool objlocked) in vm_fault_lock_vnode()
[all …]
/freebsd-head/stand/libsa/
HDdosfs.c146 #define bytsec(fs, n) ((n) >> (fs)->sshift) argument
147 #define secbyt(fs, s) ((s) << (fs)->sshift) argument
148 #define depsec(fs) (1 << (fs)->dshift) argument
149 #define entsec(fs, e) ((e) >> (fs)->dshift) argument
150 #define bytblk(fs, n) ((n) >> (fs)->bshift) argument
151 #define blkbyt(fs, b) ((b) << (fs)->bshift) argument
152 #define secblk(fs, s) ((s) >> ((fs)->bshift - (fs)->sshift)) argument
153 #define blksec(fs, b) ((b) << ((fs)->bshift - (fs)->sshift)) argument
156 #define blkoff(fs, b) (secbyt(fs, (fs)->lsndta) + \ argument
160 #define blklsn(fs, b) ((fs)->lsndta + blksec(fs, (b) - LOCLUS)) argument
[all …]
HDufsread.c55 #define cgbase(fs, c) ((ufs2_daddr_t)((fs)->fs_fpg * (c))) argument
68 #define INDIRPERVBLK(fs) (NINDIR(fs) / ((fs)->fs_bsize >> VBLKSHIFT)) argument
69 #define IPERVBLK(fs) (INOPB(fs) / ((fs)->fs_bsize >> VBLKSHIFT)) argument
70 #define INO_TO_VBA(fs, ipervblk, x) \ argument
74 #define FS_TO_VBA(fs, fsb, off) (fsbtodb(fs, fsb) + \ argument
76 #define FS_TO_VBO(fs, fsb, off) ((off) & VBLKMASK) argument
174 static struct fs fs; in fsread_size() local
/freebsd-head/lib/libufs/
HDsblock.c66 struct fs *fs; in sbread() local
90 struct fs *fs; in sbfind() local
98 handle_disk_read(struct uufsd *disk, struct fs *fs, int error) in handle_disk_read()
146 struct fs *fs; in sbwrite() local
247 sbput(int devfd, struct fs *fs, int numaltwrite) in sbput()
HDcgroup.c55 struct fs *fs; in cgballoc() local
79 struct fs *fs; in cgbfree() local
142 struct fs *fs; in cgialloc() local
221 cgget(int devfd, struct fs *fs, int cg, struct cg *cgp) in cgget()
298 cgput(int devfd, struct fs *fs, struct cg *cgp) in cgput()
/freebsd-head/sys/netpfil/ipfw/
HDip_dummynet.c356 struct dn_fsk *fs = template->fs; in q_new() local
394 struct dn_fsk *fs = q->fs; in dn_delete_queue() local
432 qht_delete(struct dn_fsk *fs, int flags) in qht_delete()
456 ipdn_q_find(struct dn_fsk *fs, struct dn_sch_inst *si, in ipdn_q_find()
663 struct dn_fsk *fs = obj; in fsk_match() local
673 struct dn_fsk *fs; in fsk_new() local
714 aqm_cleanup_deconfig_fs(struct dn_fsk *fs) in aqm_cleanup_deconfig_fs()
753 fsk_detach(struct dn_fsk *fs, int flags) in fsk_detach()
799 struct dn_fsk *fs; in fsk_detach_list() local
818 struct dn_fsk *fs; in delete_fs() local
[all …]
/freebsd-head/tools/diag/prtblknos/
HDprtblknos.c54 prtblknos(struct fs *fs, union dinode *dp) in prtblknos()
153 indirprt(struct fs *fs, int level, ufs_lbn_t blksperindir, ufs_lbn_t lbn,
203 distance(struct fs *fs, ufs2_daddr_t lastblk, ufs2_daddr_t firstblk)
228 printblk(struct fs *fs, ufs_lbn_t lbn, ufs2_daddr_t blkno, int numfrags,
/freebsd-head/sys/geom/journal/
HDg_journal_ufs.c51 struct fs *fs; in g_journal_ufs_clean() local
68 struct fs *fs; in g_journal_ufs_dirty() local

123456789