Mercurial > hg > CbC > CbC_xv6
comparison src/interface/fs.dg @ 334:65c061fed881
clean_fs.dg
author | anatofuz |
---|---|
date | Sat, 15 Feb 2020 20:23:17 +0900 |
parents | 98902fad1e2e |
children |
comparison
equal
deleted
inserted
replaced
331:e64c8734a802 | 334:65c061fed881 |
---|---|
1 typedef struct fs<Type,Impl> { | 1 typedef struct fs<Type,Impl> { |
2 union Data* fs; | |
3 struct superblock* sb; | |
4 uint dev; | |
5 short type; | |
6 struct inode* ip; | |
7 struct stat* st; | |
8 char* dst; | |
9 uint off; | |
10 uint n; | |
11 const char* s; | |
12 const char* t; | |
13 struct inode* dp; | |
14 char* name; | |
15 uint* poff; | |
16 uint inum; | |
17 char* path; | |
18 char* src; | |
19 int namex_val; | |
20 int strncmp_val; | |
21 dirent* de; | |
22 int ret; | |
23 uint tot; | |
24 __code readsb(Impl* fs, uint dev, struct superblock* sb, __code next(...)); | 2 __code readsb(Impl* fs, uint dev, struct superblock* sb, __code next(...)); |
25 __code iinit(Impl* fs, __code next(...)); | 3 __code iinit(Impl* fs, __code next(...)); |
26 __code ialloc(Impl* fs, uint dev, short type, __code next(...)); | 4 __code ialloc(Impl* fs, uint dev, short type, __code next(...)); |
27 __code iupdate(Impl* fs, struct inode* ip, __code next(...)); | 5 __code iupdate(Impl* fs, struct inode* ip, __code next(...)); |
28 __code idup(Impl* fs, struct inode* ip, __code next(...)); | 6 __code idup(Impl* fs, struct inode* ip, __code next(...)); |
32 __code iunlockput(Impl* fs, struct inode* ip, __code next(...)); | 10 __code iunlockput(Impl* fs, struct inode* ip, __code next(...)); |
33 __code stati(Impl* fs , struct inode* ip, struct stat* st, __code next(...)); | 11 __code stati(Impl* fs , struct inode* ip, struct stat* st, __code next(...)); |
34 __code readi(Impl* fs, struct inode* ip, char* dst, uint off, uint tot, uint n, __code next(int ret, ...)); | 12 __code readi(Impl* fs, struct inode* ip, char* dst, uint off, uint tot, uint n, __code next(int ret, ...)); |
35 __code writei(Impl* fs, struct inode* ip, char* src, uint off, uint tot, uint n, __code next(int ret, ...)); | 13 __code writei(Impl* fs, struct inode* ip, char* src, uint off, uint tot, uint n, __code next(int ret, ...)); |
36 __code namecmp(Impl* fs, const char* s, const char* t, __code next(int strncmp_val, ...)); | 14 __code namecmp(Impl* fs, const char* s, const char* t, __code next(int strncmp_val, ...)); |
37 __code dirlookup(Impl* fs, struct inode* dp, char* name, uint off, uint* poff, dirent* de, __code next(int ret, ...)); | 15 __code dirlookup(Impl* fs, struct inode* dp, char* name, uint off, uint* poff, struct dirent* de, __code next(int ret, ...)); |
38 __code dirlink(struct fs_impl* fs, struct inode* ip, struct dirent* de, struct inode* dp, char* name, uint off, uint inum, __code next(...)); | 16 __code dirlink(Impl* fs, struct inode* ip, struct dirent* de, struct inode* dp, char* name, uint off, uint inum, __code next(...)); |
39 __code namei(Impl* fs, char* path, __code next(int namex_val, ...)); | 17 __code namei(Impl* fs, char* path, __code next(int namex_val, ...)); |
40 __code nameiparent(Impl* fs, char* path, char* name, __code next(int namex_val, ...)); | 18 __code nameiparent(Impl* fs, char* path, char* name, __code next(int namex_val, ...)); |
41 __code next(...); | 19 __code next(...); |
42 } fs; | 20 } fs; |