#include <linux/fs.h>
#include <linux/time.h>
#include <linux/jbd2.h>
#include <linux/highuid.h>
#include <linux/pagemap.h>
#include <linux/quotaops.h>
#include <linux/string.h>
#include <linux/buffer_head.h>
#include <linux/writeback.h>
#include <linux/pagevec.h>
#include <linux/mpage.h>
#include <linux/namei.h>
#include <linux/uio.h>
#include <linux/bio.h>
#include <linux/workqueue.h>
#include <linux/kernel.h>
#include <linux/printk.h>
#include <linux/slab.h>
#include <linux/ratelimit.h>
#include "ext4_jbd2.h"
#include "xattr.h"
#include "acl.h"
#include "truncate.h"
#include <trace/events/ext4.h>
Go to the source code of this file.
|
int | ext4_truncate_restart_trans (handle_t *handle, struct inode *inode, int nblocks) |
|
void | ext4_evict_inode (struct inode *inode) |
|
void | ext4_da_update_reserve_space (struct inode *inode, int used, int quota_claim) |
|
int | ext4_map_blocks (handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, int flags) |
|
int | ext4_get_block (struct inode *inode, sector_t iblock, struct buffer_head *bh, int create) |
|
struct buffer_head * | ext4_getblk (handle_t *handle, struct inode *inode, ext4_lblk_t block, int create, int *errp) |
|
struct buffer_head * | ext4_bread (handle_t *handle, struct inode *inode, ext4_lblk_t block, int create, int *err) |
|
int | ext4_alloc_da_blocks (struct inode *inode) |
|
void | ext4_set_aops (struct inode *inode) |
|
int | ext4_discard_partial_page_buffers (handle_t *handle, struct address_space *mapping, loff_t from, loff_t length, int flags) |
|
int | ext4_can_truncate (struct inode *inode) |
|
int | ext4_punch_hole (struct file *file, loff_t offset, loff_t length) |
|
void | ext4_truncate (struct inode *inode) |
|
int | ext4_get_inode_loc (struct inode *inode, struct ext4_iloc *iloc) |
|
void | ext4_set_inode_flags (struct inode *inode) |
|
void | ext4_get_inode_flags (struct ext4_inode_info *ei) |
|
struct inode * | ext4_iget (struct super_block *sb, unsigned long ino) |
|
int | ext4_write_inode (struct inode *inode, struct writeback_control *wbc) |
|
int | ext4_setattr (struct dentry *dentry, struct iattr *attr) |
|
int | ext4_getattr (struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) |
|
int | ext4_writepage_trans_blocks (struct inode *inode) |
|
int | ext4_chunk_trans_blocks (struct inode *inode, int nrblocks) |
|
int | ext4_mark_iloc_dirty (handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) |
|
int | ext4_reserve_inode_write (handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) |
|
int | ext4_mark_inode_dirty (handle_t *handle, struct inode *inode) |
|
void | ext4_dirty_inode (struct inode *inode, int flags) |
|
int | ext4_change_inode_journal_flag (struct inode *inode, int val) |
|
int | ext4_page_mkwrite (struct vm_area_struct *vma, struct vm_fault *vmf) |
|
Value:((1 << BH_Uptodate) | (1 << BH_Mapped) | \
(1 << BH_Delay) | (1 << BH_Unwritten))
Definition at line 1690 of file inode.c.
#define check_block_validity |
( |
|
inode, |
|
|
|
map |
|
) |
| __check_block_validity((inode), __func__, __LINE__, (map)) |
#define DIO_MAX_BLOCKS 4096 |
#define FALL_BACK_TO_NONDELALLOC 1 |
#define MPAGE_DA_EXTENT_TAIL 0x01 |
int ext4_discard_partial_page_buffers |
( |
handle_t * |
handle, |
|
|
struct address_space * |
mapping, |
|
|
loff_t |
from, |
|
|
loff_t |
length, |
|
|
int |
flags |
|
) |
| |
int ext4_punch_hole |
( |
struct file * |
file, |
|
|
loff_t |
offset, |
|
|
loff_t |
length |
|
) |
| |
int ext4_truncate_restart_trans |
( |
handle_t * |
handle, |
|
|
struct inode * |
inode, |
|
|
int |
nblocks |
|
) |
| |