Home
last modified time | relevance | path

Searched refs:dquot (Results 1 - 6 of 6) sorted by relevance

/third_party/f2fs-tools/fsck/
H A Dquotaio_tree.c34 /* Is given dquot empty? */
192 /* Find space for dquot */
194 struct dquot *dquot, int *err) in find_free_dqentry()
243 dquot->dq_dqb.u.v2_mdqb.dqb_off = in find_free_dqentry()
251 static int do_insert_tree(struct quota_handle *h, struct dquot *dquot, in do_insert_tree() argument
277 newblk = le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in do_insert_tree()
284 ref[get_index(dquot->dq_id, depth)]); in do_insert_tree()
285 newblk = find_free_dqentry(h, dquot, in do_insert_tree()
193 find_free_dqentry(struct quota_handle *h, struct dquot *dquot, int *err) find_free_dqentry() argument
306 dq_insert_tree(struct quota_handle *h, struct dquot *dquot) dq_insert_tree() argument
319 qtree_write_dquot(struct dquot *dquot) qtree_write_dquot() argument
363 free_dqentry(struct quota_handle *h, struct dquot *dquot, unsigned int blk) free_dqentry() argument
405 remove_tree(struct quota_handle *h, struct dquot *dquot, unsigned int * blk, int depth) remove_tree() argument
444 qtree_delete_dquot(struct dquot *dquot) qtree_delete_dquot() argument
454 find_block_dqentry(struct quota_handle *h, struct dquot *dquot, unsigned int blk) find_block_dqentry() argument
480 find_tree_dqentry(struct quota_handle *h, struct dquot *dquot, unsigned int blk, int depth) find_tree_dqentry() argument
506 find_dqentry(struct quota_handle *h, struct dquot *dquot) find_dqentry() argument
521 struct dquot *dquot = get_empty_dquot(); qtree_read_dquot() local
558 report_block(struct dquot *dquot, unsigned int blk, char *bitmap, int (*process_dquot) (struct dquot *, void *), void *data) report_block() argument
605 report_tree(struct dquot *dquot, unsigned int blk, int depth, char *bitmap, int *entries, int (*process_dquot) (struct dquot *, void *), void *data) report_tree() argument
661 struct dquot *dquot = get_empty_dquot(); qtree_scan_dquots() local
[all...]
H A Dquotaio_tree.h40 struct dquot;
46 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot);
48 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk);
50 int (*is_id)(void *disk, struct dquot *dquot);
63 int qtree_write_dquot(struct dquot *dquot);
64 struct dquot *qtree_read_dquo
[all...]
H A Dquotaio_v2.c25 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id);
26 static int v2_commit_dquot(struct dquot *dquot);
28 int (*process_dquot) (struct dquot *dquot,
45 * Copy dquot from disk to memory
47 static void v2r1_disk2memdqblk(struct dquot *dquot, void *dp) in v2r1_disk2memdqblk() argument
49 struct util_dqblk *m = &dquot->dq_dqb; in v2r1_disk2memdqblk()
52 dquot in v2r1_disk2memdqblk()
71 v2r1_mem2diskdqblk(void *dp, struct dquot *dquot) v2r1_mem2diskdqblk() argument
89 v2r1_is_id(void *dp, struct dquot *dquot) v2r1_is_id() argument
299 v2_commit_dquot(struct dquot *dquot) v2_commit_dquot() argument
[all...]
H A Dmkquota.c29 static void print_dquot(const char *desc, struct dquot *dq) in print_dquot()
48 struct dquot *dq; in write_dquots()
205 static struct dquot *get_dq(dict_t *dict, __u32 key) in get_dq()
207 struct dquot *dq; in get_dq()
214 if (quota_get_mem(sizeof(struct dquot), &dq)) { in get_dq()
215 log_err("Unable to allocate dquot"); in get_dq()
218 memset(dq, 0, sizeof(struct dquot)); in get_dq()
230 struct dquot *dq; in quota_data_add()
252 struct dquot *dq; in quota_data_sub()
273 struct dquot *d in quota_data_inodes()
318 scan_dquots_callback(struct dquot *dquot, void *cb_data) scan_dquots_callback() argument
[all...]
H A Dquotaio.h148 } u; /* Format specific dquot information */
152 struct dquot { struct
153 struct dquot *dq_next; /* Pointer to next dquot in the list */
154 qid_t dq_id; /* ID dquot belongs to */
156 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */
157 struct util_dqblk dq_dqb; /* Parsed data of dquot */
174 /* Read dquot into memory */
175 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id);
176 /* Write given dquot t
[all...]
H A Dquotaio.c58 void update_grace_times(struct dquot *q) in update_grace_times()
221 struct dquot *get_empty_dquot(void) in get_empty_dquot()
223 struct dquot *dquot; in get_empty_dquot() local
225 if (quota_get_memzero(sizeof(struct dquot), &dquot)) { in get_empty_dquot()
226 log_err("Failed to allocate dquot"); in get_empty_dquot()
230 dquot->dq_id = -1; in get_empty_dquot()
231 return dquot; in get_empty_dquot()

Completed in 4 milliseconds