Lines Matching refs:ttm_lock
70 struct ttm_lock { struct
88 extern void ttm_lock_init(struct ttm_lock *lock);
97 extern void ttm_read_unlock(struct ttm_lock *lock);
109 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
126 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
135 extern void ttm_write_unlock(struct ttm_lock *lock);
147 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
156 extern void ttm_lock_downgrade(struct ttm_lock *lock);
165 extern void ttm_suspend_lock(struct ttm_lock *lock);
174 extern void ttm_suspend_unlock(struct ttm_lock *lock);
188 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
200 extern int ttm_vt_unlock(struct ttm_lock *lock);
209 extern void ttm_write_unlock(struct ttm_lock *lock);
221 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
240 static inline void ttm_lock_set_kill(struct ttm_lock *lock, bool val, in ttm_lock_set_kill()