Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
xfs_rtalloc.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_bit.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_dir2.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
#include "xfs_alloc.h"
#include "xfs_bmap.h"
#include "xfs_rtalloc.h"
#include "xfs_fsops.h"
#include "xfs_error.h"
#include "xfs_inode_item.h"
#include "xfs_trans_space.h"
#include "xfs_utils.h"
#include "xfs_trace.h"
#include "xfs_buf.h"

Go to the source code of this file.

Functions

STATIC int xfs_rtallocate_range (xfs_mount_t *, xfs_trans_t *, xfs_rtblock_t, xfs_extlen_t, xfs_buf_t **, xfs_fsblock_t *)
 
STATIC int xfs_rtany_summary (xfs_mount_t *, xfs_trans_t *, int, int, xfs_rtblock_t, xfs_buf_t **, xfs_fsblock_t *, int *)
 
STATIC int xfs_rtcheck_range (xfs_mount_t *, xfs_trans_t *, xfs_rtblock_t, xfs_extlen_t, int, xfs_rtblock_t *, int *)
 
STATIC int xfs_rtfind_back (xfs_mount_t *, xfs_trans_t *, xfs_rtblock_t, xfs_rtblock_t, xfs_rtblock_t *)
 
STATIC int xfs_rtfind_forw (xfs_mount_t *, xfs_trans_t *, xfs_rtblock_t, xfs_rtblock_t, xfs_rtblock_t *)
 
STATIC int xfs_rtget_summary (xfs_mount_t *, xfs_trans_t *, int, xfs_rtblock_t, xfs_buf_t **, xfs_fsblock_t *, xfs_suminfo_t *)
 
STATIC int xfs_rtmodify_range (xfs_mount_t *, xfs_trans_t *, xfs_rtblock_t, xfs_extlen_t, int)
 
STATIC int xfs_rtmodify_summary (xfs_mount_t *, xfs_trans_t *, int, xfs_rtblock_t, int, xfs_buf_t **, xfs_fsblock_t *)
 
STATIC int xfs_growfs_rt_alloc (xfs_mount_t *mp, xfs_extlen_t oblocks, xfs_extlen_t nblocks, xfs_inode_t *ip)
 
STATIC int xfs_rtallocate_extent_block (xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bbno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_rtblock_t *nextp, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock)
 
STATIC int xfs_rtallocate_extent_exact (xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock)
 
STATIC int xfs_rtallocate_extent_near (xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock)
 
STATIC int xfs_rtallocate_extent_size (xfs_mount_t *mp, xfs_trans_t *tp, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock)
 
STATIC int xfs_rtbuf_get (xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t block, int issum, xfs_buf_t **bpp)
 
STATIC int xfs_rtcopy_summary (xfs_mount_t *omp, xfs_mount_t *nmp, xfs_trans_t *tp)
 
STATIC int xfs_rtfree_range (xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t start, xfs_extlen_t len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb)
 
int xfs_growfs_rt (xfs_mount_t *mp, xfs_growfs_rt_t *in)
 
int xfs_rtallocate_extent (xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_alloctype_t type, int wasdel, xfs_extlen_t prod, xfs_rtblock_t *rtblock)
 
int xfs_rtfree_extent (xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t len)
 
int xfs_rtmount_init (xfs_mount_t *mp)
 
int xfs_rtmount_inodes (xfs_mount_t *mp)
 
void xfs_rtunmount_inodes (struct xfs_mount *mp)
 
int xfs_rtpick_extent (xfs_mount_t *mp, xfs_trans_t *tp, xfs_extlen_t len, xfs_rtblock_t *pick)
 

Function Documentation

int xfs_growfs_rt ( xfs_mount_t *  mp,
xfs_growfs_rt_t in 
)

Definition at line 1837 of file xfs_rtalloc.c.

STATIC int xfs_growfs_rt_alloc ( xfs_mount_t *  mp,
xfs_extlen_t  oblocks,
xfs_extlen_t  nblocks,
xfs_inode_t *  ip 
)

Definition at line 73 of file xfs_rtalloc.c.

int xfs_rtallocate_extent ( xfs_trans_t *  tp,
xfs_rtblock_t  bno,
xfs_extlen_t  minlen,
xfs_extlen_t  maxlen,
xfs_extlen_t len,
xfs_alloctype_t  type,
int  wasdel,
xfs_extlen_t  prod,
xfs_rtblock_t rtblock 
)

