Android-cuttlefish cvd tool
Classes | Macros | Typedefs | Functions
quotaio_tree.h File Reference
#include <inttypes.h>
#include <sys/types.h>
#include <f2fs_fs.h>
Include dependency graph for quotaio_tree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qt_disk_dqdbheader
 
struct  qtree_fmt_operations
 
struct  qtree_mem_dqinfo
 

Macros

#define QT_TREEOFF   1 /* Offset of tree in file in blocks */
 
#define QT_TREEDEPTH   4 /* Depth of quota tree */
 
#define QT_BLKSIZE_BITS   10
 
#define QT_BLKSIZE
 

Typedefs

typedef __u32 qid_t
 

Functions

int qtree_write_dquot (struct dquot *dquot)
 
struct dquotqtree_read_dquot (struct quota_handle *h, qid_t id)
 
void qtree_delete_dquot (struct dquot *dquot)
 
int qtree_entry_unused (struct qtree_mem_dqinfo *info, char *disk)
 
int qtree_scan_dquots (struct quota_handle *h, int(*process_dquot)(struct dquot *, void *), void *data)
 
int qtree_dqstr_in_blk (struct qtree_mem_dqinfo *info)
 

Macro Definition Documentation

◆ QT_BLKSIZE

#define QT_BLKSIZE
Value:
(1 << QT_BLKSIZE_BITS) /* Size of block with quota
* structures */
#define QT_BLKSIZE_BITS
Definition: quotaio_tree.h:20

◆ QT_BLKSIZE_BITS

#define QT_BLKSIZE_BITS   10

◆ QT_TREEDEPTH

#define QT_TREEDEPTH   4 /* Depth of quota tree */

◆ QT_TREEOFF

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

Typedef Documentation

◆ qid_t

typedef __u32 qid_t

Function Documentation

◆ qtree_delete_dquot()

void qtree_delete_dquot ( struct dquot dquot)

◆ qtree_dqstr_in_blk()

int qtree_dqstr_in_blk ( struct qtree_mem_dqinfo info)

◆ qtree_entry_unused()

int qtree_entry_unused ( struct qtree_mem_dqinfo info,
char *  disk 
)

◆ qtree_read_dquot()

struct dquot * qtree_read_dquot ( struct quota_handle h,
qid_t  id 
)

◆ qtree_scan_dquots()

int qtree_scan_dquots ( struct quota_handle h,
int(*)(struct dquot *, void *)  process_dquot,
void *  data 
)

◆ qtree_write_dquot()

int qtree_write_dquot ( struct dquot dquot)