Linux Kernel
3.7.1
|
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_alloc.h"
#include "xfs_quota.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_alloc_btree.h"
#include "xfs_ialloc_btree.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
#include "xfs_inode_item.h"
#include "xfs_btree.h"
#include "xfs_bmap.h"
#include "xfs_rtalloc.h"
#include "xfs_error.h"
#include "xfs_itable.h"
#include "xfs_attr.h"
#include "xfs_buf_item.h"
#include "xfs_trans_space.h"
#include "xfs_utils.h"
#include "xfs_iomap.h"
#include "xfs_trace.h"
Go to the source code of this file.
Macros | |
#define | XFS_WRITEIO_ALIGN(mp, off) |
#define | XFS_WRITE_IMAPS XFS_BMAP_MAX_NMAP |
Functions | |
STATIC int | xfs_iomap_eof_align_last_fsb (xfs_mount_t *mp, xfs_inode_t *ip, xfs_extlen_t extsize, xfs_fileoff_t *last_fsb) |
STATIC int | xfs_alert_fsblock_zero (xfs_inode_t *ip, xfs_bmbt_irec_t *imap) |
int | xfs_iomap_write_direct (xfs_inode_t *ip, xfs_off_t offset, size_t count, xfs_bmbt_irec_t *imap, int nmaps) |
STATIC int | xfs_iomap_eof_want_preallocate (xfs_mount_t *mp, xfs_inode_t *ip, xfs_off_t offset, size_t count, xfs_bmbt_irec_t *imap, int nimaps, int *prealloc) |
STATIC xfs_fsblock_t | xfs_iomap_prealloc_size (struct xfs_mount *mp, struct xfs_inode *ip) |
int | xfs_iomap_write_delay (xfs_inode_t *ip, xfs_off_t offset, size_t count, xfs_bmbt_irec_t *ret_imap) |
int | xfs_iomap_write_allocate (xfs_inode_t *ip, xfs_off_t offset, size_t count, xfs_bmbt_irec_t *imap) |
int | xfs_iomap_write_unwritten (xfs_inode_t *ip, xfs_off_t offset, size_t count) |
#define XFS_WRITE_IMAPS XFS_BMAP_MAX_NMAP |
Definition at line 48 of file xfs_iomap.c.
#define XFS_WRITEIO_ALIGN | ( | mp, | |
off | |||
) |
Definition at line 46 of file xfs_iomap.c.
STATIC int xfs_alert_fsblock_zero | ( | xfs_inode_t * | ip, |
xfs_bmbt_irec_t * | imap | ||
) |
Definition at line 102 of file xfs_iomap.c.
STATIC int xfs_iomap_eof_align_last_fsb | ( | xfs_mount_t * | mp, |
xfs_inode_t * | ip, | ||
xfs_extlen_t | extsize, | ||
xfs_fileoff_t * | last_fsb | ||
) |
Definition at line 51 of file xfs_iomap.c.
STATIC int xfs_iomap_eof_want_preallocate | ( | xfs_mount_t * | mp, |
xfs_inode_t * | ip, | ||
xfs_off_t | offset, | ||
size_t | count, | ||
xfs_bmbt_irec_t * | imap, | ||
int | nimaps, | ||
int * | prealloc | ||
) |
Definition at line 264 of file xfs_iomap.c.
STATIC xfs_fsblock_t xfs_iomap_prealloc_size | ( | struct xfs_mount * | mp, |
struct xfs_inode * | ip | ||
) |
Definition at line 319 of file xfs_iomap.c.
int xfs_iomap_write_allocate | ( | xfs_inode_t * | ip, |
xfs_off_t | offset, | ||
size_t | count, | ||
xfs_bmbt_irec_t * | imap | ||
) |
Definition at line 477 of file xfs_iomap.c.
int xfs_iomap_write_delay | ( | xfs_inode_t * | ip, |
xfs_off_t | offset, | ||
size_t | count, | ||
xfs_bmbt_irec_t * | ret_imap | ||
) |
Definition at line 362 of file xfs_iomap.c.
int xfs_iomap_write_direct | ( | xfs_inode_t * | ip, |
xfs_off_t | offset, | ||
size_t | count, | ||
xfs_bmbt_irec_t * | imap, | ||
int | nmaps | ||
) |
Definition at line 119 of file xfs_iomap.c.
Definition at line 636 of file xfs_iomap.c.