annotate src/impl/fs_impl.h @ 321:98902fad1e2e menikon_thesis

final fix
author menikon
date Fri, 07 Feb 2020 14:27:05 +0900
parents 40e9dd5ff084
children e34fb61f280a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
302
bc2f3d24faa9 add fs_impl_private
menikon
parents: 294
diff changeset
1 typedef struct fs_impl<Type, Isa> impl fs{
294
08a367c3124a add FileSystem files
menikon
parents:
diff changeset
2 union Data* fs_impl;
302
bc2f3d24faa9 add fs_impl_private
menikon
parents: 294
diff changeset
3 struct superblock* sb;
312
menikon
parents: 311
diff changeset
4 int ret;
302
bc2f3d24faa9 add fs_impl_private
menikon
parents: 294
diff changeset
5 uint dev;
bc2f3d24faa9 add fs_impl_private
menikon
parents: 294
diff changeset
6 short type;
bc2f3d24faa9 add fs_impl_private
menikon
parents: 294
diff changeset
7 struct buf* bp;
bc2f3d24faa9 add fs_impl_private
menikon
parents: 294
diff changeset
8 struct dinode* dip;
313
9d7787e4e214 build success
menikon
parents: 312
diff changeset
9 uint inum;
311
b40deb55b7db build success
menikon
parents: 307
diff changeset
10 struct inode* dp;
b40deb55b7db build success
menikon
parents: 307
diff changeset
11 char* name;
312
menikon
parents: 311
diff changeset
12 uint off;
311
b40deb55b7db build success
menikon
parents: 307
diff changeset
13 uint* poff;
b40deb55b7db build success
menikon
parents: 307
diff changeset
14 dirent* de;
317
20294366d1f9 add readi CodeGear
menikon
parents: 316
diff changeset
15 uint tot;
20294366d1f9 add readi CodeGear
menikon
parents: 316
diff changeset
16 uint m;
20294366d1f9 add readi CodeGear
menikon
parents: 316
diff changeset
17 char* dst;
20294366d1f9 add readi CodeGear
menikon
parents: 316
diff changeset
18 uint n;
320
40e9dd5ff084 build success
menikon
parents: 319
diff changeset
19 char* src;
294
08a367c3124a add FileSystem files
menikon
parents:
diff changeset
20
321
98902fad1e2e final fix
menikon
parents: 320
diff changeset
21 __code allocinode(Type* fs_impl, uint dev, struct superblock* sb, __code next(...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
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
9d7787e4e214 build success
menikon
parents: 312
diff changeset
23 __code allocinode_loopcheck(Type* fs_impl, uint inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...));
321
98902fad1e2e final fix
menikon
parents: 320
diff changeset
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
menikon
parents: 305
diff changeset
25 __code lockinode1(Type* fs_impl, struct inode *ip, struct buf *bp, struct dinode *dip, __code next(...));
311
b40deb55b7db build success
menikon
parents: 307
diff changeset
26 __code lockinode2(Type* fs_impl, struct inode* ip, struct buf* bp, struct dinode* dip, __code next(...));
b40deb55b7db build success
menikon
parents: 307
diff changeset
27 __code lockinode_sleepcheck(Type* fs_impl, struct inode* ip, __code next(...));
b40deb55b7db build success
menikon
parents: 307
diff changeset
28 __code iput_check(Type* fs_impl, struct inode* ip, __code next(...));
b40deb55b7db build success
menikon
parents: 307
diff changeset
29 __code iput_inode_nolink(Type* fs_impl, struct inode* ip, __code next(...));
321
98902fad1e2e final fix
menikon
parents: 320
diff changeset
30 __code readi_check_diskinode(Type* fs_impl,struct inode* ip, char* dst, uint n, next(int ret, ...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
31 __code readi_loopcheck(Type* fs_impl, uint tot, uint m, char* dst, uint off, uint n, __code next(...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
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(...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
33 __code readi_noloop(Type* fs_impl, uint n, __code next(int ret, ...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
34 __code writei_check_diskinode(Type* fs_impl,struct inode* ip, char* src, uint n, __code next(int ret, ...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
35 __code writei_loopcheck(Type* fs_impl, uint tot, uint m, char* src, uint off, uint n, __code next(...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
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(...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
37 __code writei_noloop(Type* fs_impl, struct inode* ip, uint n, uint off, __code next(int ret, ...));
312
menikon
parents: 311
diff changeset
38 __code dirlookup_loopcheck(Type* fs_impl, struct inode* dp, char* name, uint off, uint* poff, dirent* de, next(...));
321
98902fad1e2e final fix
menikon
parents: 320
diff changeset
39 __code dirlookup_loop(Type* fs_impl, struct inode* dp, char* name, uint off, uint inum, uint* poff, dirent* de, __code next(int ret, ...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
40 __code dirlookup_noloop(Type* fs_impl, __code next(int ret, ...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
41 __code dirlink_namecheck(Type* fs_impl, struct inode* ip, __code next(int ret, ...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
42 __code dirlink_loopcheck(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, __code next(...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
43 __code dirlink_loop(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, uint inum, __code next(...));
98902fad1e2e final fix
menikon
parents: 320
diff changeset
44 __code dirlink_noloop(Type* fs_impl, struct dirent* de, struct inode* dp, uint off, uint inum, char* name, __code next(int ret, ...));
302
bc2f3d24faa9 add fs_impl_private
menikon
parents: 294
diff changeset
45 __code next(...);
316
menikon
parents: 315
diff changeset
46 __code next2(...);
294
08a367c3124a add FileSystem files
menikon
parents:
diff changeset
47 } fs_impl;