Android-cuttlefish cvd tool
Classes | Macros | Enumerations
quota.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  v2_disk_dqheader
 
struct  v2_disk_dqinfo
 
struct  v2r1_disk_dqblk
 

Macros

#define QUOTA_USR_BIT   (1 << USRQUOTA)
 
#define QUOTA_GRP_BIT   (1 << GRPQUOTA)
 
#define QUOTA_PRJ_BIT   (1 << PRJQUOTA)
 
#define QUOTA_ALL_BIT   (QUOTA_USR_BIT | QUOTA_GRP_BIT | QUOTA_PRJ_BIT)
 
#define INITQMAGICS
 
#define V2_DQINFOOFF   sizeof(struct v2_disk_dqheader) /* Offset of info header in file */
 
#define MAX_IQ_TIME   604800 /* (7*24*60*60) 1 week */
 
#define MAX_DQ_TIME   604800 /* (7*24*60*60) 1 week */
 
#define QT_TREEOFF   1 /* Offset of tree in file in blocks */
 

Enumerations

enum  quota_type {
  USRQUOTA = 0 , GRPQUOTA = 1 , PRJQUOTA = 2 , MAXQUOTAS = 3 ,
  USRQUOTA = 0 , GRPQUOTA = 1 , PRJQUOTA = 2 , MAXQUOTAS = 3
}
 

Macro Definition Documentation

◆ INITQMAGICS

#define INITQMAGICS
Value:
{\
0xd9c01f11, /* USRQUOTA */\
0xd9c01927, /* GRPQUOTA */\
0xd9c03f14 /* PRJQUOTA */\
}

◆ MAX_DQ_TIME

#define MAX_DQ_TIME   604800 /* (7*24*60*60) 1 week */

◆ MAX_IQ_TIME

#define MAX_IQ_TIME   604800 /* (7*24*60*60) 1 week */

◆ QT_TREEOFF

#define QT_TREEOFF   1 /* Offset of tree in file in blocks */

◆ QUOTA_ALL_BIT

#define QUOTA_ALL_BIT   (QUOTA_USR_BIT | QUOTA_GRP_BIT | QUOTA_PRJ_BIT)

◆ QUOTA_GRP_BIT

#define QUOTA_GRP_BIT   (1 << GRPQUOTA)

◆ QUOTA_PRJ_BIT

#define QUOTA_PRJ_BIT   (1 << PRJQUOTA)

◆ QUOTA_USR_BIT

#define QUOTA_USR_BIT   (1 << USRQUOTA)

◆ V2_DQINFOOFF

#define V2_DQINFOOFF   sizeof(struct v2_disk_dqheader) /* Offset of info header in file */

Enumeration Type Documentation

◆ quota_type

enum quota_type
Enumerator
USRQUOTA 
GRPQUOTA 
PRJQUOTA 
MAXQUOTAS 
USRQUOTA 
GRPQUOTA 
PRJQUOTA 
MAXQUOTAS