Mercurial > hg > CbC > CbC_xv6
diff src/impl/fs_impl.h @ 311:b40deb55b7db
build success
author | menikon |
---|---|
date | Tue, 04 Feb 2020 16:11:36 +0900 |
parents | 4cf83e6ce534 |
children | b527f27761bf |
line wrap: on
line diff
--- a/src/impl/fs_impl.h Mon Feb 03 15:41:24 2020 +0900 +++ b/src/impl/fs_impl.h Tue Feb 04 16:11:36 2020 +0900 @@ -7,15 +7,20 @@ struct dinode* dip; int inum; int iget_val; + struct inode* dp; + char* name; + uint* poff; + dirent* de; - __code allocinode(struct fs_impl* fs_impl, uint dev, short type, __code next(int iget_val, ...)); - __code allocinode_loop(struct fs_impl* fs_impl, int inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(int iget_val, ...)); + __code allocinode(Type* fs_impl, uint dev, short type, __code next(int iget_val, ...)); + __code allocinode_loop(Type* fs_impl, int inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(int iget_val, ...)); __code allocinode_loopcheck(Type* fs_impl, int inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(int iget_val, ...)); - __code allocinode_noloop(struct fs_impl* fs_impl, int inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(int iget_val, ...)); + __code allocinode_noloop(Type* fs_impl, int inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(int iget_val, ...)); __code lockinode1(Type* fs_impl, struct inode *ip, struct buf *bp, struct dinode *dip, __code next(...)); - __code lockinode2(struct fs_impl* fs_impl, struct inode* ip, struct buf* bp, struct dinode* dip, __code next(...)); - __code lockinode_sleepcheck(struct fs_impl* fs_impl, struct inode* ip, __code next(...)); - __code iput_check(struct fs_impl* fs_impl, struct inode* ip, __code next(...)); - __code iput_inode_nolink(struct fs_impl* fs_impl, struct inode* ip, __code next(...)); + __code lockinode2(Type* fs_impl, struct inode* ip, struct buf* bp, struct dinode* dip, __code next(...)); + __code lockinode_sleepcheck(Type* fs_impl, struct inode* ip, __code next(...)); + __code iput_check(Type* fs_impl, struct inode* ip, __code next(...)); + __code iput_inode_nolink(Type* fs_impl, struct inode* ip, __code next(...)); + __code dirlookup_loopcheck(Type* fs_impl, struct inode* dp, char* name, uint* poff, dirent* de, next(...)); __code next(...); } fs_impl;