Home
last modified time | relevance | path

Searched refs:quota_handle (Results 1 – 13 of 13) sorted by relevance

/external/f2fs-tools/fsck/
Dquotaio.h70 struct quota_handle *quota_file[MAXQUOTAS];
122 struct quota_handle { struct
156 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */ argument
165 int (*check_file) (struct quota_handle *h, int type);
167 int (*init_io) (struct quota_handle *h, enum quota_type qtype);
169 int (*new_io) (struct quota_handle *h);
171 int (*end_io) (struct quota_handle *h);
173 int (*write_info) (struct quota_handle *h);
175 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id);
179 int (*scan_dquots) (struct quota_handle *h,
[all …]
Dquotaio_v2.c21 static int v2_check_file(struct quota_handle *h, int type);
22 static int v2_init_io(struct quota_handle *h, enum quota_type qtype);
23 static int v2_new_io(struct quota_handle *h);
24 static int v2_write_info(struct quota_handle *h);
25 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id);
27 static int v2_scan_dquots(struct quota_handle *h,
31 static int v2_report(struct quota_handle *h, int verbose);
138 static int v2_read_header(struct quota_handle *h, struct v2_disk_dqheader *dqh) in v2_read_header()
150 static int v2_check_file(struct quota_handle *h, int type) in v2_check_file()
172 static int v2_init_io(struct quota_handle *h, enum quota_type qtype) in v2_init_io()
[all …]
Dquotaio_tree.c56 static inline void mark_quotafile_info_dirty(struct quota_handle *h) in mark_quotafile_info_dirty()
62 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk()
75 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk()
89 static int get_free_dqblk(struct quota_handle *h) in get_free_dqblk()
120 static void put_free_dqblk(struct quota_handle *h, dqbuf_t buf, in put_free_dqblk()
135 static void remove_free_dqentry(struct quota_handle *h, dqbuf_t buf, in remove_free_dqentry()
168 static void insert_free_dqentry(struct quota_handle *h, dqbuf_t buf, in insert_free_dqentry()
193 static unsigned int find_free_dqentry(struct quota_handle *h, in find_free_dqentry()
251 static int do_insert_tree(struct quota_handle *h, struct dquot *dquot, in do_insert_tree()
306 static int dq_insert_tree(struct quota_handle *h, struct dquot *dquot) in dq_insert_tree()
[all …]
Dquotaio_tree.h41 struct quota_handle;
64 struct dquot *qtree_read_dquot(struct quota_handle *h, qid_t id);
67 int qtree_scan_dquots(struct quota_handle *h,
Dquotaio.c106 errcode_t quota_file_open(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_open()
126 err = quota_get_mem(sizeof(struct quota_handle), &h); in quota_file_open()
166 errcode_t quota_file_create(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_create()
197 errcode_t quota_file_close(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_close()
Dmkquota.c45 static int write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots()
71 struct quota_handle *h = NULL; in quota_write_inode()
78 retval = quota_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode()
368 struct quota_handle qh; in quota_compare_and_update()
/external/e2fsprogs/lib/support/
Dquotaio.h68 struct quota_handle *quota_file[MAXQUOTAS];
119 struct quota_handle { struct
153 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */ argument
162 int (*check_file) (struct quota_handle *h, int type, int fmt);
164 int (*init_io) (struct quota_handle *h);
166 int (*new_io) (struct quota_handle *h);
168 int (*end_io) (struct quota_handle *h);
170 int (*write_info) (struct quota_handle *h);
172 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id);
176 int (*scan_dquots) (struct quota_handle *h,
[all …]
Dquotaio_v2.c21 static int v2_check_file(struct quota_handle *h, int type, int fmt);
22 static int v2_init_io(struct quota_handle *h);
23 static int v2_new_io(struct quota_handle *h);
24 static int v2_write_info(struct quota_handle *h);
25 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id);
27 static int v2_scan_dquots(struct quota_handle *h,
31 static int v2_report(struct quota_handle *h, int verbose);
200 static int v2_read_header(struct quota_handle *h, struct v2_disk_dqheader *dqh) in v2_read_header()
212 static int v2_check_file(struct quota_handle *h, int type, int fmt) in v2_check_file()
238 static int v2_init_io(struct quota_handle *h) in v2_init_io()
[all …]
Dquotaio_tree.c56 static inline void mark_quotafile_info_dirty(struct quota_handle *h) in mark_quotafile_info_dirty()
62 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk()
75 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk()
89 static int get_free_dqblk(struct quota_handle *h) in get_free_dqblk()
120 static void put_free_dqblk(struct quota_handle *h, dqbuf_t buf, in put_free_dqblk()
135 static void remove_free_dqentry(struct quota_handle *h, dqbuf_t buf, in remove_free_dqentry()
169 static void insert_free_dqentry(struct quota_handle *h, dqbuf_t buf, in insert_free_dqentry()
194 static unsigned int find_free_dqentry(struct quota_handle *h, in find_free_dqentry()
252 static int do_insert_tree(struct quota_handle *h, struct dquot *dquot, in do_insert_tree()
305 static void dq_insert_tree(struct quota_handle *h, struct dquot *dquot) in dq_insert_tree()
[all …]
Dquotaio_tree.h33 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,
Dquotaio.c188 errcode_t quota_file_open(quota_ctx_t qctx, struct quota_handle *h, in quota_file_open()
227 err = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_file_open()
309 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs, in quota_file_create()
381 errcode_t quota_file_close(quota_ctx_t qctx, struct quota_handle *h) in quota_file_close()
Dmkquota.c149 static void write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots()
171 struct quota_handle *h = NULL; in quota_write_inode()
178 retval = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode()
584 struct quota_handle *qh; in quota_read_all_dquots()
590 err = ext2fs_get_mem(sizeof(struct quota_handle), &qh); in quota_read_all_dquots()
628 struct quota_handle qh; in quota_compare_and_update()
/external/e2fsprogs/debugfs/
Dquota.c110 struct quota_handle *qh; in do_list_quota()
139 struct quota_handle *qh; in do_get_quota()