HomeSort by relevance Sort by last modified time
    Searched refs:dquot (Results 1 - 7 of 7) sorted by null

  /external/e2fsprogs/lib/support/
quotaio_tree.h 32 struct dquot;
38 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot);
40 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk);
42 int (*is_id)(void *disk, struct dquot *dquot);
55 void qtree_write_dquot(struct dquot *dquot);
56 struct dquot *qtree_read_dquot(struct quota_handle *h, qid_t id)
    [all...]
quotaio_tree.c 34 /* Is given dquot empty? */
193 /* Find space for dquot */
195 struct dquot *dquot, int *err)
244 dquot->dq_dqb.u.v2_mdqb.dqb_off =
252 static int do_insert_tree(struct quota_handle *h, struct dquot *dquot,
278 newblk = ext2fs_le32_to_cpu(ref[get_index(dquot->dq_id, depth)]);
285 ref[get_index(dquot->dq_id, depth)]);
286 newblk = find_free_dqentry(h, dquot, &ret)
512 struct dquot *dquot = get_empty_dquot(); local
648 struct dquot *dquot = get_empty_dquot(); local
    [all...]
quotaio_v2.c 25 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)
49 struct util_dqblk *m = &dquot->dq_dqb;
52 dquot->dq_id = ext2fs_le32_to_cpu(d->dqb_id)
    [all...]
mkquota.c 49 static void print_dquot(const char *desc, struct dquot *dq)
61 struct dquot *dq EXT2FS_ATTR((unused)))
148 struct dquot *dq;
348 static struct dquot *get_dq(dict_t *dict, __u32 key)
350 struct dquot *dq;
357 if (ext2fs_get_mem(sizeof(struct dquot), &dq)) {
358 log_err("Unable to allocate dquot");
361 memset(dq, 0, sizeof(struct dquot));
376 struct dquot *dq;
403 struct dquot *dq
    [all...]
quotaio.h 145 } u; /* Format specific dquot information */
149 struct dquot { struct
150 struct dquot *dq_next; /* Pointer to next dquot in the list */
151 qid_t dq_id; /* ID dquot belongs to */
153 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */
154 struct util_dqblk dq_dqb; /* Parsed data of dquot */
171 /* Read dquot into memory */
172 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id);
173 /* Write given dquot to disk *
    [all...]
quotaio.c 84 void update_grace_times(struct dquot *q)
430 struct dquot *get_empty_dquot(void)
432 struct dquot *dquot; local
434 if (ext2fs_get_memzero(sizeof(struct dquot), &dquot)) {
435 log_err("Failed to allocate dquot");
439 dquot->dq_id = -1;
440 return dquot;
  /external/e2fsprogs/debugfs/
quota.c 92 static int list_quota_callback(struct dquot *dq,
138 struct dquot *dq;

Completed in 83 milliseconds