Lines Matching refs:dquot
26 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id);
27 static int v2_commit_dquot(struct dquot *dquot);
29 int (*process_dquot) (struct dquot *dquot,
48 static void v2r1_disk2memdqblk(struct dquot *dquot, void *dp) in v2r1_disk2memdqblk() argument
50 struct util_dqblk *m = &dquot->dq_dqb; in v2r1_disk2memdqblk()
53 dquot->dq_id = le32_to_cpu(d->dqb_id); in v2r1_disk2memdqblk()
72 static void v2r1_mem2diskdqblk(void *dp, struct dquot *dquot) in v2r1_mem2diskdqblk() argument
74 struct util_dqblk *m = &dquot->dq_dqb; in v2r1_mem2diskdqblk()
85 d->dqb_id = cpu_to_le32(dquot->dq_id); in v2r1_mem2diskdqblk()
86 if (qtree_entry_unused(&dquot->dq_h->qh_info.u.v2_mdqi.dqi_qtree, dp)) in v2r1_mem2diskdqblk()
90 static int v2r1_is_id(void *dp, struct dquot *dquot) in v2r1_is_id() argument
94 &dquot->dq_h->qh_info.u.v2_mdqi.dqi_qtree; in v2r1_is_id()
98 return le32_to_cpu(d->dqb_id) == dquot->dq_id; in v2r1_is_id()
245 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id) in v2_read_dquot()
255 static int v2_commit_dquot(struct dquot *dquot) in v2_commit_dquot() argument
257 struct util_dqblk *b = &dquot->dq_dqb; in v2_commit_dquot()
262 qtree_delete_dquot(dquot); in v2_commit_dquot()
264 return qtree_write_dquot(dquot); in v2_commit_dquot()
270 int (*process_dquot) (struct dquot *, void *), in v2_scan_dquots()