diff src/impl/fs_impl.h @ 320:40e9dd5ff084

build success
author menikon
date Thu, 06 Feb 2020 18:27:50 +0900
parents 71c7bd0d047e
children 98902fad1e2e
line wrap: on
line diff
--- a/src/impl/fs_impl.h	Thu Feb 06 17:21:04 2020 +0900
+++ b/src/impl/fs_impl.h	Thu Feb 06 18:27:50 2020 +0900
@@ -16,6 +16,7 @@
     uint m;
     char* dst;
     uint n;
+    char* src;
 
     __code allocinode(Type* fs_impl, uint dev, short type, __code next(...));
     __code allocinode_loop(Type* fs_impl, uint inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...));
@@ -30,6 +31,10 @@
     __code readi_loopcheck(struct fs_impl* fs_impl, uint tot, uint m, char* dst, uint off, uint n, __code next(...));
     __code readi_loop(struct fs_impl* fs_impl, struct inode *ip, struct buf* bp, uint tot, uint m, char* dst, uint off, uint n, __code next(...));
     __code readi_noloop(struct fs_impl* fs_impl, uint n, __code next(int ret, ...));
+    __code writei_check_diskinode(struct fs_impl* fs_impl,struct inode* ip, char* src, uint n, __code next(int ret, ...));
+    __code writei_loopcheck(struct fs_impl* fs_impl, uint tot, uint m, char* src, uint off, uint n, __code next(...));
+    __code writei_loop(struct fs_impl* fs_impl, struct inode* ip, struct buf* bp, uint tot, uint m, char* src, uint off, uint n, __code next(...));
+    __code writei_noloop(struct fs_impl* fs_impl, struct inode* ip, uint n, uint off, __code next(int ret, ...));
     __code dirlookup_loopcheck(Type* fs_impl, struct inode* dp, char* name, uint off, uint* poff, dirent* de, next(...));
     __code dirlookup_loop(struct fs_impl* fs_impl, struct inode* dp, char* name, uint off, uint* poff, dirent* de, __code next(...));
     __code dirlookup_noloop(struct fs_impl* fs_impl, __code next(int ret, ...));