Lines Matching refs:dquot
96 static void dq_lock_internal(struct dquot *dq);
97 static void dq_unlock_internal(struct dquot *dq);
103 * Code pertaining to management of the in-core dquot data structures.
107 LIST_HEAD(dqhash, dquot) *dqhashtbl;
116 TAILQ_HEAD(dqfreelist, dquot) dqfreelist;
120 TAILQ_HEAD(dqdirtylist, dquot) dqdirtylist;
124 static int dqsync_locked(struct dquot *dq);
177 * Initialize hash table for dquot structures.
224 dq_lock_internal(struct dquot *dq)
237 dq_unlock_internal(struct dquot *dq)
248 dqlock(struct dquot *dq) {
258 dqunlock(struct dquot *dq) {
493 * Obtain a dquot structure for the specified identifier and quota file
497 dqget(u_int32_t id, struct quotafile *qfp, int type, struct dquot **dqp)
499 struct dquot *dq;
500 struct dquot *ndq = NULL;
501 struct dquot *fdq = NULL;
617 ndq = (struct dquot *)_MALLOC(sizeof *dq, M_DQUOT, M_WAITOK);
650 tablefull("dquot");
707 * Initialize the contents of the dquot structure.
868 * Release a reference to a dquot.
871 dqrele(struct dquot *dq)
895 * Release a reference to a dquot but don't do any I/O.
898 dqreclaim(struct dquot *dq)
927 struct dquot *dq;
956 panic("dqsync_orphans: dquot in use");
980 dqsync(struct dquot *dq)
1000 dqsync_locked(struct dquot *dq)
1054 struct dquot *dq, *nextdq;
1061 * Move all dquot's that used to refer to this quota
1073 panic("dqflush: stray dquot");