|
UNIX xv6 (rev8, 9/1/15)
|
#include "types.h"#include "defs.h"#include "param.h"#include "fs.h"#include "file.h"#include "spinlock.h"Go to the source code of this file.
Functions | |
| void | fileinit (void) |
| struct file * | filealloc (void) |
| struct file * | filedup (struct file *f) |
| void | fileclose (struct file *f) |
| int | filestat (struct file *f, struct stat *st) |
| int | fileread (struct file *f, char *addr, int n) |
| int | filewrite (struct file *f, char *addr, int n) |
Variables | |
| struct devsw | devsw [NDEV] |
| struct { | |
| struct spinlock lock | |
| struct file file [NFILE] | |
| } | ftable |
| struct { ... } ftable |
1.8.4