Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
indirect.c File Reference
#include "ext4_jbd2.h"
#include "truncate.h"
#include <trace/events/ext4.h>

Go to the source code of this file.

Data Structures

struct  Indirect
 

Functions

int ext4_ind_map_blocks (handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, int flags)
 
ssize_t ext4_ind_direct_IO (int rw, struct kiocb *iocb, const struct iovec *iov, loff_t offset, unsigned long nr_segs)
 
int ext4_ind_calc_metadata_amount (struct inode *inode, sector_t lblock)
 
int ext4_ind_trans_blocks (struct inode *inode, int nrblocks, int chunk)
 
void ext4_ind_truncate (struct inode *inode)
 

Function Documentation

int ext4_ind_calc_metadata_amount ( struct inode inode,
sector_t  lblock 
)

Definition at line 892 of file indirect.c.

ssize_t ext4_ind_direct_IO ( int  rw,
struct kiocb iocb,
const struct iovec iov,
loff_t  offset,
unsigned long  nr_segs 
)

Definition at line 774 of file indirect.c.

int ext4_ind_map_blocks ( handle_t *  handle,
struct inode inode,
struct ext4_map_blocks map,
int  flags 
)

Definition at line 650 of file indirect.c.

int ext4_ind_trans_blocks ( struct inode inode,
int  nrblocks,
int  chunk 
)

Definition at line 914 of file indirect.c.

void ext4_ind_truncate ( struct inode inode)

Definition at line 1353 of file indirect.c.