diff options
Diffstat (limited to 'sbin/fsck_ffs/fsck.h')
-rw-r--r-- | sbin/fsck_ffs/fsck.h | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h index f9905b1..f220026 100644 --- a/sbin/fsck_ffs/fsck.h +++ b/sbin/fsck_ffs/fsck.h @@ -257,67 +257,67 @@ struct dinode zino; struct fstab; -void adjust __P((struct inodesc *, int lcnt)); -ufs_daddr_t allocblk __P((long frags)); -ino_t allocdir __P((ino_t parent, ino_t request, int mode)); -ino_t allocino __P((ino_t request, int type)); -void blkerror __P((ino_t ino, char *type, ufs_daddr_t blk)); -char *blockcheck __P((char *name)); -int bread __P((int fd, char *buf, ufs_daddr_t blk, long size)); -void bufinit __P((void)); -void bwrite __P((int fd, char *buf, ufs_daddr_t blk, long size)); -void cacheino __P((struct dinode *dp, ino_t inumber)); -void catch __P((int)); -void catchquit __P((int)); -int changeino __P((ino_t dir, char *name, ino_t newnum)); -int chkrange __P((ufs_daddr_t blk, int cnt)); -void ckfini __P((int markclean)); -int ckinode __P((struct dinode *dp, struct inodesc *)); -void clri __P((struct inodesc *, char *type, int flag)); -int clearentry __P((struct inodesc *)); -void direrror __P((ino_t ino, char *errmesg)); -int dirscan __P((struct inodesc *)); -int dofix __P((struct inodesc *, char *msg)); -void ffs_clrblock __P((struct fs *, u_char *, ufs_daddr_t)); -void ffs_fragacct __P((struct fs *, int, int32_t [], int)); -int ffs_isblock __P((struct fs *, u_char *, ufs_daddr_t)); -void ffs_setblock __P((struct fs *, u_char *, ufs_daddr_t)); -void fileerror __P((ino_t cwd, ino_t ino, char *errmesg)); -int findino __P((struct inodesc *)); -int findname __P((struct inodesc *)); -void flush __P((int fd, struct bufarea *bp)); -void freeblk __P((ufs_daddr_t blkno, long frags)); -void freeino __P((ino_t ino)); -void freeinodebuf __P((void)); -int ftypeok __P((struct dinode *dp)); -void getblk __P((struct bufarea *bp, ufs_daddr_t blk, long size)); -struct bufarea *getdatablk __P((ufs_daddr_t blkno, long size)); -struct inoinfo *getinoinfo __P((ino_t inumber)); -struct dinode *getnextinode __P((ino_t inumber)); -void getpathname __P((char *namebuf, ino_t curdir, ino_t ino)); -struct dinode *ginode __P((ino_t inumber)); -void infohandler __P((int sig)); -void inocleanup __P((void)); -void inodirty __P((void)); -struct inostat *inoinfo __P((ino_t inum)); -int linkup __P((ino_t orphan, ino_t parentdir, char *name)); -int makeentry __P((ino_t parent, ino_t ino, char *name)); -void panic __P((const char *fmt, ...)) __printflike(1, 2); -void pass1 __P((void)); -void pass1b __P((void)); -int pass1check __P((struct inodesc *)); -void pass2 __P((void)); -void pass3 __P((void)); -void pass4 __P((void)); -int pass4check __P((struct inodesc *)); -void pass5 __P((void)); -void pfatal __P((const char *fmt, ...)) __printflike(1, 2); -void pinode __P((ino_t ino)); -void propagate __P((void)); -void pwarn __P((const char *fmt, ...)) __printflike(1, 2); -int readsb __P((int listerr)); -int reply __P((char *question)); -void rwerror __P((char *mesg, ufs_daddr_t blk)); -void sblock_init __P((void)); -void setinodebuf __P((ino_t)); -int setup __P((char *dev)); +void adjust(struct inodesc *, int lcnt); +ufs_daddr_t allocblk(long frags); +ino_t allocdir(ino_t parent, ino_t request, int mode); +ino_t allocino(ino_t request, int type); +void blkerror(ino_t ino, char *type, ufs_daddr_t blk); +char *blockcheck(char *name); +int bread(int fd, char *buf, ufs_daddr_t blk, long size); +void bufinit(void); +void bwrite(int fd, char *buf, ufs_daddr_t blk, long size); +void cacheino(struct dinode *dp, ino_t inumber); +void catch(int); +void catchquit(int); +int changeino(ino_t dir, char *name, ino_t newnum); +int chkrange(ufs_daddr_t blk, int cnt); +void ckfini(int markclean); +int ckinode(struct dinode *dp, struct inodesc *); +void clri(struct inodesc *, char *type, int flag); +int clearentry(struct inodesc *); +void direrror(ino_t ino, char *errmesg); +int dirscan(struct inodesc *); +int dofix(struct inodesc *, char *msg); +void ffs_clrblock(struct fs *, u_char *, ufs_daddr_t); +void ffs_fragacct(struct fs *, int, int32_t [], int); +int ffs_isblock(struct fs *, u_char *, ufs_daddr_t); +void ffs_setblock(struct fs *, u_char *, ufs_daddr_t); +void fileerror(ino_t cwd, ino_t ino, char *errmesg); +int findino(struct inodesc *); +int findname(struct inodesc *); +void flush(int fd, struct bufarea *bp); +void freeblk(ufs_daddr_t blkno, long frags); +void freeino(ino_t ino); +void freeinodebuf(void); +int ftypeok(struct dinode *dp); +void getblk(struct bufarea *bp, ufs_daddr_t blk, long size); +struct bufarea *getdatablk(ufs_daddr_t blkno, long size); +struct inoinfo *getinoinfo(ino_t inumber); +struct dinode *getnextinode(ino_t inumber); +void getpathname(char *namebuf, ino_t curdir, ino_t ino); +struct dinode *ginode(ino_t inumber); +void infohandler(int sig); +void inocleanup(void); +void inodirty(void); +struct inostat *inoinfo(ino_t inum); +int linkup(ino_t orphan, ino_t parentdir, char *name); +int makeentry(ino_t parent, ino_t ino, char *name); +void panic(const char *fmt, ...) __printflike(1, 2); +void pass1(void); +void pass1b(void); +int pass1check(struct inodesc *); +void pass2(void); +void pass3(void); +void pass4(void); +int pass4check(struct inodesc *); +void pass5(void); +void pfatal(const char *fmt, ...) __printflike(1, 2); +void pinode(ino_t ino); +void propagate(void); +void pwarn(const char *fmt, ...) __printflike(1, 2); +int readsb(int listerr); +int reply(char *question); +void rwerror(char *mesg, ufs_daddr_t blk); +void sblock_init(void); +void setinodebuf(ino_t); +int setup(char *dev); |