Searched refs:ttm_lock (Results 1 – 4 of 4) sorted by relevance
69 struct ttm_lock { struct87 extern void ttm_lock_init(struct ttm_lock *lock);96 extern void ttm_read_unlock(struct ttm_lock *lock);108 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);125 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);134 extern void ttm_write_unlock(struct ttm_lock *lock);146 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);155 extern void ttm_lock_downgrade(struct ttm_lock *lock);164 extern void ttm_suspend_lock(struct ttm_lock *lock);173 extern void ttm_suspend_unlock(struct ttm_lock *lock);[all …]
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 static int __ttm_vt_unlock(struct ttm_lock *lock) in __ttm_vt_unlock()[all …]
7 ttm_object.o ttm_lock.o ttm_execbuf_util.o ttm_page_alloc.o \
324 struct ttm_lock lock;493 struct ttm_lock reservation_sem;