Home | History | Annotate | Download | only in support

Lines Matching refs:dq

49 static void print_dquot(const char *desc, struct dquot *dq)
54 dq->dq_id, dq->dq_dqb.dqb_curspace,
55 dq->dq_dqb.dqb_bsoftlimit, dq->dq_dqb.dqb_bhardlimit,
56 dq->dq_dqb.dqb_curinodes,
57 dq->dq_dqb.dqb_isoftlimit, dq->dq_dqb.dqb_ihardlimit);
61 struct dquot *dq EXT2FS_ATTR((unused)))
148 struct dquot *dq;
151 dq = dnode_get(n);
152 if (dq) {
153 print_dquot("write", dq);
154 dq->dq_h = qh;
155 update_grace_times(dq);
156 qh->qh_ops->commit_dquot(dq);
350 struct dquot *dq;
355 dq = dnode_get(n);
357 if (ext2fs_get_mem(sizeof(struct dquot), &dq)) {
361 memset(dq, 0, sizeof(struct dquot));
362 dict_alloc_insert(dict, UINT_TO_VOIDPTR(key), dq);
363 dq->dq_id = key;
365 return dq;
376 struct dquot *dq;
389 dq = get_dq(dict, get_qid(inode, qtype));
390 if (dq)
391 dq->dq_dqb.dqb_curspace += space;
403 struct dquot *dq;
416 dq = get_dq(dict, get_qid(inode, qtype));
417 dq->dq_dqb.dqb_curspace -= space;
428 struct dquot *dq;
441 dq = get_dq(dict, get_qid(inode, qtype));
442 dq->dq_dqb.dqb_curinodes += adjust;
507 struct dquot *dq;
509 dq = get_dq(quota_dict, dquot->dq_id);
510 dq->dq_id = dquot->dq_id;
511 dq->dq_flags |= DQF_SEEN;
513 print_dquot("mem", dq);
517 if (dq->dq_dqb.dqb_curspace != dquot->dq_dqb.dqb_curspace ||
518 dq->dq_dqb.dqb_curinodes != dquot->dq_dqb.dqb_curinodes) {
522 dq->dq_id, (long long)dq->dq_dqb.dqb_curspace,
523 (long long)dq->dq_dqb.dqb_curinodes,
529 dq->dq_dqb.dqb_ihardlimit = dquot->dq_dqb.dqb_ihardlimit;
530 dq->dq_dqb.dqb_isoftlimit = dquot->dq_dqb.dqb_isoftlimit;
531 dq->dq_dqb.dqb_bhardlimit = dquot->dq_dqb.dqb_bhardlimit;
532 dq->dq_dqb.dqb_bsoftlimit = dquot->dq_dqb.dqb_bsoftlimit;
536 dq->dq_dqb.dqb_curspace = dquot->dq_dqb.dqb_curspace;
537 dq->dq_dqb.dqb_curinodes = dquot->dq_dqb.dqb_curinodes;
626 struct dquot *dq;
651 dq = dnode_get(n);
652 if (!dq)
654 if ((dq->dq_flags & DQF_SEEN) == 0) {
656 "Missing quota entry ID %d\n", dq->dq_id);