MentOS  0.8.0
The Mentoring Operating System
Public Attributes | List of all members
vfs_file_t Struct Reference

Data structure that contains information about the mounted filesystems. More...

Public Attributes

char name [NAME_MAX]
 The filename.
 
void * device
 Device object (optional).
 
uint32_t mask
 The permissions mask.
 
uint32_t uid
 The owning user.
 
uint32_t gid
 The owning group.
 
uint32_t flags
 Flags (node type, etc).
 
uint32_t ino
 Inode number.
 
uint32_t length
 Size of the file, in byte.
 
uint32_t impl
 Used to keep track which fs it belongs to.
 
uint32_t open_flags
 Flags passed to open (read/write/append, etc.)
 
int count
 Number of file descriptors associated with this file.
 
uint32_t atime
 Accessed (time).
 
uint32_t mtime
 Modified (time).
 
uint32_t ctime
 Created (time).
 
vfs_sys_operations_tsys_operations
 Generic system operations.
 
vfs_file_operations_tfs_operations
 Files operations.
 
size_t f_pos
 Offset for read operations.
 
uint32_t nlink
 The number of links.
 
list_head siblings
 List to hold all active files associated with a specific entry in a filesystem.
 
int32_t refcount
 TODO: Comment.
 

Detailed Description

Data structure that contains information about the mounted filesystems.


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