inode Struct Reference

#include <file.h>


Data Fields

uint dev
uint inum
int ref
int flags
short type
short major
short minor
short nlink
uint size
uint addrs [NDIRECT+1]


Detailed Description

Definition at line 14 of file file.h.


Field Documentation

Definition at line 15 of file file.h.

Referenced by bmap(), create(), dirlookup(), iget(), ilock(), itrunc(), iupdate(), readi(), stati(), sys_link(), and writei().

Definition at line 16 of file file.h.

Referenced by create(), dirlookup(), ialloc(), iget(), ilock(), iupdate(), stati(), and sys_link().

Definition at line 17 of file file.h.

Referenced by idup(), iget(), ilock(), iput(), and iunlock().

Definition at line 18 of file file.h.

Referenced by iget(), ilock(), iput(), and iunlock().

short inode::type

short inode::major

Definition at line 21 of file file.h.

Referenced by create(), ilock(), iupdate(), readi(), sys_mknod(), and writei().

short inode::minor

Definition at line 22 of file file.h.

Referenced by create(), ilock(), iupdate(), and sys_mknod().

short inode::nlink

Definition at line 23 of file file.h.

Referenced by create(), ilock(), iput(), iupdate(), stati(), sys_link(), and sys_unlink().

Definition at line 24 of file file.h.

Referenced by dirlink(), dirlookup(), ilock(), isdirempty(), itrunc(), iupdate(), readi(), stati(), and writei().

uint inode::addrs[NDIRECT+1]

Definition at line 25 of file file.h.

Referenced by bmap(), ilock(), itrunc(), and iupdate().


The documentation for this struct was generated from the following file:

Generated on Fri Jan 7 12:25:49 2011 for xv6 by  doxygen 1.5.6