Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dquotaio.h60 struct quota_handle *quota_file[MAXQUOTAS];
112 struct quota_handle { struct
146 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */ argument
155 int (*check_file) (struct quota_handle *h, int type);
157 int (*init_io) (struct quota_handle *h);
159 int (*new_io) (struct quota_handle *h);
161 int (*end_io) (struct quota_handle *h);
163 int (*write_info) (struct quota_handle *h);
165 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id);
169 int (*scan_dquots) (struct quota_handle *h,
[all …]
Dquotaio_v2.c22 static int v2_check_file(struct quota_handle *h, int type);
23 static int v2_init_io(struct quota_handle *h);
24 static int v2_new_io(struct quota_handle *h);
25 static int v2_write_info(struct quota_handle *h);
26 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id);
28 static int v2_scan_dquots(struct quota_handle *h,
32 static int v2_report(struct quota_handle *h, int verbose);
139 static int v2_read_header(struct quota_handle *h, struct v2_disk_dqheader *dqh) in v2_read_header()
151 static int v2_check_file(struct quota_handle *h, int type) in v2_check_file()
173 static int v2_init_io(struct quota_handle *h) in v2_init_io()
[all …]
Dquotaio_tree.c57 static inline void mark_quotafile_info_dirty(struct quota_handle *h) in mark_quotafile_info_dirty()
63 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk()
76 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk()
90 static int get_free_dqblk(struct quota_handle *h) in get_free_dqblk()
121 static void put_free_dqblk(struct quota_handle *h, dqbuf_t buf, in put_free_dqblk()
136 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()
307 static int dq_insert_tree(struct quota_handle *h, struct dquot *dquot) in dq_insert_tree()
[all …]
Dquotaio_tree.h39 struct quota_handle;
62 struct dquot *qtree_read_dquot(struct quota_handle *h, qid_t id);
65 int qtree_scan_dquots(struct quota_handle *h,
Dquotaio.c97 errcode_t quota_file_open(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_open()
117 err = quota_get_mem(sizeof(struct quota_handle), &h); in quota_file_open()
157 errcode_t quota_file_create(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_create()
188 errcode_t quota_file_close(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_close()
Dmkquota.c45 static void write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots()
67 struct quota_handle *h = NULL; in quota_write_inode()
74 retval = quota_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode()
364 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);
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, int fmt) in v2_check_file()
175 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,
Dmkquota.c147 static void write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots()
169 struct quota_handle *h = NULL; in quota_write_inode()
176 retval = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode()
570 static errcode_t quota_read_all_dquots(struct quota_handle *qh, in quota_read_all_dquots()
588 static errcode_t quota_write_all_dquots(struct quota_handle *qh,
610 struct quota_handle *qh; in quota_update_limits()
616 err = ext2fs_get_mem(sizeof(struct quota_handle), &qh); in quota_update_limits()
650 struct quota_handle qh; in quota_compare_and_update()
Dquotaio.c213 errcode_t quota_file_open(quota_ctx_t qctx, struct quota_handle *h, in quota_file_open()
252 err = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_file_open()
334 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs, in quota_file_create()
406 errcode_t quota_file_close(quota_ctx_t qctx, struct quota_handle *h) in quota_file_close()
/external/e2fsprogs/debugfs/
Dquota.c110 struct quota_handle *qh; in do_list_quota()
139 struct quota_handle *qh; in do_get_quota()