Definition at line 2049 of file xfs_rtalloc.c.

STATIC int xfs_rtallocate_extent_block ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  bbno,
xfs_extlen_t  minlen,
xfs_extlen_t  maxlen,
xfs_extlen_t len,
xfs_rtblock_t nextp,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb,
xfs_extlen_t  prod,
xfs_rtblock_t rtblock 
)

Definition at line 196 of file xfs_rtalloc.c.

STATIC int xfs_rtallocate_extent_exact ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  bno,
xfs_extlen_t  minlen,
xfs_extlen_t  maxlen,
xfs_extlen_t len,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb,
xfs_extlen_t  prod,
xfs_rtblock_t rtblock 
)

Definition at line 309 of file xfs_rtalloc.c.

STATIC int xfs_rtallocate_extent_near ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  bno,
xfs_extlen_t  minlen,
xfs_extlen_t  maxlen,
xfs_extlen_t len,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb,
xfs_extlen_t  prod,
xfs_rtblock_t rtblock 
)

Definition at line 388 of file xfs_rtalloc.c.

STATIC int xfs_rtallocate_extent_size ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_extlen_t  minlen,
xfs_extlen_t  maxlen,
xfs_extlen_t len,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb,
xfs_extlen_t  prod,
xfs_rtblock_t rtblock 
)

Definition at line 583 of file xfs_rtalloc.c.

STATIC int xfs_rtallocate_range ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  start,
xfs_extlen_t  len,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb 
)

Definition at line 728 of file xfs_rtalloc.c.

STATIC int xfs_rtany_summary ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
int  low,
int  high,
xfs_rtblock_t  bbno,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb,
int stat 
)

Definition at line 805 of file xfs_rtalloc.c.

STATIC int xfs_rtbuf_get ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  block,
int  issum,
xfs_buf_t **  bpp 
)

Definition at line 850 of file xfs_rtalloc.c.

STATIC int xfs_rtcheck_range ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  start,
xfs_extlen_t  len,
int  val,
xfs_rtblock_t new,
int stat 
)

Definition at line 903 of file xfs_rtalloc.c.

STATIC int xfs_rtcopy_summary ( xfs_mount_t *  omp,
xfs_mount_t *  nmp,
xfs_trans_t *  tp 
)

Definition at line 1079 of file xfs_rtalloc.c.

STATIC int xfs_rtfind_back ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  start,
xfs_rtblock_t  limit,
xfs_rtblock_t rtblock 
)

Definition at line 1121 of file xfs_rtalloc.c.

STATIC int xfs_rtfind_forw ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  start,
xfs_rtblock_t  limit,
xfs_rtblock_t rtblock 
)

Definition at line 1296 of file xfs_rtalloc.c.

int xfs_rtfree_extent ( xfs_trans_t *  tp,
xfs_rtblock_t  bno,
xfs_extlen_t  len 
)

Definition at line 2130 of file xfs_rtalloc.c.

STATIC int xfs_rtfree_range ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  start,
xfs_extlen_t  len,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb 
)

Definition at line 1466 of file xfs_rtalloc.c.

STATIC int xfs_rtget_summary ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
int  log,
xfs_rtblock_t  bbno,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb,
xfs_suminfo_t sum 
)

Definition at line 1544 of file xfs_rtalloc.c.

STATIC int xfs_rtmodify_range ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_rtblock_t  start,
xfs_extlen_t  len,
int  val 
)

Definition at line 1611 of file xfs_rtalloc.c.

STATIC int xfs_rtmodify_summary ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
int  log,
xfs_rtblock_t  bbno,
int  delta,
xfs_buf_t **  rbpp,
xfs_fsblock_t rsb 
)

Definition at line 1770 of file xfs_rtalloc.c.

int xfs_rtmount_init ( xfs_mount_t *  mp)

Definition at line 2189 of file xfs_rtalloc.c.

int xfs_rtmount_inodes ( xfs_mount_t *  mp)

Definition at line 2236 of file xfs_rtalloc.c.

int xfs_rtpick_extent ( xfs_mount_t *  mp,
xfs_trans_t *  tp,
xfs_extlen_t  len,
xfs_rtblock_t pick 
)

Definition at line 2277 of file xfs_rtalloc.c.

void xfs_rtunmount_inodes ( struct xfs_mount *  mp)

Definition at line 2260 of file xfs_rtalloc.c.