Lines Matching refs:ndq
810 struct dquot *dq, *ndq;
860 ndq = pool_cache_get(dquot_cache, PR_WAITOK);
864 memset((char *)ndq, 0, sizeof *ndq);
865 ndq->dq_flags = 0;
866 ndq->dq_id = id;
867 ndq->dq_ump = ump;
868 ndq->dq_type = type;
869 mutex_init(&ndq->dq_interlock, MUTEX_DEFAULT, IPL_NONE);
882 mutex_destroy(&ndq->dq_interlock);
883 pool_cache_put(dquot_cache, ndq);
887 dq = ndq;