Home | History | Annotate | Line # | Download | only in fsck_ffs
extern.h revision 1.16
      1  1.16     fvdl /*	$NetBSD: extern.h,v 1.16 2003/04/02 10:39:25 fvdl Exp $	*/
      2   1.3      cgd 
      3   1.1      cgd /*
      4   1.2      cgd  * Copyright (c) 1994 James A. Jegers
      5   1.1      cgd  * All rights reserved.
      6   1.1      cgd  *
      7   1.1      cgd  * Redistribution and use in source and binary forms, with or without
      8   1.1      cgd  * modification, are permitted provided that the following conditions
      9   1.1      cgd  * are met:
     10   1.1      cgd  * 1. Redistributions of source code must retain the above copyright
     11   1.1      cgd  *    notice, this list of conditions and the following disclaimer.
     12   1.2      cgd  * 2. The name of the author may not be used to endorse or promote products
     13   1.1      cgd  *    derived from this software without specific prior written permission
     14   1.1      cgd  *
     15   1.1      cgd  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     16   1.1      cgd  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     17   1.1      cgd  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     18   1.1      cgd  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     19   1.1      cgd  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     20   1.1      cgd  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     21   1.1      cgd  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     22   1.1      cgd  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     23   1.1      cgd  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     24   1.1      cgd  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     25   1.1      cgd  */
     26   1.1      cgd 
     27   1.7    lukem void		adjust __P((struct inodesc *, int));
     28  1.15     fvdl daddr_t		allocblk __P((long));
     29   1.7    lukem ino_t		allocdir __P((ino_t, ino_t, int));
     30   1.7    lukem ino_t		allocino __P((ino_t request, int type));
     31  1.15     fvdl void		blkerror __P((ino_t, char *, daddr_t));
     32  1.15     fvdl int		bread __P((int, char *, daddr_t, long));
     33   1.7    lukem void		bufinit __P((void));
     34  1.15     fvdl void		bwrite __P((int, char *, daddr_t, long));
     35  1.16     fvdl void		cacheino __P((union dinode *, ino_t));
     36   1.7    lukem void		catch __P((int));
     37   1.7    lukem void		catchquit __P((int));
     38   1.7    lukem int		changeino __P((ino_t, char *, ino_t));
     39  1.15     fvdl int		chkrange __P((daddr_t, int));
     40   1.8   bouyer void		ckfini __P((void));
     41  1.16     fvdl int		ckinode __P((union dinode *, struct inodesc *));
     42  1.16     fvdl int		clearentry __P((struct inodesc *));
     43   1.7    lukem void		clri __P((struct inodesc *, char *, int));
     44  1.12  thorpej int		cmpsblks __P((const struct fs *, struct fs *));
     45  1.16     fvdl union		dinode * getnextinode __P((ino_t));
     46   1.7    lukem void		direrror __P((ino_t, char *));
     47   1.7    lukem int		dirscan __P((struct inodesc *));
     48   1.7    lukem int		dofix __P((struct inodesc *, char *));
     49   1.7    lukem void		fileerror __P((ino_t, ino_t, char *));
     50   1.7    lukem int		findino __P((struct inodesc *));
     51   1.7    lukem int		findname __P((struct inodesc *));
     52   1.7    lukem void		flush __P((int, struct bufarea *));
     53  1.15     fvdl void		freeblk __P((daddr_t, long));
     54   1.7    lukem void		freeino __P((ino_t));
     55   1.7    lukem void		freeinodebuf __P((void));
     56  1.16     fvdl int		ftypeok __P((union dinode *));
     57  1.15     fvdl void		getblk __P((struct bufarea *, daddr_t, long));
     58  1.15     fvdl struct bufarea *getdatablk __P((daddr_t, long));
     59   1.7    lukem struct inoinfo *getinoinfo __P((ino_t));
     60  1.16     fvdl union dinode  *ginode __P((ino_t));
     61   1.7    lukem void		getpathname __P((char *, ino_t, ino_t));
     62  1.14    lukem void		infohandler __P((int sig));
     63   1.7    lukem void		inocleanup __P((void));
     64   1.7    lukem void		inodirty __P((void));
     65  1.16     fvdl struct inostat *inoinfo __P((ino_t));
     66  1.16     fvdl int		linkup __P((ino_t, ino_t, char *));
     67   1.7    lukem int		makeentry __P((ino_t, ino_t, char *));
     68   1.7    lukem void		pass1 __P((void));
     69   1.7    lukem void		pass1b __P((void));
     70   1.7    lukem int		pass1check __P((struct inodesc *));
     71   1.7    lukem void		pass2 __P((void));
     72   1.7    lukem void		pass3 __P((void));
     73   1.7    lukem void		pass4 __P((void));
     74   1.7    lukem int		pass4check __P((struct inodesc *));
     75   1.7    lukem void		pass5 __P((void));
     76   1.7    lukem void		pinode __P((ino_t));
     77  1.11  mycroft void		propagate __P((ino_t));
     78   1.7    lukem int		reply __P((char *));
     79  1.16     fvdl void		setinodebuf __P((ino_t));
     80  1.10  mycroft int		setup __P((const char *));
     81   1.7    lukem void		voidquit __P((int));
     82   1.8   bouyer 
     83   1.8   bouyer void	swap_cg __P((struct cg *, struct cg *));
     84   1.8   bouyer void copyback_cg __P((struct bufarea *));
     85