7
7
#ifndef __QUOTA_DQBLK_V2_H__
8
8
#define __QUOTA_DQBLK_V2_H__
10
#include <sys/types.h>
11
10
#include "quotaio_tree.h"
13
#define Q_V2_GETQUOTA 0x0D00 /* Get limits and usage */
14
#define Q_V2_SETQUOTA 0x0E00 /* Set limits and usage */
15
#define Q_V2_SETUSE 0x0F00 /* Set only usage */
16
#define Q_V2_SETQLIM 0x0700 /* Set only limits */
17
#define Q_V2_GETINFO 0x0900 /* Get information about quota */
18
#define Q_V2_SETINFO 0x0A00 /* Set information about quota */
19
#define Q_V2_SETGRACE 0x0B00 /* Set just grace times in quotafile
21
#define Q_V2_SETFLAGS 0x0C00 /* Set just flags in quotafile information */
22
#define Q_V2_GETSTATS 0x1100 /* get collected stats (before proc was used) */
24
12
/* Structure for format specific information */
25
13
struct v2_mem_dqinfo {
26
14
struct qtree_mem_dqinfo dqi_qtree;
27
uint dqi_flags; /* Flags set in quotafile */
28
uint dqi_used_entries; /* Number of entries in file -
29
updated by scan_dquots */
30
uint dqi_data_blocks; /* Number of data blocks in file -
31
updated by scan_dquots */
15
unsigned int dqi_flags; /* Flags set in quotafile */
16
unsigned int dqi_used_entries; /* Number of entries in file -
17
updated by scan_dquots */
18
unsigned int dqi_data_blocks; /* Number of data blocks in file -
19
updated by scan_dquots */
34
22
struct v2_mem_dqblk {