|
Linux Kernel
3.7.1
|
#include <linux/fs.h>#include <linux/module.h>#include <linux/mm.h>#include <linux/pagemap.h>#include <linux/statfs.h>#include <linux/slab.h>#include <linux/seq_file.h>#include <linux/mount.h>#include <linux/namei.h>#include "hostfs.h"#include <init.h>#include <kern.h>Go to the source code of this file.
Data Structures | |
| struct | hostfs_inode_info |
Macros | |
| #define | FILE_HOSTFS_I(file) HOSTFS_I((file)->f_path.dentry->d_inode) |
| #define | HOSTFS_SUPER_MAGIC 0x00c0ffee |
Definition at line 33 of file hostfs_kern.c.
| #define HOSTFS_SUPER_MAGIC 0x00c0ffee |
Definition at line 48 of file hostfs_kern.c.
| __uml_setup | ( | " | hostfs = ", hostfs_args,"hostfs=<root dir>, |
| < flags > | , | ||
| ...\n""This is used to set hostfs parameters.The root directory argument\n""is used to confine all hostfs mounts to within the specified directory\n""tree on the host.If this isn't | specified, | ||
| then a user inside UML can\n""mount anything on the host that's accessible to the user that's running\n""it.\n""The only flag currently supported is 'append' | , | ||
| which specifies that all\n""files opened by hostfs will be opened in append mode.\n\n" | |||
| ) |
Definition at line 555 of file hostfs_kern.c.
Definition at line 306 of file hostfs_kern.c.
Definition at line 365 of file hostfs_kern.c.
Definition at line 634 of file hostfs_kern.c.
|
read |
Definition at line 597 of file hostfs_kern.c.
Definition at line 680 of file hostfs_kern.c.
Definition at line 762 of file hostfs_kern.c.
Definition at line 280 of file hostfs_kern.c.
Definition at line 436 of file hostfs_kern.c.
| int hostfs_rename | ( | struct inode * | from_ino, |
| struct dentry * | from, | ||
| struct inode * | to_ino, | ||
| struct dentry * | to | ||
| ) |
Definition at line 744 of file hostfs_kern.c.
Definition at line 692 of file hostfs_kern.c.
Definition at line 788 of file hostfs_kern.c.
Definition at line 199 of file hostfs_kern.c.
Definition at line 668 of file hostfs_kern.c.
Definition at line 652 of file hostfs_kern.c.
| int hostfs_write_begin | ( | struct file * | file, |
| struct address_space * | mapping, | ||
| loff_t | pos, | ||
| unsigned | len, | ||
| unsigned | flags, | ||
| struct page ** | pagep, | ||
| void ** | fsdata | ||
| ) |
Definition at line 461 of file hostfs_kern.c.
| int hostfs_write_end | ( | struct file * | file, |
| struct address_space * | mapping, | ||
| loff_t | pos, | ||
| unsigned | len, | ||
| unsigned | copied, | ||
| struct page * | page, | ||
| void * | fsdata | ||
| ) |
Definition at line 473 of file hostfs_kern.c.
| int hostfs_writepage | ( | struct page * | page, |
| struct writeback_control * | wbc | ||
| ) |
Definition at line 400 of file hostfs_kern.c.
1.8.2