Home
last modified time | relevance | path

Searched refs:ttm_lock (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dttm_lock.h68 struct ttm_lock { struct
83 extern void ttm_lock_init(struct ttm_lock *lock);
92 extern void ttm_read_unlock(struct ttm_lock *lock);
104 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
121 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
130 extern void ttm_write_unlock(struct ttm_lock *lock);
142 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
151 extern void ttm_lock_downgrade(struct ttm_lock *lock);
160 extern void ttm_suspend_lock(struct ttm_lock *lock);
169 extern void ttm_suspend_unlock(struct ttm_lock *lock);
[all …]
Dttm_lock.c45 void ttm_lock_init(struct ttm_lock *lock) in ttm_lock_init()
53 void ttm_read_unlock(struct ttm_lock *lock) in ttm_read_unlock()
61 static bool __ttm_read_lock(struct ttm_lock *lock) in __ttm_read_lock()
74 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock()
86 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock()
105 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock()
124 void ttm_write_unlock(struct ttm_lock *lock) in ttm_write_unlock()
132 static bool __ttm_write_lock(struct ttm_lock *lock) in __ttm_write_lock()
148 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock()
167 void ttm_suspend_unlock(struct ttm_lock *lock) in ttm_suspend_unlock()
[all …]
DMakefile12 ttm_object.o ttm_lock.o
Dvmwgfx_drv.h617 struct ttm_lock reservation_sem;