HomeSort by: relevance | last modified time | path
    Searched refs:ttm_lock (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
ttm_lock.h 1 /* $NetBSD: ttm_lock.h,v 1.3 2022/02/17 01:21:02 riastradh Exp $ */
33 /** @file ttm_lock.h
64 * struct ttm_lock
74 struct ttm_lock { struct
86 * @lock: Pointer to a struct ttm_lock
89 extern void ttm_lock_init(struct ttm_lock *lock);
94 * @lock: Pointer to a struct ttm_lock
98 extern void ttm_read_unlock(struct ttm_lock *lock);
103 * @lock: Pointer to a struct ttm_lock
110 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible)
    [all...]
ttm_lock.c 1 /* $NetBSD: ttm_lock.c,v 1.3 2022/02/17 01:21:02 riastradh Exp $ */
35 __KERNEL_RCSID(0, "$NetBSD: ttm_lock.c,v 1.3 2022/02/17 01:21:02 riastradh Exp $");
41 #include "ttm_lock.h"
50 void ttm_lock_init(struct ttm_lock *lock)
58 void ttm_read_unlock(struct ttm_lock *lock)
66 static bool __ttm_read_lock(struct ttm_lock *lock)
77 int ttm_read_lock(struct ttm_lock *lock, bool interruptible)
93 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked)
112 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible)
134 void ttm_write_unlock(struct ttm_lock *lock
    [all...]
Makefile 12 ttm_object.o ttm_lock.o
vmwgfx_drv.h 52 #include "ttm_lock.h"
601 struct ttm_lock reservation_sem;

Completed in 20 milliseconds