Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
file.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/writeback.h>
#include <linux/gfp.h>
#include "internal.h"

Go to the source code of this file.

Functions

int afs_open (struct inode *inode, struct file *file)
 
int afs_release (struct inode *inode, struct file *file)
 
int afs_page_filler (void *data, struct page *page)
 

Variables

struct file_operations afs_file_operations
 
struct inode_operations afs_file_inode_operations
 
struct address_space_operations afs_fs_aops
 

Function Documentation

int afs_open ( struct inode inode,
struct file file 
)

Definition at line 66 of file file.c.

int afs_page_filler ( void data,
struct page page 
)

Definition at line 126 of file file.c.

int afs_release ( struct inode inode,
struct file file 
)

Definition at line 94 of file file.c.

Variable Documentation

struct inode_operations afs_file_inode_operations
Initial value:
= {
.getattr = afs_getattr,
.setattr = afs_setattr,
.permission = afs_permission,
}

Definition at line 44 of file file.c.

struct file_operations afs_file_operations
Initial value:
= {
.open = afs_open,
.release = afs_release,
.read = do_sync_read,
.write = do_sync_write,
.aio_read = generic_file_aio_read,
.aio_write = afs_file_write,
.splice_read = generic_file_splice_read,
.fsync = afs_fsync,
.lock = afs_lock,
.flock = afs_flock,
}

Definition at line 29 of file file.c.

Initial value:
= {
.readpage = afs_readpage,
.readpages = afs_readpages,
.set_page_dirty = afs_set_page_dirty,
.launder_page = afs_launder_page,
.releasepage = afs_releasepage,
.invalidatepage = afs_invalidatepage,
.write_begin = afs_write_begin,
.write_end = afs_write_end,
.writepage = afs_writepage,
.writepages = afs_writepages,
}

Definition at line 50 of file file.c.