Lines Matching refs:ttm_lock
68 struct ttm_lock { struct
83 extern void ttm_lock_init(struct ttm_lock *lock);
92 extern void ttm_read_unlock(struct ttm_lock *lock);
104 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
121 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
130 extern void ttm_write_unlock(struct ttm_lock *lock);
142 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
151 extern void ttm_lock_downgrade(struct ttm_lock *lock);
160 extern void ttm_suspend_lock(struct ttm_lock *lock);
169 extern void ttm_suspend_unlock(struct ttm_lock *lock);
183 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
195 extern int ttm_vt_unlock(struct ttm_lock *lock);
204 extern void ttm_write_unlock(struct ttm_lock *lock);
216 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);