Home
last modified time | relevance | path

Searched refs:q_flock (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/fs/xfs/quota/
Dxfs_dquot.h99 sema_t q_flock; /* flush lock */ member
155 #define xfs_dqflock(dqp) { psema(&((dqp)->q_flock), PINOD | PRECALC);\
157 #define xfs_dqfunlock(dqp) { ASSERT(valusema(&((dqp)->q_flock)) <= 0); \
158 vsema(&((dqp)->q_flock)); \
166 #define XFS_DQ_IS_FLUSH_LOCKED(dqp) (valusema(&((dqp)->q_flock)) <= 0)
Dxfs_dquot_item.c266 if ((valusema(&(dqp->q_flock)) > 0) || in xfs_qm_dquot_logitem_pushbuf()
279 (valusema(&(dqp->q_flock)) <= 0)); in xfs_qm_dquot_logitem_pushbuf()
Dxfs_dquot.c124 initnsema(&dqp->q_flock, 1, "fdq"); in xfs_qm_dqinit()
173 freesema(&dqp->q_flock); in xfs_qm_dqdestroy()
1414 locked = cpsema(&((dqp)->q_flock)); in xfs_qm_dqflock_nowait()