Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | fs_disk_quota |
struct | fs_qfilestat |
struct | fs_quota_stat |
Macros | |
#define | XQM_CMD(x) (('X'<<8)+(x)) /* note: forms first QCMD argument */ |
#define | XQM_COMMAND(x) (((x) & (0xff<<8)) == ('X'<<8)) /* test if for XFS */ |
#define | XQM_USRQUOTA 0 /* system call user quota type */ |
#define | XQM_GRPQUOTA 1 /* system call group quota type */ |
#define | XQM_PRJQUOTA 2 /* system call project quota type */ |
#define | XQM_MAXQUOTAS 3 |
#define | Q_XQUOTAON XQM_CMD(1) /* enable accounting/enforcement */ |
#define | Q_XQUOTAOFF XQM_CMD(2) /* disable accounting/enforcement */ |
#define | Q_XGETQUOTA XQM_CMD(3) /* get disk limits and usage */ |
#define | Q_XSETQLIM XQM_CMD(4) /* set disk limits */ |
#define | Q_XGETQSTAT XQM_CMD(5) /* get quota subsystem status */ |
#define | Q_XQUOTARM XQM_CMD(6) /* free disk space used by dquots */ |
#define | Q_XQUOTASYNC XQM_CMD(7) /* delalloc flush, updates dquots */ |
#define | FS_DQUOT_VERSION 1 /* fs_disk_quota.d_version */ |
#define | FS_DQ_ISOFT (1<<0) |
#define | FS_DQ_IHARD (1<<1) |
#define | FS_DQ_BSOFT (1<<2) |
#define | FS_DQ_BHARD (1<<3) |
#define | FS_DQ_RTBSOFT (1<<4) |
#define | FS_DQ_RTBHARD (1<<5) |
#define | FS_DQ_LIMIT_MASK |
#define | FS_DQ_BTIMER (1<<6) |
#define | FS_DQ_ITIMER (1<<7) |
#define | FS_DQ_RTBTIMER (1<<8) |
#define | FS_DQ_TIMER_MASK (FS_DQ_BTIMER | FS_DQ_ITIMER | FS_DQ_RTBTIMER) |
#define | FS_DQ_BWARNS (1<<9) |
#define | FS_DQ_IWARNS (1<<10) |
#define | FS_DQ_RTBWARNS (1<<11) |
#define | FS_DQ_WARNS_MASK (FS_DQ_BWARNS | FS_DQ_IWARNS | FS_DQ_RTBWARNS) |
#define | FS_DQ_BCOUNT (1<<12) |
#define | FS_DQ_ICOUNT (1<<13) |
#define | FS_DQ_RTBCOUNT (1<<14) |
#define | FS_DQ_ACCT_MASK (FS_DQ_BCOUNT | FS_DQ_ICOUNT | FS_DQ_RTBCOUNT) |
#define | FS_QUOTA_UDQ_ACCT (1<<0) /* user quota accounting */ |
#define | FS_QUOTA_UDQ_ENFD (1<<1) /* user quota limits enforcement */ |
#define | FS_QUOTA_GDQ_ACCT (1<<2) /* group quota accounting */ |
#define | FS_QUOTA_GDQ_ENFD (1<<3) /* group quota limits enforcement */ |
#define | FS_QUOTA_PDQ_ACCT (1<<4) /* project quota accounting */ |
#define | FS_QUOTA_PDQ_ENFD (1<<5) /* project quota limits enforcement */ |
#define | FS_USER_QUOTA (1<<0) /* user quota type */ |
#define | FS_PROJ_QUOTA (1<<1) /* project quota type */ |
#define | FS_GROUP_QUOTA (1<<2) /* group quota type */ |
#define | FS_QSTAT_VERSION 1 /* fs_quota_stat.qs_version */ |
Typedefs | |
typedef struct fs_disk_quota | fs_disk_quota_t |
typedef struct fs_qfilestat | fs_qfilestat_t |
typedef struct fs_quota_stat | fs_quota_stat_t |
#define FS_DQ_ACCT_MASK (FS_DQ_BCOUNT | FS_DQ_ICOUNT | FS_DQ_RTBCOUNT) |
Definition at line 119 of file dqblk_xfs.h.
#define FS_DQ_BCOUNT (1<<12) |
Definition at line 116 of file dqblk_xfs.h.
#define FS_DQ_BHARD (1<<3) |
Definition at line 82 of file dqblk_xfs.h.
#define FS_DQ_BSOFT (1<<2) |
Definition at line 81 of file dqblk_xfs.h.
#define FS_DQ_BTIMER (1<<6) |
Definition at line 94 of file dqblk_xfs.h.
#define FS_DQ_BWARNS (1<<9) |
Definition at line 107 of file dqblk_xfs.h.
#define FS_DQ_ICOUNT (1<<13) |
Definition at line 117 of file dqblk_xfs.h.
#define FS_DQ_IHARD (1<<1) |
Definition at line 80 of file dqblk_xfs.h.
#define FS_DQ_ISOFT (1<<0) |
Definition at line 79 of file dqblk_xfs.h.
#define FS_DQ_ITIMER (1<<7) |
Definition at line 95 of file dqblk_xfs.h.
#define FS_DQ_IWARNS (1<<10) |
Definition at line 108 of file dqblk_xfs.h.
#define FS_DQ_LIMIT_MASK |
Definition at line 85 of file dqblk_xfs.h.
#define FS_DQ_RTBCOUNT (1<<14) |
Definition at line 118 of file dqblk_xfs.h.
#define FS_DQ_RTBHARD (1<<5) |
Definition at line 84 of file dqblk_xfs.h.
#define FS_DQ_RTBSOFT (1<<4) |
Definition at line 83 of file dqblk_xfs.h.
#define FS_DQ_RTBTIMER (1<<8) |
Definition at line 96 of file dqblk_xfs.h.
#define FS_DQ_RTBWARNS (1<<11) |
Definition at line 109 of file dqblk_xfs.h.
#define FS_DQ_TIMER_MASK (FS_DQ_BTIMER | FS_DQ_ITIMER | FS_DQ_RTBTIMER) |
Definition at line 97 of file dqblk_xfs.h.
#define FS_DQ_WARNS_MASK (FS_DQ_BWARNS | FS_DQ_IWARNS | FS_DQ_RTBWARNS) |
Definition at line 110 of file dqblk_xfs.h.
#define FS_DQUOT_VERSION 1 /* fs_disk_quota.d_version */ |
Definition at line 49 of file dqblk_xfs.h.
Definition at line 133 of file dqblk_xfs.h.
#define FS_PROJ_QUOTA (1<<1) /* project quota type */ |
Definition at line 132 of file dqblk_xfs.h.
#define FS_QSTAT_VERSION 1 /* fs_quota_stat.qs_version */ |
Definition at line 141 of file dqblk_xfs.h.
#define FS_QUOTA_GDQ_ACCT (1<<2) /* group quota accounting */ |
Definition at line 126 of file dqblk_xfs.h.
#define FS_QUOTA_GDQ_ENFD (1<<3) /* group quota limits enforcement */ |
Definition at line 127 of file dqblk_xfs.h.
#define FS_QUOTA_PDQ_ACCT (1<<4) /* project quota accounting */ |
Definition at line 128 of file dqblk_xfs.h.
#define FS_QUOTA_PDQ_ENFD (1<<5) /* project quota limits enforcement */ |
Definition at line 129 of file dqblk_xfs.h.
#define FS_QUOTA_UDQ_ACCT (1<<0) /* user quota accounting */ |
Definition at line 124 of file dqblk_xfs.h.
#define FS_QUOTA_UDQ_ENFD (1<<1) /* user quota limits enforcement */ |
Definition at line 125 of file dqblk_xfs.h.
Definition at line 131 of file dqblk_xfs.h.
Definition at line 38 of file dqblk_xfs.h.
Definition at line 36 of file dqblk_xfs.h.
Definition at line 35 of file dqblk_xfs.h.
Definition at line 34 of file dqblk_xfs.h.
Definition at line 39 of file dqblk_xfs.h.
#define Q_XQUOTASYNC XQM_CMD(7) /* delalloc flush, updates dquots */ |
Definition at line 40 of file dqblk_xfs.h.
Definition at line 37 of file dqblk_xfs.h.
Definition at line 26 of file dqblk_xfs.h.
Definition at line 27 of file dqblk_xfs.h.
Definition at line 30 of file dqblk_xfs.h.
#define XQM_MAXQUOTAS 3 |
Definition at line 32 of file dqblk_xfs.h.
Definition at line 31 of file dqblk_xfs.h.
Definition at line 29 of file dqblk_xfs.h.
typedef struct fs_disk_quota fs_disk_quota_t |
typedef struct fs_qfilestat fs_qfilestat_t |
typedef struct fs_quota_stat fs_quota_stat_t |