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