Lines Matching refs:ttm_lock
31 #include "ttm/ttm_lock.h"
45 void ttm_lock_init(struct ttm_lock *lock)
56 void ttm_read_unlock(struct ttm_lock *lock)
65 static bool __ttm_read_lock(struct ttm_lock *lock)
83 int ttm_read_lock(struct ttm_lock *lock, bool interruptible)
96 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked)
120 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible)
139 void ttm_write_unlock(struct ttm_lock *lock)
148 static bool __ttm_write_lock(struct ttm_lock *lock)
169 int ttm_write_lock(struct ttm_lock *lock, bool interruptible)
189 void ttm_write_lock_downgrade(struct ttm_lock *lock)
197 static int __ttm_vt_unlock(struct ttm_lock *lock)
214 struct ttm_lock *lock = container_of(base, struct ttm_lock, base);
222 static bool __ttm_vt_lock(struct ttm_lock *lock)
238 int ttm_vt_lock(struct ttm_lock *lock,
274 int ttm_vt_unlock(struct ttm_lock *lock)
281 void ttm_suspend_unlock(struct ttm_lock *lock)
290 static bool __ttm_suspend_lock(struct ttm_lock *lock)
306 void ttm_suspend_lock(struct ttm_lock *lock)