Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dttm_lock.h74 struct ttm_lock { struct
89 extern void ttm_lock_init(struct ttm_lock *lock);
98 extern void ttm_read_unlock(struct ttm_lock *lock);
110 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
127 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
136 extern void ttm_write_unlock(struct ttm_lock *lock);
148 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
157 extern void ttm_lock_downgrade(struct ttm_lock *lock);
166 extern void ttm_suspend_lock(struct ttm_lock *lock);
175 extern void ttm_suspend_unlock(struct ttm_lock *lock);
[all …]
H A Dttm_lock.c50 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()
[all …]
H A DMakefile12 ttm_object.o ttm_lock.o
H A Dvmwgfx_drv.h601 struct ttm_lock reservation_sem;
/netbsd-src/sys/external/bsd/drm2/ttm/
H A Dfiles.ttm25 #file external/bsd/drm2/dist/drm/ttm/ttm_lock.c drmkms_ttm
/netbsd-src/sys/external/bsd/drm2/vmwgfx/
H A Dfiles.vmwgfx74 file external/bsd/drm2/dist/drm/vmwgfx/ttm_lock.c vmwgfx