Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
xfs_qm.h File Reference
#include "xfs_dquot_item.h"
#include "xfs_dquot.h"
#include "xfs_quota_priv.h"

Go to the source code of this file.

Data Structures

struct  xfs_quotainfo
 
struct  xfs_dquot_acct
 

Macros

#define XFS_DQUOT_CLUSTER_SIZE_FSB   (xfs_filblks_t)1
 
#define XFS_DQUOT_TREE(qi, type)
 
#define XFS_QM_TRANS_MAXDQS   2
 
#define XFS_QM_BTIMELIMIT   (7 * 24*60*60) /* 1 week */
 
#define XFS_QM_RTBTIMELIMIT   (7 * 24*60*60) /* 1 week */
 
#define XFS_QM_ITIMELIMIT   (7 * 24*60*60) /* 1 week */
 
#define XFS_QM_BWARNLIMIT   5
 
#define XFS_QM_IWARNLIMIT   5
 
#define XFS_QM_RTBWARNLIMIT   5
 

Typedefs

typedef struct xfs_quotainfo xfs_quotainfo_t
 
typedef struct xfs_dquot_acct xfs_dquot_acct_t
 

Functions

void xfs_trans_mod_dquot (xfs_trans_t *, xfs_dquot_t *, uint, long)
 
int xfs_trans_reserve_quota_bydquots (xfs_trans_t *, xfs_mount_t *, xfs_dquot_t *, xfs_dquot_t *, long, long, uint)
 
void xfs_trans_dqjoin (xfs_trans_t *, xfs_dquot_t *)
 
void xfs_trans_log_dquot (xfs_trans_t *, xfs_dquot_t *)
 
void xfs_qm_destroy_quotainfo (xfs_mount_t *)
 
int xfs_qm_quotacheck (xfs_mount_t *)
 
int xfs_qm_write_sb_changes (xfs_mount_t *, __int64_t)
 
void xfs_qm_dqpurge_all (xfs_mount_t *, uint)
 
void xfs_qm_dqrele_all_inodes (xfs_mount_t *, uint)
 
int xfs_qm_scall_trunc_qfiles (xfs_mount_t *, uint)
 
int xfs_qm_scall_getquota (xfs_mount_t *, xfs_dqid_t, uint, fs_disk_quota_t *)
 
int xfs_qm_scall_setqlim (xfs_mount_t *, xfs_dqid_t, uint, fs_disk_quota_t *)
 
int xfs_qm_scall_getqstat (xfs_mount_t *, fs_quota_stat_t *)
 
int xfs_qm_scall_quotaon (xfs_mount_t *, uint)
 
int xfs_qm_scall_quotaoff (xfs_mount_t *, uint)
 

Variables

struct kmem_zonexfs_qm_dqtrxzone
 

Macro Definition Documentation

#define XFS_DQUOT_CLUSTER_SIZE_FSB   (xfs_filblks_t)1

Definition at line 38 of file xfs_qm.h.

#define XFS_DQUOT_TREE (   qi,
  type 
)
Value:
((type & XFS_DQ_USER) ? \
&((qi)->qi_uquota_tree) : \
&((qi)->qi_gquota_tree))

Definition at line 72 of file xfs_qm.h.

#define XFS_QM_BTIMELIMIT   (7 * 24*60*60) /* 1 week */

Definition at line 99 of file xfs_qm.h.

#define XFS_QM_BWARNLIMIT   5

Definition at line 103 of file xfs_qm.h.

#define XFS_QM_ITIMELIMIT   (7 * 24*60*60) /* 1 week */

Definition at line 101 of file xfs_qm.h.

#define XFS_QM_IWARNLIMIT   5

Definition at line 104 of file xfs_qm.h.

#define XFS_QM_RTBTIMELIMIT   (7 * 24*60*60) /* 1 week */

Definition at line 100 of file xfs_qm.h.

#define XFS_QM_RTBWARNLIMIT   5

Definition at line 105 of file xfs_qm.h.

#define XFS_QM_TRANS_MAXDQS   2

Definition at line 89 of file xfs_qm.h.

Typedef Documentation

Function Documentation

void xfs_qm_destroy_quotainfo ( xfs_mount_t *  )

Definition at line 731 of file xfs_qm.c.

void xfs_qm_dqpurge_all ( xfs_mount_t *  ,
uint   
)
void xfs_qm_dqrele_all_inodes ( xfs_mount_t *  ,
uint   
)
int xfs_qm_quotacheck ( xfs_mount_t *  )

Definition at line 1222 of file xfs_qm.c.

int xfs_qm_scall_getqstat ( xfs_mount_t *  ,
fs_quota_stat_t  
)
int xfs_qm_scall_getquota ( xfs_mount_t *  ,
xfs_dqid_t  ,
uint  ,
fs_disk_quota_t  
)
int xfs_qm_scall_quotaoff ( xfs_mount_t *  ,
uint   
)

Definition at line 59 of file xfs_qm_syscalls.c.

int xfs_qm_scall_quotaon ( xfs_mount_t *  ,
uint   
)

Definition at line 306 of file xfs_qm_syscalls.c.

int xfs_qm_scall_setqlim ( xfs_mount_t *  ,
xfs_dqid_t  ,
uint  ,
fs_disk_quota_t  
)

Definition at line 473 of file xfs_qm_syscalls.c.

int xfs_qm_scall_trunc_qfiles ( xfs_mount_t *  ,
uint   
)

Definition at line 280 of file xfs_qm_syscalls.c.

int xfs_qm_write_sb_changes ( xfs_mount_t *  ,
__int64_t   
)

Definition at line 1577 of file xfs_qm.c.

void xfs_trans_dqjoin ( xfs_trans_t *  ,
xfs_dquot_t  
)

Definition at line 46 of file xfs_trans_dquot.c.

void xfs_trans_log_dquot ( xfs_trans_t *  ,
xfs_dquot_t  
)

Definition at line 78 of file xfs_trans_dquot.c.

void xfs_trans_mod_dquot ( xfs_trans_t *  ,
xfs_dquot_t ,
uint  ,
long   
)

Definition at line 200 of file xfs_trans_dquot.c.

int xfs_trans_reserve_quota_bydquots ( xfs_trans_t *  ,
xfs_mount_t *  ,
xfs_dquot_t ,
xfs_dquot_t ,
long  ,
long  ,
uint   
)

Definition at line 750 of file xfs_trans_dquot.c.

Variable Documentation

struct kmem_zone* xfs_qm_dqtrxzone

Definition at line 61 of file xfs_dquot.c.