Lines Matching defs:lock
46 void ttm_lock_init(struct ttm_lock *lock) in ttm_lock_init()
57 void ttm_read_unlock(struct ttm_lock *lock) in ttm_read_unlock()
66 static bool __ttm_read_lock(struct ttm_lock *lock) in __ttm_read_lock()
84 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock()
103 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock()
127 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock()
152 void ttm_write_unlock(struct ttm_lock *lock) in ttm_write_unlock()
161 static bool __ttm_write_lock(struct ttm_lock *lock) in __ttm_write_lock()
182 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock()
207 static int __ttm_vt_unlock(struct ttm_lock *lock) in __ttm_vt_unlock()
224 struct ttm_lock *lock = container_of(base, struct ttm_lock, base); in ttm_vt_lock_remove() local
232 static bool __ttm_vt_lock(struct ttm_lock *lock) in __ttm_vt_lock()
248 int ttm_vt_lock(struct ttm_lock *lock, in ttm_vt_lock()
289 int ttm_vt_unlock(struct ttm_lock *lock) in ttm_vt_unlock()
296 void ttm_suspend_unlock(struct ttm_lock *lock) in ttm_suspend_unlock()
305 static bool __ttm_suspend_lock(struct ttm_lock *lock) in __ttm_suspend_lock()
321 void ttm_suspend_lock(struct ttm_lock *lock) in ttm_suspend_lock()