Mercurial > hg > CbC > CbC_xv6
annotate src/impl/fs_impl.h @ 331:e64c8734a802
tweak fs_impl arguments
author | anatofuz |
---|---|
date | Sun, 09 Feb 2020 19:18:42 +0900 |
parents | e34fb61f280a |
children | 37a3a8661f8a |
rev | line source |
---|---|
330
e34fb61f280a
remove static data gear declaration fs_impl
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
321
diff
changeset
|
1 typedef struct fs_impl <Impl, Isa> impl fs { |
321 | 2 __code allocinode(Type* fs_impl, uint dev, struct superblock* sb, __code next(...)); |
3 __code allocinode_loop(Type* fs_impl, uint inum, uint dev, short type, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...)); | |
313 | 4 __code allocinode_loopcheck(Type* fs_impl, uint inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...)); |
321 | 5 __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, ...)); |
330
e34fb61f280a
remove static data gear declaration fs_impl
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
321
diff
changeset
|
6 __code lockinode1(Type* fs_impl, struct inode* ip, struct buf* bp, struct dinode* dip, __code next(...)); |
311 | 7 __code lockinode2(Type* fs_impl, struct inode* ip, struct buf* bp, struct dinode* dip, __code next(...)); |
8 __code lockinode_sleepcheck(Type* fs_impl, struct inode* ip, __code next(...)); | |
9 __code iput_check(Type* fs_impl, struct inode* ip, __code next(...)); | |
10 __code iput_inode_nolink(Type* fs_impl, struct inode* ip, __code next(...)); | |
330
e34fb61f280a
remove static data gear declaration fs_impl
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
321
diff
changeset
|
11 __code readi_check_diskinode(Type* fs_impl,struct inode* ip, char* dst, uint n, __code next(int ret, ...)); |
321 | 12 __code readi_loopcheck(Type* fs_impl, uint tot, uint m, char* dst, uint off, uint n, __code next(...)); |
330
e34fb61f280a
remove static data gear declaration fs_impl
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
321
diff
changeset
|
13 __code readi_loop(Type* fs_impl, struct inode* ip, struct buf* bp, uint tot, uint m, char* dst, uint off, uint n, __code next(...)); |
321 | 14 __code readi_noloop(Type* fs_impl, uint n, __code next(int ret, ...)); |
15 __code writei_check_diskinode(Type* fs_impl,struct inode* ip, char* src, uint n, __code next(int ret, ...)); | |
16 __code writei_loopcheck(Type* fs_impl, uint tot, uint m, char* src, uint off, uint n, __code next(...)); | |
17 __code writei_loop(Type* fs_impl, struct inode* ip, struct buf* bp, uint tot, uint m, char* src, uint off, uint n, __code next(...)); | |
18 __code writei_noloop(Type* fs_impl, struct inode* ip, uint n, uint off, __code next(int ret, ...)); | |
331 | 19 __code dirlookup_loopcheck(Type* fs_impl, struct inode* dp, char* name, uint off, uint* poff, struct dirent* de, __code next(...)); |
20 __code dirlookup_loop(Type* fs_impl, struct inode* dp, char* name, uint off, uint inum, uint* poff, struct dirent* de, __code next(int ret, ...)); | |
321 | 21 __code dirlookup_noloop(Type* fs_impl, __code next(int ret, ...)); |
22 __code dirlink_namecheck(Type* fs_impl, struct inode* ip, __code next(int ret, ...)); | |
23 __code dirlink_loopcheck(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, __code next(...)); | |
24 __code dirlink_loop(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, uint inum, __code next(...)); | |
25 __code dirlink_noloop(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, uint inum, char* name, __code next(int ret, ...)); | |
330
e34fb61f280a
remove static data gear declaration fs_impl
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
321
diff
changeset
|
26 |
302 | 27 __code next(...); |
316 | 28 __code next2(...); |
294 | 29 } fs_impl; |