Android-cuttlefish cvd tool
dqblk_v2.h
Go to the documentation of this file.
1/*
2 * Header file for disk format of new quotafile format
3 *
4 * Jan Kara <jack@suse.cz> - sponsored by SuSE CR
5 */
6
7#ifndef __QUOTA_DQBLK_V2_H__
8#define __QUOTA_DQBLK_V2_H__
9
10#include "quotaio_tree.h"
11
12/* Structure for format specific information */
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 */
20};
21
23 long long dqb_off; /* Offset of dquot in file */
24};
25
26struct quotafile_ops; /* Will be defined later in quotaio.h */
27
28/* Operations above this format */
29extern struct quotafile_ops quotafile_ops_2;
30
31#endif /* __QUOTA_DQBLK_V2_H__ */
struct quotafile_ops quotafile_ops_2
Definition: quotaio_v2.c:33
Definition: quotaio_tree.h:53
Definition: quotaio.h:163
Definition: dqblk_v2.h:22
long long dqb_off
Definition: dqblk_v2.h:23
Definition: dqblk_v2.h:13
unsigned int dqi_flags
Definition: dqblk_v2.h:15
struct qtree_mem_dqinfo dqi_qtree
Definition: dqblk_v2.h:14
unsigned int dqi_used_entries
Definition: dqblk_v2.h:16
unsigned int dqi_data_blocks
Definition: dqblk_v2.h:18