Lines Matching defs:lock
25 * ehash lock must be held by caller.
26 * Returns 1 if caller should call inet_twsk_put() after lock release.
36 * We cannot call inet_twsk_put() ourself under lock,
48 * bind hash lock must be held by caller.
49 * Returns 1 if caller should call inet_twsk_put() after lock release.
63 * We cannot call inet_twsk_put() ourself under lock,
76 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash);
78 spin_lock(lock);
80 spin_unlock(lock);
86 spin_lock(&bhead->lock);
88 spin_unlock(&bhead->lock);
136 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash);
144 spin_lock(&bhead->lock);
148 spin_unlock(&bhead->lock);
150 spin_lock(lock);
168 spin_unlock(lock);
221 /* NOTE: compare this to previous version where lock
248 * lock reacquired. We still use the hlist traversal