• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/quota/

Lines Matching defs:dqp

489 	xfs_dquot_t		*dqp;
518 if ((error = xfs_qm_dqget(mp, NULL, id, type, XFS_QMOPT_DQALLOC, &dqp))) {
523 xfs_trans_dqjoin(tp, dqp);
524 ddq = &dqp->q_core;
625 dqp->dq_flags |= XFS_DQ_DIRTY;
626 xfs_trans_log_dquot(tp, dqp);
629 xfs_qm_dqprint(dqp);
630 xfs_qm_dqrele(dqp);
644 xfs_dquot_t *dqp;
652 if ((error = xfs_qm_dqget(mp, NULL, id, type, 0, &dqp))) {
660 if (XFS_IS_DQUOT_UNINITIALIZED(dqp)) {
661 xfs_qm_dqput(dqp);
664 /* xfs_qm_dqprint(dqp); */
668 xfs_qm_export_dquot(mp, &dqp->q_core, out);
669 xfs_qm_dqput(dqp);
950 xfs_dqtest_t *dqp; int i = 0;\
952 for (dqp = (xfs_dqtest_t *)(l)->qh_next; dqp != NULL; \
953 dqp = (xfs_dqtest_t *)dqp->NXT) { \
955 ++i, dqp->d_id, DQFLAGTO_TYPESTR(dqp), \
956 dqp->d_bcount, dqp->d_icount); } \
970 xfs_qm_hashinsert(xfs_dqhash_t *h, xfs_dqtest_t *dqp)
972 list_add(&dqp->q_hashlist, &h->qh_list);
993 xfs_dquot_t *dqp,
1007 if (dqp)
1008 xfs_qm_dqprint(dqp);
1014 xfs_dquot_t *dqp)
1017 if (be64_to_cpu(dqp->q_core.d_icount) != d->d_icount) {
1018 xfs_qm_dqtest_failed(d, dqp, "icount mismatch",
1019 be64_to_cpu(dqp->q_core.d_icount),
1023 if (be64_to_cpu(dqp->q_core.d_bcount) != d->d_bcount) {
1024 xfs_qm_dqtest_failed(d, dqp, "bcount mismatch",
1025 be64_to_cpu(dqp->q_core.d_bcount),
1029 if (dqp->q_core.d_blk_softlimit &&
1030 be64_to_cpu(dqp->q_core.d_bcount) >=
1031 be64_to_cpu(dqp->q_core.d_blk_softlimit)) {
1032 if (!dqp->q_core.d_btimer && dqp->q_core.d_id) {
1039 if (dqp->q_core.d_ino_softlimit &&
1040 be64_to_cpu(dqp->q_core.d_icount) >=
1041 be64_to_cpu(dqp->q_core.d_ino_softlimit)) {
1042 if (!dqp->q_core.d_itimer && dqp->q_core.d_id) {
1062 xfs_dquot_t *dqp;
1067 &dqp))) {
1071 xfs_dqtest_cmp2(d, dqp);
1072 xfs_qm_dqput(dqp);