Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
xfs_dquot.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_bit.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_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_trans_priv.h"
#include "xfs_qm.h"
#include "xfs_trace.h"

Go to the source code of this file.

Functions

void xfs_qm_dqdestroy (xfs_dquot_t *dqp)
 
void xfs_qm_adjust_dqlimits (xfs_mount_t *mp, xfs_disk_dquot_t *d)
 
void xfs_qm_adjust_dqtimers (xfs_mount_t *mp, xfs_disk_dquot_t *d)
 
STATIC void xfs_qm_init_dquot_blk (xfs_trans_t *tp, xfs_mount_t *mp, xfs_dqid_t id, uint type, xfs_buf_t *bp)
 
STATIC int xfs_qm_dqalloc (xfs_trans_t **tpp, xfs_mount_t *mp, xfs_dquot_t *dqp, xfs_inode_t *quotip, xfs_fileoff_t offset_fsb, xfs_buf_t **O_bpp)
 
STATIC int xfs_qm_dqtobp (xfs_trans_t **tpp, xfs_dquot_t *dqp, xfs_disk_dquot_t **O_ddpp, xfs_buf_t **O_bpp, uint flags)
 
int xfs_qm_dqread (struct xfs_mount *mp, xfs_dqid_t id, uint type, uint flags, struct xfs_dquot **O_dqpp)
 
int xfs_qm_dqget (xfs_mount_t *mp, xfs_inode_t *ip, xfs_dqid_t id, uint type, uint flags, xfs_dquot_t **O_dqpp)
 
STATIC void xfs_qm_dqput_final (struct xfs_dquot *dqp)
 
void xfs_qm_dqput (struct xfs_dquot *dqp)
 
void xfs_qm_dqrele (xfs_dquot_t *dqp)
 
STATIC void xfs_qm_dqflush_done (struct xfs_buf *bp, struct xfs_log_item *lip)
 
int xfs_qm_dqflush (struct xfs_dquot *dqp, struct xfs_buf **bpp)
 
void xfs_dqlock2 (xfs_dquot_t *d1, xfs_dquot_t *d2)
 
int __init xfs_qm_init (void)
 
void xfs_qm_exit (void)
 

Variables

struct kmem_zonexfs_qm_dqtrxzone
 

Function Documentation

void xfs_dqlock2 ( xfs_dquot_t d1,
xfs_dquot_t d2 
)

Definition at line 987 of file xfs_dquot.c.

void xfs_qm_adjust_dqlimits ( xfs_mount_t *  mp,
xfs_disk_dquot_t d 
)

Definition at line 87 of file xfs_dquot.c.

void xfs_qm_adjust_dqtimers ( xfs_mount_t *  mp,
xfs_disk_dquot_t d 
)

Definition at line 123 of file xfs_dquot.c.

STATIC int xfs_qm_dqalloc ( xfs_trans_t **  tpp,
xfs_mount_t *  mp,
xfs_dquot_t dqp,
xfs_inode_t *  quotip,
xfs_fileoff_t  offset_fsb,
xfs_buf_t **  O_bpp 
)

Definition at line 258 of file xfs_dquot.c.

void xfs_qm_dqdestroy ( xfs_dquot_t dqp)

Definition at line 70 of file xfs_dquot.c.

int xfs_qm_dqflush ( struct xfs_dquot dqp,
struct xfs_buf **  bpp 
)

Definition at line 879 of file xfs_dquot.c.

STATIC void xfs_qm_dqflush_done ( struct xfs_buf bp,
struct xfs_log_item *  lip 
)

Definition at line 837 of file xfs_dquot.c.

int xfs_qm_dqget ( xfs_mount_t *  mp,
xfs_inode_t *  ip,
xfs_dqid_t  id,
uint  type,
uint  flags,
xfs_dquot_t **  O_dqpp 
)

Definition at line 614 of file xfs_dquot.c.

void xfs_qm_dqput ( struct xfs_dquot dqp)

Definition at line 792 of file xfs_dquot.c.

STATIC void xfs_qm_dqput_final ( struct xfs_dquot dqp)

Definition at line 750 of file xfs_dquot.c.

int xfs_qm_dqread ( struct xfs_mount *  mp,
xfs_dqid_t  id,
uint  type,
uint  flags,
struct xfs_dquot **  O_dqpp 
)

Definition at line 481 of file xfs_dquot.c.

void xfs_qm_dqrele ( xfs_dquot_t dqp)

Definition at line 811 of file xfs_dquot.c.

STATIC int xfs_qm_dqtobp ( xfs_trans_t **  tpp,
xfs_dquot_t dqp,
xfs_disk_dquot_t **  O_ddpp,
xfs_buf_t **  O_bpp,
uint  flags 
)

Definition at line 369 of file xfs_dquot.c.

void xfs_qm_exit ( void  )

Definition at line 1030 of file xfs_dquot.c.

int __init xfs_qm_init ( void  )

Definition at line 1009 of file xfs_dquot.c.

STATIC void xfs_qm_init_dquot_blk ( xfs_trans_t *  tp,
xfs_mount_t *  mp,
xfs_dqid_t  id,
uint  type,
xfs_buf_t bp 
)

Definition at line 215 of file xfs_dquot.c.

Variable Documentation

struct kmem_zone* xfs_qm_dqtrxzone

Definition at line 61 of file xfs_dquot.c.