Lines Matching defs:lock
48 void ttm_lock_init(struct ttm_lock *lock) in ttm_lock_init()
68 void ttm_read_unlock(struct ttm_lock *lock) in ttm_read_unlock()
76 static bool __ttm_read_lock(struct ttm_lock *lock) in __ttm_read_lock()
92 ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock()
116 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock()
137 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock()
165 void ttm_write_unlock(struct ttm_lock *lock) in ttm_write_unlock()
173 static bool __ttm_write_lock(struct ttm_lock *lock) in __ttm_write_lock()
192 ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock()
222 void ttm_write_lock_downgrade(struct ttm_lock *lock) in ttm_write_lock_downgrade()
230 static int __ttm_vt_unlock(struct ttm_lock *lock) in __ttm_vt_unlock()
247 struct ttm_lock *lock = container_of(base, struct ttm_lock, base); in ttm_vt_lock_remove() local
255 static bool __ttm_vt_lock(struct ttm_lock *lock) in __ttm_vt_lock()
269 int ttm_vt_lock(struct ttm_lock *lock, in ttm_vt_lock()
312 int ttm_vt_unlock(struct ttm_lock *lock) in ttm_vt_unlock()
318 void ttm_suspend_unlock(struct ttm_lock *lock) in ttm_suspend_unlock()
326 static bool __ttm_suspend_lock(struct ttm_lock *lock) in __ttm_suspend_lock()
340 void ttm_suspend_lock(struct ttm_lock *lock) in ttm_suspend_lock()