Lines Matching defs:lock
50 void ttm_lock_init(struct ttm_lock *lock) in ttm_lock_init()
58 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()
77 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock()
93 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock()
112 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock()
134 void ttm_write_unlock(struct ttm_lock *lock) in ttm_write_unlock()
142 static bool __ttm_write_lock(struct ttm_lock *lock) in __ttm_write_lock()
158 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock()
178 void ttm_suspend_unlock(struct ttm_lock *lock) in ttm_suspend_unlock()
186 static bool __ttm_suspend_lock(struct ttm_lock *lock) in __ttm_suspend_lock()
200 void ttm_suspend_lock(struct ttm_lock *lock) in ttm_suspend_lock()