-int dqfileopen(struct quotafile *, int);
-void dqfileclose(struct quotafile *, int);
-void dqflush(struct vnode *);
-int dqget(struct vnode *, u_long, struct quotafile *, int, struct dquot **);
-void dqinit(void);
-void dqref(struct dquot *);
-void dqrele(struct vnode *, struct dquot *);
-void dqreclaim(struct vnode *, struct dquot *);
-int dqsync(struct vnode *, struct dquot *);
-void dqsync_orphans(struct quotafile *);
+void dqfileinit(struct quotafile *);
+int dqfileopen(struct quotafile *, int);
+void dqfileclose(struct quotafile *, int);
+void dqflush(struct vnode *);
+int dqget(u_int32_t, struct quotafile *, int, struct dquot **);
+void dqhashinit(void);
+int dqisinitialized(void);
+void dqref(struct dquot *);
+void dqrele(struct dquot *);
+void dqreclaim(struct dquot *);
+int dqsync(struct dquot *);
+void dqsync_orphans(struct quotafile *);
+void dqlock(struct dquot *);
+void dqunlock(struct dquot *);
+
+int qf_get(struct quotafile *, int type);
+void qf_put(struct quotafile *, int type);
+
+__private_extern__ void munge_dqblk(struct dqblk *dqblkp, struct user_dqblk *user_dqblkp, boolean_t to64);