#include "filesys/off_t.h"
Go to the source code of this file.
Functions | |
struct file * | file_open (struct inode *) |
struct file * | file_reopen (struct file *) |
void | file_close (struct file *) |
struct inode * | file_get_inode (struct file *) |
off_t | file_read (struct file *, void *, off_t) |
off_t | file_read_at (struct file *, void *, off_t size, off_t start) |
off_t | file_write (struct file *, const void *, off_t) |
off_t | file_write_at (struct file *, const void *, off_t size, off_t start) |
void | file_deny_write (struct file *) |
void | file_allow_write (struct file *) |
void | file_seek (struct file *, off_t) |
off_t | file_tell (struct file *) |
off_t | file_length (struct file *) |
void file_allow_write | ( | struct file * | ) |
Definition at line 134 of file file.c.
References ASSERT, file::deny_write, file::inode, inode_allow_write(), and NULL.
Referenced by file_close().
void file_close | ( | struct file * | ) |
Definition at line 47 of file file.c.
References file_allow_write(), free(), file::inode, inode_close(), and NULL.
Referenced by free_map_close(), fsutil_append(), fsutil_cat(), fsutil_extract(), and load().
void file_deny_write | ( | struct file * | ) |
Definition at line 120 of file file.c.
References ASSERT, file::deny_write, file::inode, inode_deny_write(), and NULL.
Definition at line 146 of file file.c.
References ASSERT, file::inode, inode_length(), and NULL.
Referenced by fsutil_append(), load(), and validate_segment().
Definition at line 19 of file file.c.
References calloc(), file::deny_write, free(), file::inode, inode_close(), NULL, and file::pos.
Referenced by file_reopen(), filesys_open(), free_map_create(), and free_map_open().
Definition at line 70 of file file.c.
References file::inode, inode_read_at(), and file::pos.
Referenced by fsutil_append(), fsutil_cat(), load(), and load_segment().
Definition at line 96 of file file.c.
References file::inode, inode_write_at(), and file::pos.
Referenced by fsutil_extract().