Lines Matching refs:lock
71 struct mtx lock; member
86 extern void ttm_lock_init(struct ttm_lock *lock);
95 extern void ttm_read_unlock(struct ttm_lock *lock);
107 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
124 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
133 extern void ttm_lock_downgrade(struct ttm_lock *lock);
142 extern void ttm_suspend_lock(struct ttm_lock *lock);
151 extern void ttm_suspend_unlock(struct ttm_lock *lock);
165 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
177 extern int ttm_vt_unlock(struct ttm_lock *lock);
186 extern void ttm_write_unlock(struct ttm_lock *lock);
198 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
200 void ttm_write_lock_downgrade(struct ttm_lock *lock);
219 static inline void ttm_lock_set_kill(struct ttm_lock *lock, bool val, in ttm_lock_set_kill() argument
222 lock->kill_takers = val; in ttm_lock_set_kill()
224 lock->signal = signal; in ttm_lock_set_kill()