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 "affs.h"

Go to the source code of this file.

Functions

void affs_free_prealloc (struct inode *inode)
 
void affs_truncate (struct inode *inode)
 
int affs_file_fsync (struct file *filp, loff_t start, loff_t end, int datasync)
 

Variables

struct file_operations affs_file_operations
 
struct inode_operations affs_file_inode_operations
 
struct address_space_operations affs_aops
 
struct address_space_operations affs_aops_ofs
 

Function Documentation

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

Definition at line 926 of file file.c.

void affs_free_prealloc ( struct inode inode)

Definition at line 795 of file file.c.

void affs_truncate ( struct inode inode)

Definition at line 810 of file file.c.

Variable Documentation

Initial value:
= {
.readpage = affs_readpage,
.writepage = affs_writepage,
.write_begin = affs_write_begin,
.write_end = generic_write_end,
.bmap = _affs_bmap
}

Definition at line 429 of file file.c.

Initial value:
= {
.readpage = affs_readpage_ofs,
.write_begin = affs_write_begin_ofs,
.write_end = affs_write_end_ofs
}

Definition at line 785 of file file.c.

struct inode_operations affs_file_inode_operations
Initial value:
= {
.truncate = affs_truncate,
.setattr = affs_notify_change,
}

Definition at line 41 of file file.c.

struct file_operations affs_file_operations
Initial value:
= {
.read = do_sync_read,
.aio_read = generic_file_aio_read,
.write = do_sync_write,
.aio_write = generic_file_aio_write,
.open = affs_file_open,
.release = affs_file_release,
.fsync = affs_file_fsync,
.splice_read = generic_file_splice_read,
}

Definition at line 28 of file file.c.