#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/rwsem.h>
#include <linux/spinlock.h>
#include <linux/wait.h>
#include <linux/percpu_counter.h>
#include <linux/dqblk_xfs.h>
#include <linux/dqblk_v1.h>
#include <linux/dqblk_v2.h>
#include <linux/atomic.h>
#include <linux/uidgid.h>
#include <linux/projid.h>
#include <uapi/linux/quota.h>
Go to the source code of this file.
|
| enum | quota_type { USRQUOTA = 0,
GRPQUOTA = 1,
PRJQUOTA = 2
} |
| |
| enum | {
DQST_LOOKUPS,
DQST_DROPS,
DQST_READS,
DQST_WRITES,
DQST_CACHE_HITS,
DQST_ALLOC_DQUOTS,
DQST_FREE_DQUOTS,
DQST_SYNCS,
_DQST_DQSTAT_LAST
} |
| |
| enum | { _DQUOT_USAGE_ENABLED = 0,
_DQUOT_LIMITS_ENABLED,
_DQUOT_SUSPENDED,
_DQUOT_STATE_FLAGS
} |
| |
| #define DQ_FAKE_B 3 /* no limits only usage */ |
| #define DQ_MOD_B 0 /* dquot modified since read */ |
| #define DQF_GETINFO_MASK 0x1ffff /* Mask for flags passed to userspace */ |
| #define DQF_INFO_DIRTY_B 31 |
| #define DQF_MASK 0xffff /* Mask for format specific flags */ |
| #define DQF_SETINFO_MASK 0xffff /* Mask for flags modifiable from userspace */ |
| #define DQF_SYS_FILE_B 16 |
| #define DQUOT_STATE_FLAGS |
| #define INIT_QUOTA_MODULE_NAMES |
- Enumerator:
| DQST_LOOKUPS |
|
| DQST_DROPS |
|
| DQST_READS |
|
| DQST_WRITES |
|
| DQST_CACHE_HITS |
|
| DQST_ALLOC_DQUOTS |
|
| DQST_FREE_DQUOTS |
|
| DQST_SYNCS |
|
| _DQST_DQSTAT_LAST |
|
Definition at line 235 of file quota.h.
- Enumerator:
| _DQUOT_USAGE_ENABLED |
|
| _DQUOT_LIMITS_ENABLED |
|
| _DQUOT_SUSPENDED |
|
| _DQUOT_STATE_FLAGS |
|
Definition at line 337 of file quota.h.
- Enumerator:
| USRQUOTA |
|
| GRPQUOTA |
|
| PRJQUOTA |
|
Definition at line 53 of file quota.h.
qid_eq - Test to see if to kquid values are the same : A qid value : Another quid value
Return true if the two qid values are equal and false otherwise.
Definition at line 12 of file kqid.c.
qid_lt - Test to see if one qid value is less than another : The possibly lesser qid value : The possibly greater qid value
Return true if left is less than right and false otherwise.
Definition at line 36 of file kqid.c.
qid_valid - Report if a valid value is stored in a kqid. : The kernel internal quota identifier to test.
Definition at line 119 of file kqid.c.