Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
xfs_trans_dquot.c File Reference
#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_inode.h"
#include "xfs_itable.h"
#include "xfs_bmap.h"
#include "xfs_rtalloc.h"
#include "xfs_error.h"
#include "xfs_attr.h"
#include "xfs_buf_item.h"
#include "xfs_trans_priv.h"
#include "xfs_qm.h"

Go to the source code of this file.

Functions

STATIC void xfs_trans_alloc_dqinfo (xfs_trans_t *)
 
void xfs_trans_dqjoin (xfs_trans_t *tp, xfs_dquot_t *dqp)
 
void xfs_trans_log_dquot (xfs_trans_t *tp, xfs_dquot_t *dqp)
 
void xfs_trans_dup_dqinfo (xfs_trans_t *otp, xfs_trans_t *ntp)
 
void xfs_trans_mod_dquot_byino (xfs_trans_t *tp, xfs_inode_t *ip, uint field, long delta)
 
STATIC xfs_dqtrx_t * xfs_trans_get_dqtrx (xfs_trans_t *tp, xfs_dquot_t *dqp)
 
void xfs_trans_mod_dquot (xfs_trans_t *tp, xfs_dquot_t *dqp, uint field, long delta)
 
STATIC void xfs_trans_dqlockedjoin (xfs_trans_t *tp, xfs_dqtrx_t *q)
 
void xfs_trans_apply_dquot_deltas (xfs_trans_t *tp)
 
void xfs_trans_unreserve_and_mod_dquots (xfs_trans_t *tp)
 
STATIC void xfs_quota_warn (struct xfs_mount *mp, struct xfs_dquot *dqp, int type)
 
STATIC int xfs_trans_dqresv (xfs_trans_t *tp, xfs_mount_t *mp, xfs_dquot_t *dqp, long nblks, long ninos, uint flags)
 
int xfs_trans_reserve_quota_bydquots (xfs_trans_t *tp, xfs_mount_t *mp, xfs_dquot_t *udqp, xfs_dquot_t *gdqp, long nblks, long ninos, uint flags)
 
int xfs_trans_reserve_quota_nblks (struct xfs_trans *tp, struct xfs_inode *ip, long nblks, long ninos, uint flags)
 
xfs_qoff_logitem_txfs_trans_get_qoff_item (xfs_trans_t *tp, xfs_qoff_logitem_t *startqoff, uint flags)
 
void xfs_trans_log_quotaoff_item (xfs_trans_t *tp, xfs_qoff_logitem_t *qlp)
 
void xfs_trans_free_dqinfo (xfs_trans_t *tp)
 

Function Documentation

STATIC void xfs_quota_warn ( struct xfs_mount *  mp,
struct xfs_dquot dqp,
int  type 
)

Definition at line 573 of file xfs_trans_dquot.c.

STATIC void xfs_trans_alloc_dqinfo ( xfs_trans_t *  tp)

Definition at line 875 of file xfs_trans_dquot.c.

void xfs_trans_apply_dquot_deltas ( xfs_trans_t *  tp)

Definition at line 328 of file xfs_trans_dquot.c.

void xfs_trans_dqjoin ( xfs_trans_t *  tp,
xfs_dquot_t dqp 
)

Definition at line 46 of file xfs_trans_dquot.c.

STATIC void xfs_trans_dqlockedjoin ( xfs_trans_t *  tp,
xfs_dqtrx_t *  q 
)

Definition at line 302 of file xfs_trans_dquot.c.

STATIC int xfs_trans_dqresv ( xfs_trans_t *  tp,
xfs_mount_t *  mp,
xfs_dquot_t dqp,
long  nblks,
long  ninos,
uint  flags 
)

Definition at line 595 of file xfs_trans_dquot.c.

void xfs_trans_dup_dqinfo ( xfs_trans_t *  otp,
xfs_trans_t *  ntp 
)

Definition at line 94 of file xfs_trans_dquot.c.

void xfs_trans_free_dqinfo ( xfs_trans_t *  tp)

Definition at line 882 of file xfs_trans_dquot.c.

STATIC xfs_dqtrx_t* xfs_trans_get_dqtrx ( xfs_trans_t *  tp,
xfs_dquot_t dqp 
)

Definition at line 174 of file xfs_trans_dquot.c.

xfs_qoff_logitem_t* xfs_trans_get_qoff_item ( xfs_trans_t *  tp,
xfs_qoff_logitem_t startqoff,
uint  flags 
)

Definition at line 840 of file xfs_trans_dquot.c.

void xfs_trans_log_dquot ( xfs_trans_t *  tp,
xfs_dquot_t dqp 
)

Definition at line 78 of file xfs_trans_dquot.c.

void xfs_trans_log_quotaoff_item ( xfs_trans_t *  tp,
xfs_qoff_logitem_t qlp 
)

Definition at line 866 of file xfs_trans_dquot.c.

void xfs_trans_mod_dquot ( xfs_trans_t *  tp,
xfs_dquot_t dqp,
uint  field,
long  delta 
)

Definition at line 200 of file xfs_trans_dquot.c.

void xfs_trans_mod_dquot_byino ( xfs_trans_t *  tp,
xfs_inode_t *  ip,
uint  field,
long  delta 
)

Definition at line 150 of file xfs_trans_dquot.c.

int xfs_trans_reserve_quota_bydquots ( xfs_trans_t *  tp,
xfs_mount_t *  mp,
xfs_dquot_t udqp,
xfs_dquot_t gdqp,
long  nblks,
long  ninos,
uint  flags 
)

Definition at line 750 of file xfs_trans_dquot.c.

int xfs_trans_reserve_quota_nblks ( struct xfs_trans *  tp,
struct xfs_inode *  ip,
long  nblks,
long  ninos,
uint  flags 
)

Definition at line 805 of file xfs_trans_dquot.c.

void xfs_trans_unreserve_and_mod_dquots ( xfs_trans_t *  tp)

Definition at line 513 of file xfs_trans_dquot.c.