Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
file.c File Reference
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/time.h>
#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/crc32.h>
#include <linux/jffs2.h>
#include "nodelist.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int jffs2_fsync (struct file *filp, loff_t start, loff_t end, int datasync)
 
int jffs2_do_readpage_unlock (struct inode *inode, struct page *pg)
 

Variables

struct file_operations jffs2_file_operations
 
struct inode_operations jffs2_file_inode_operations
 
struct address_space_operations jffs2_file_address_operations
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 13 of file file.c.

Function Documentation

int jffs2_do_readpage_unlock ( struct inode inode,
struct page pg 
)

Definition at line 115 of file file.c.

int jffs2_fsync ( struct file filp,
loff_t  start,
loff_t  end,
int  datasync 
)

Definition at line 32 of file file.c.

Variable Documentation

struct address_space_operations jffs2_file_address_operations
Initial value:
=
{
.readpage = jffs2_readpage,
.write_begin = jffs2_write_begin,
.write_end = jffs2_write_end,
}

Definition at line 76 of file file.c.

struct inode_operations jffs2_file_inode_operations
Initial value:
=
{
.get_acl = jffs2_get_acl,
.setattr = jffs2_setattr,
.setxattr = jffs2_setxattr,
.getxattr = jffs2_getxattr,
.listxattr = jffs2_listxattr,
.removexattr = jffs2_removexattr
}

Definition at line 66 of file file.c.

struct file_operations jffs2_file_operations
Initial value:
=
{
.read = do_sync_read,
.aio_read = generic_file_aio_read,
.write = do_sync_write,
.aio_write = generic_file_aio_write,
.unlocked_ioctl=jffs2_ioctl,
.fsync = jffs2_fsync,
.splice_read = generic_file_splice_read,
}

Definition at line 50 of file file.c.