302
|
1 typedef struct fs_impl<Type, Isa> impl fs{
|
294
|
2 union Data* fs_impl;
|
302
|
3 struct superblock* sb;
|
312
|
4 int ret;
|
302
|
5 uint dev;
|
|
6 short type;
|
|
7 struct buf* bp;
|
|
8 struct dinode* dip;
|
313
|
9 uint inum;
|
311
|
10 struct inode* dp;
|
|
11 char* name;
|
312
|
12 uint off;
|
311
|
13 uint* poff;
|
|
14 dirent* de;
|
317
|
15 uint tot;
|
|
16 uint m;
|
|
17 char* dst;
|
|
18 uint n;
|
320
|
19 char* src;
|
294
|
20
|
321
|
21 __code allocinode(Type* fs_impl, uint dev, struct superblock* sb, __code next(...));
|
|
22 __code allocinode_loop(Type* fs_impl, uint inum, uint dev, short type, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...));
|
313
|
23 __code allocinode_loopcheck(Type* fs_impl, uint inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...));
|
321
|
24 __code allocinode_noloop(Type* fs_impl, uint inum, uint dev, short type, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(int ret, ...));
|
306
|
25 __code lockinode1(Type* fs_impl, struct inode *ip, struct buf *bp, struct dinode *dip, __code next(...));
|
311
|
26 __code lockinode2(Type* fs_impl, struct inode* ip, struct buf* bp, struct dinode* dip, __code next(...));
|
|
27 __code lockinode_sleepcheck(Type* fs_impl, struct inode* ip, __code next(...));
|
|
28 __code iput_check(Type* fs_impl, struct inode* ip, __code next(...));
|
|
29 __code iput_inode_nolink(Type* fs_impl, struct inode* ip, __code next(...));
|
321
|
30 __code readi_check_diskinode(Type* fs_impl,struct inode* ip, char* dst, uint n, next(int ret, ...));
|
|
31 __code readi_loopcheck(Type* fs_impl, uint tot, uint m, char* dst, uint off, uint n, __code next(...));
|
|
32 __code readi_loop(Type* fs_impl, struct inode *ip, struct buf* bp, uint tot, uint m, char* dst, uint off, uint n, __code next(...));
|
|
33 __code readi_noloop(Type* fs_impl, uint n, __code next(int ret, ...));
|
|
34 __code writei_check_diskinode(Type* fs_impl,struct inode* ip, char* src, uint n, __code next(int ret, ...));
|
|
35 __code writei_loopcheck(Type* fs_impl, uint tot, uint m, char* src, uint off, uint n, __code next(...));
|
|
36 __code writei_loop(Type* fs_impl, struct inode* ip, struct buf* bp, uint tot, uint m, char* src, uint off, uint n, __code next(...));
|
|
37 __code writei_noloop(Type* fs_impl, struct inode* ip, uint n, uint off, __code next(int ret, ...));
|
312
|
38 __code dirlookup_loopcheck(Type* fs_impl, struct inode* dp, char* name, uint off, uint* poff, dirent* de, next(...));
|
321
|
39 __code dirlookup_loop(Type* fs_impl, struct inode* dp, char* name, uint off, uint inum, uint* poff, dirent* de, __code next(int ret, ...));
|
|
40 __code dirlookup_noloop(Type* fs_impl, __code next(int ret, ...));
|
|
41 __code dirlink_namecheck(Type* fs_impl, struct inode* ip, __code next(int ret, ...));
|
|
42 __code dirlink_loopcheck(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, __code next(...));
|
|
43 __code dirlink_loop(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, uint inum, __code next(...));
|
|
44 __code dirlink_noloop(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, uint inum, char* name, __code next(int ret, ...));
|
302
|
45 __code next(...);
|
316
|
46 __code next2(...);
|
294
|
47 } fs_impl;
|