Searched refs:quota_handle (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/lib/quota/ |
D | quotaio.h | 70 struct quota_handle { struct 103 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */ argument 110 int (*check_file) (struct quota_handle *h, int type, int fmt); 112 int (*init_io) (struct quota_handle *h); 114 int (*new_io) (struct quota_handle *h); 116 int (*end_io) (struct quota_handle *h); 118 int (*write_info) (struct quota_handle *h); 120 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id); 124 int (*scan_dquots) (struct quota_handle *h, 129 int (*report) (struct quota_handle *h, int verbose); [all …]
|
D | quotaio_v2.c | 20 static int v2_check_file(struct quota_handle *h, int type, int fmt); 21 static int v2_init_io(struct quota_handle *h); 22 static int v2_new_io(struct quota_handle *h); 23 static int v2_write_info(struct quota_handle *h); 24 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id); 26 static int v2_scan_dquots(struct quota_handle *h, 30 static int v2_report(struct quota_handle *h, int verbose); 137 static int v2_read_header(struct quota_handle *h, struct v2_disk_dqheader *dqh) in v2_read_header() 149 static int v2_check_file(struct quota_handle *h, int type, int fmt) in v2_check_file() 173 static int v2_init_io(struct quota_handle *h) in v2_init_io() [all …]
|
D | quotaio_tree.c | 55 static inline void mark_quotafile_info_dirty(struct quota_handle *h) in mark_quotafile_info_dirty() 61 static void read_blk(struct quota_handle *h, uint blk, dqbuf_t buf) in read_blk() 74 static int write_blk(struct quota_handle *h, uint blk, dqbuf_t buf) in write_blk() 88 static int get_free_dqblk(struct quota_handle *h) in get_free_dqblk() 119 static void put_free_dqblk(struct quota_handle *h, dqbuf_t buf, uint blk) in put_free_dqblk() 133 static void remove_free_dqentry(struct quota_handle *h, dqbuf_t buf, uint blk) in remove_free_dqentry() 166 static void insert_free_dqentry(struct quota_handle *h, dqbuf_t buf, uint blk) in insert_free_dqentry() 190 static uint find_free_dqentry(struct quota_handle *h, struct dquot *dquot, in find_free_dqentry() 248 static int do_insert_tree(struct quota_handle *h, struct dquot *dquot, in do_insert_tree() 301 static void dq_insert_tree(struct quota_handle *h, struct dquot *dquot) in dq_insert_tree() [all …]
|
D | quotaio_tree.h | 33 struct quota_handle; 56 struct dquot *qtree_read_dquot(struct quota_handle *h, qid_t id); 59 int qtree_scan_dquots(struct quota_handle *h,
|
D | mkquota.c | 106 static void write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots() 126 struct quota_handle *h = NULL; in quota_write_inode() 133 retval = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode() 453 static errcode_t quota_read_all_dquots(struct quota_handle *qh, in quota_read_all_dquots() 469 static errcode_t quota_write_all_dquots(struct quota_handle *qh, 490 struct quota_handle *qh; in quota_update_limits() 496 err = ext2fs_get_mem(sizeof(struct quota_handle), &qh); in quota_update_limits() 531 struct quota_handle qh; in quota_compare_and_update()
|
D | quotaio.c | 199 errcode_t quota_file_open(struct quota_handle *h, ext2_filsys fs, in quota_file_open() 282 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs, int type, int fmt) in quota_file_create() 347 errcode_t quota_file_close(struct quota_handle *h) in quota_file_close()
|