Lines Matching refs:dquot

26 static void v2r0_mem2diskdqb(void *dp, struct dquot *dquot);
27 static void v2r0_disk2memdqb(struct dquot *dquot, void *dp);
28 static int v2r0_is_id(void *dp, struct dquot *dquot);
29 static void v2r1_mem2diskdqb(void *dp, struct dquot *dquot);
30 static void v2r1_disk2memdqb(struct dquot *dquot, void *dp);
31 static int v2r1_is_id(void *dp, struct dquot *dquot);
174 static void v2r0_disk2memdqb(struct dquot *dquot, void *dp) in v2r0_disk2memdqb() argument
177 struct mem_dqblk *m = &dquot->dq_dqb; in v2r0_disk2memdqb()
194 static void v2r0_mem2diskdqb(void *dp, struct dquot *dquot) in v2r0_mem2diskdqb() argument
197 struct mem_dqblk *m = &dquot->dq_dqb; in v2r0_mem2diskdqb()
199 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r0_mem2diskdqb()
209 d->dqb_id = cpu_to_le32(dquot->dq_id); in v2r0_mem2diskdqb()
214 static int v2r0_is_id(void *dp, struct dquot *dquot) in v2r0_is_id() argument
218 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r0_is_id()
222 return le32_to_cpu(d->dqb_id) == dquot->dq_id; in v2r0_is_id()
225 static void v2r1_disk2memdqb(struct dquot *dquot, void *dp) in v2r1_disk2memdqb() argument
228 struct mem_dqblk *m = &dquot->dq_dqb; in v2r1_disk2memdqb()
245 static void v2r1_mem2diskdqb(void *dp, struct dquot *dquot) in v2r1_mem2diskdqb() argument
248 struct mem_dqblk *m = &dquot->dq_dqb; in v2r1_mem2diskdqb()
250 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r1_mem2diskdqb()
260 d->dqb_id = cpu_to_le32(dquot->dq_id); in v2r1_mem2diskdqb()
265 static int v2r1_is_id(void *dp, struct dquot *dquot) in v2r1_is_id() argument
269 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r1_is_id()
273 return le32_to_cpu(d->dqb_id) == dquot->dq_id; in v2r1_is_id()
276 static int v2_read_dquot(struct dquot *dquot) in v2_read_dquot() argument
278 return qtree_read_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv, dquot); in v2_read_dquot()
281 static int v2_write_dquot(struct dquot *dquot) in v2_write_dquot() argument
283 return qtree_write_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv, dquot); in v2_write_dquot()
286 static int v2_release_dquot(struct dquot *dquot) in v2_release_dquot() argument
288 return qtree_release_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv, dquot); in v2_release_dquot()