Lines Matching defs:inode

72 #define	MAXDUP		10	/* limit on dup blks (per inode) */
73 #define MAXBAD 10 /* limit on bad blks (per inode) */
90 * Each inode on the file system is described by the following structure.
91 * The linkcnt is initially set to the value in the inode. Each time it
97 u_char ino_state; /* state of inode, see below */
98 u_char ino_type:4; /* type of inode */
105 #define USTATE 0x1 /* inode not allocated */
106 #define FSTATE 0x2 /* inode is file */
107 #define FZLINK 0x3 /* inode is file with a link count of zero */
108 #define DSTATE 0x4 /* inode is directory */
109 #define DZLINK 0x5 /* inode is directory with a zero link count */
132 struct inode {
135 ino_t i_number; /* inode number */
164 struct ufs1_dinode *b_dinode1; /* UFS1 inode block */
165 struct ufs2_dinode *b_dinode2; /* UFS2 inode block */
218 extern struct bufarea *icachebp; /* inode cache buffer */
247 /* function to be applied to blocks of inode */
250 ino_t id_number; /* inode number described */
302 ino_t i_number; /* inode number of this entry */
303 ino_t i_parent; /* inode number of parent */
304 ino_t i_dotdot; /* inode number of `..' */
305 size_t i_isize; /* size of inode */
323 extern int adjblkcnt[MIBSIZE]; /* MIB cmd to adjust inode block count */
324 extern int adjrefcnt[MIBSIZE]; /* MIB cmd to adjust inode reference count */
334 extern int setsize[MIBSIZE]; /* MIB cmd to set inode size */
358 extern ino_t lfdir; /* lost & found directory inode number */
373 extern struct inode snaplist[FSMAXSNAP + 1]; /* list of active snapshots */
476 void check_blkcnt(struct inode *ip);
509 void ginode(ino_t, struct inode *);
512 void irelse(struct inode *);
516 void inodirty(struct inode *);
533 void prtinode(struct inode *);