Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
inode.c File Reference
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/time.h>
#include <linux/stat.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/buffer_head.h>
#include <linux/writeback.h>
#include "ufs_fs.h"
#include "ufs.h"
#include "swab.h"
#include "util.h"

Go to the source code of this file.

Macros

#define GET_INODE_DATABLOCK(x)
 
#define GET_INODE_PTR(x)
 
#define GET_INDIRECT_DATABLOCK(x)
 
#define GET_INDIRECT_PTR(x)
 

Functions

int ufs_getfrag_block (struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create)
 
int ufs_prepare_chunk (struct page *page, loff_t pos, unsigned len)
 
struct inodeufs_iget (struct super_block *sb, unsigned long ino)
 
int ufs_write_inode (struct inode *inode, struct writeback_control *wbc)
 
int ufs_sync_inode (struct inode *inode)
 
void ufs_evict_inode (struct inode *inode)
 

Variables

struct address_space_operations ufs_aops
 

Macro Definition Documentation

#define GET_INDIRECT_DATABLOCK (   x)
Value:
ufs_inode_getblock(inode, bh, x, fragment, \
&err, &phys, &new, bh_result->b_page)
#define GET_INDIRECT_PTR (   x)
Value:
ufs_inode_getblock(inode, bh, x, fragment, \
#define GET_INODE_DATABLOCK (   x)
Value:
ufs_inode_getfrag(inode, x, fragment, 1, &err, &phys, &new,\
bh_result->b_page)
#define GET_INODE_PTR (   x)
Value:
ufs_inode_getfrag(inode, x, fragment, uspi->s_fpb, &err, NULL, NULL,\
bh_result->b_page)

Function Documentation

void ufs_evict_inode ( struct inode inode)

Definition at line 876 of file inode.c.

int ufs_getfrag_block ( struct inode inode,
sector_t  fragment,
struct buffer_head *  bh_result,
int  create 
)

ufs_getfrag_block() - `get_block_t' function, interface between UFS and readpage, writepage and so on

Definition at line 415 of file inode.c.

struct inode* ufs_iget ( struct super_block sb,
unsigned long  ino 
)
read

Definition at line 677 of file inode.c.

int ufs_prepare_chunk ( struct page page,
loff_t  pos,
unsigned  len 
)

Definition at line 524 of file inode.c.

int ufs_sync_inode ( struct inode inode)

Definition at line 871 of file inode.c.

int ufs_write_inode ( struct inode inode,
struct writeback_control wbc 
)

Definition at line 862 of file inode.c.

Variable Documentation

Initial value:
= {
.readpage = ufs_readpage,
.writepage = ufs_writepage,
.write_begin = ufs_write_begin,
.write_end = generic_write_end,
.bmap = ufs_bmap
}

Definition at line 551 of file inode.c.