Searched refs:qfp (Results 1 - 3 of 3) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_quota.c270 qf_get(struct quotafile *qfp, int type) argument
279 while ( (qfp->qf_qflags & (QTF_OPENING | QTF_CLOSING)) ) {
280 if ( (qfp->qf_qflags & QTF_OPENING) ) {
284 if ( (qfp->qf_qflags & QTF_CLOSING) ) {
285 qfp->qf_qflags |= QTF_WANTED;
286 msleep(&qfp->qf_qflags, quota_list_mtx_lock, PVFS, "qf_get", NULL);
289 if (qfp->qf_vp != NULLVP)
292 qfp->qf_qflags |= QTF_OPENING;
296 if ( (qfp->qf_qflags & QTF_CLOSING) ) {
300 qfp
318 qf_put(struct quotafile *qfp, int type) argument
339 qf_lock(struct quotafile *qfp) argument
345 qf_unlock(struct quotafile *qfp) argument
366 qf_ref(struct quotafile *qfp) argument
385 qf_rele(struct quotafile *qfp) argument
397 dqfileinit(struct quotafile *qfp) argument
412 dqfileopen(struct quotafile *qfp, int type) argument
469 dqfileclose(struct quotafile *qfp, __unused int type) argument
497 dqget(u_long id, struct quotafile *qfp, int type, struct dquot **dqp) argument
787 dqlookup(struct quotafile *qfp, u_long id, struct dqblk *dqb, uint32_t *index) argument
925 dqsync_orphans(struct quotafile *qfp) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_quota.c481 struct quotafile *qfp; local
489 qfp = &hfsmp->hfs_qfiles[type];
491 if ( (qf_get(qfp, QTF_OPENING)) )
511 qfp->qf_cred = kauth_cred_proc_ref(p);
512 qfp->qf_vp = vp;
516 error = dqfileopen(qfp, type);
520 if (IS_VALID_CRED(qfp->qf_cred))
521 kauth_cred_unref(&qfp->qf_cred);
522 qfp->qf_vp = NULLVP;
525 qf_put(qfp, QTF_OPENIN
586 struct quotafile *qfp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Dufs_quota.c457 struct quotafile *qfp; local
465 qfp = &ump->um_qfiles[type];
467 if ( (qf_get(qfp, QTF_OPENING)) )
484 qfp->qf_vp = vp;
485 qfp->qf_cred = vfs_context_ucred(context);
486 kauth_cred_ref(qfp->qf_cred);
494 kauth_cred_unref(&qfp->qf_cred);
495 qfp->qf_vp = NULLVP;
498 qf_put(qfp, QTF_OPENING);
520 qf_put(qfp, QTF_OPENIN
558 struct quotafile *qfp; local
[all...]

Completed in 35 milliseconds