Searched refs:ttm_lock (Results 1 – 4 of 4) sorted by relevance
70 struct ttm_lock { struct88 extern void ttm_lock_init(struct ttm_lock *lock);97 extern void ttm_read_unlock(struct ttm_lock *lock);109 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);126 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);135 extern void ttm_write_unlock(struct ttm_lock *lock);147 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);156 extern void ttm_lock_downgrade(struct ttm_lock *lock);165 extern void ttm_suspend_lock(struct ttm_lock *lock);174 extern void ttm_suspend_unlock(struct ttm_lock *lock);[all …]
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()97 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock()121 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock()140 void ttm_write_unlock(struct ttm_lock *lock) in ttm_write_unlock()149 static bool __ttm_write_lock(struct ttm_lock *lock) in __ttm_write_lock()170 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock()190 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 \
329 struct ttm_lock lock;522 struct ttm_lock reservation_sem;