Lines Matching refs:dquot

29 static void print_dquot(const char *desc, struct dquot *dq)  in print_dquot()
48 struct dquot *dq; in write_dquots()
201 static struct dquot *get_dq(dict_t *dict, __u32 key) in get_dq()
203 struct dquot *dq; in get_dq()
210 if (quota_get_mem(sizeof(struct dquot), &dq)) { in get_dq()
214 memset(dq, 0, sizeof(struct dquot)); in get_dq()
226 struct dquot *dq; in quota_data_add()
248 struct dquot *dq; in quota_data_sub()
269 struct dquot *dq; in quota_data_inodes()
314 static int scan_dquots_callback(struct dquot *dquot, void *cb_data) in scan_dquots_callback() argument
318 struct dquot *dq; in scan_dquots_callback()
320 dq = get_dq(quota_dict, dquot->dq_id); in scan_dquots_callback()
321 dq->dq_id = dquot->dq_id; in scan_dquots_callback()
325 print_dquot("dsk", dquot); in scan_dquots_callback()
327 if (dq->dq_dqb.dqb_curspace != dquot->dq_dqb.dqb_curspace || in scan_dquots_callback()
328 dq->dq_dqb.dqb_curinodes != dquot->dq_dqb.dqb_curinodes) { in scan_dquots_callback()
334 (long long) dquot->dq_dqb.dqb_curspace, in scan_dquots_callback()
335 (long long) dquot->dq_dqb.dqb_curinodes); in scan_dquots_callback()
339 dq->dq_dqb.dqb_ihardlimit = dquot->dq_dqb.dqb_ihardlimit; in scan_dquots_callback()
340 dq->dq_dqb.dqb_isoftlimit = dquot->dq_dqb.dqb_isoftlimit; in scan_dquots_callback()
341 dq->dq_dqb.dqb_bhardlimit = dquot->dq_dqb.dqb_bhardlimit; in scan_dquots_callback()
342 dq->dq_dqb.dqb_bsoftlimit = dquot->dq_dqb.dqb_bsoftlimit; in scan_dquots_callback()
346 dq->dq_dqb.dqb_curspace = dquot->dq_dqb.dqb_curspace; in scan_dquots_callback()
347 dq->dq_dqb.dqb_curinodes = dquot->dq_dqb.dqb_curinodes; in scan_dquots_callback()
366 struct dquot *dq; in quota_compare_and_update()