|
| static struct file * | file_get (struct file *file) |
| | Increment an open file description's reference count. More...
|
| |
| static void | file_put (struct file *file) |
| | Decrement an open file description's reference count. More...
|
| |
|
struct file * | file_open (struct vnode *, const struct file_operations *) |
| | Create a new file structure.
|
| |
| off_t | default_file_seek (struct file *file, off_t off, int whence) |
| | Reposition the open file description offset. More...
|
| |
|
static void | file_close (struct file *file) |
| | Free a file struct and release its content.
|
| |
|
void | file_accessed (struct file *file) |
| | Update the file's vnode's last access time.
|
| |
|
void | file_modified (struct file *file) |
| | Update the file's vnode's last modification time.
|
| |