StuBS
Inode Class Reference
Inheritance diagram for Inode:
[legend]
Collaboration diagram for Inode:
[legend]

Public Member Functions

 Inode (Filesystem *fs)
 
bool is_new () const
 
void clear_new_flag ()
 
void mark_dirty ()
 
bool is_dirty () const
 
int write_to_disk ()
 
void get ()
 
void put ()
 

Public Attributes

ino_t ino
 
umode_t mode
 
unsigned int nlinks
 
uid_t uid
 
gid_t gid
 
off_t size
 
time_t atime
 
time_t mtime
 
time_t ctime
 
unsigned int refcount
 
Inodeicache_next
 
Filesystemfilesystem
 
int flags
 

Static Public Attributes

static const int DIRTY_FLAG = 0x1
 
static const int NEW_FLAG = 0x2
 

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