Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
file-nommu.c File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/backing-dev.h>
#include <linux/ramfs.h>
#include <linux/pagevec.h>
#include <linux/mman.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include "internal.h"

Go to the source code of this file.

Functions

int ramfs_nommu_expand_for_mapping (struct inode *inode, size_t newsize)
 
unsigned long ramfs_nommu_get_unmapped_area (struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)
 
int ramfs_nommu_mmap (struct file *file, struct vm_area_struct *vma)
 

Variables

struct address_space_operations ramfs_aops
 
struct file_operations ramfs_file_operations
 
struct inode_operations ramfs_file_inode_operations
 

Function Documentation

int ramfs_nommu_expand_for_mapping ( struct inode inode,
size_t  newsize 
)

Definition at line 62 of file file-nommu.c.

unsigned long ramfs_nommu_get_unmapped_area ( struct file file,
unsigned long  addr,
unsigned long  len,
unsigned long  pgoff,
unsigned long  flags 
)

Definition at line 200 of file file-nommu.c.

int ramfs_nommu_mmap ( struct file file,
struct vm_area_struct vma 
)

Definition at line 259 of file file-nommu.c.

Variable Documentation

Initial value:
= {
.readpage = simple_readpage,
.write_begin = simple_write_begin,
.write_end = simple_write_end,
.set_page_dirty = __set_page_dirty_no_writeback,
}

Definition at line 31 of file file-nommu.c.

struct inode_operations ramfs_file_inode_operations
Initial value:
= {
.setattr = ramfs_nommu_setattr,
.getattr = simple_getattr,
}

Definition at line 51 of file file-nommu.c.

struct file_operations ramfs_file_operations
Initial value:
= {
.get_unmapped_area = ramfs_nommu_get_unmapped_area,
.read = do_sync_read,
.aio_read = generic_file_aio_read,
.write = do_sync_write,
.aio_write = generic_file_aio_write,
.fsync = noop_fsync,
.splice_read = generic_file_splice_read,
.splice_write = generic_file_splice_write,
}

Definition at line 38 of file file-nommu.c.