Searched refs:mutex (Results 1 - 25 of 1618) sorted by relevance

1234567891011>>

/netbsd-current/sys/external/bsd/drm2/include/linux/
H A Dmutex.h1 /* $NetBSD: mutex.h,v 1.17 2021/12/19 11:33:31 riastradh Exp $ */
35 #include <sys/mutex.h>
44 struct mutex { struct
53 linux_mutex_init(struct mutex *mutex) argument
55 mutex_init(&mutex->mtx_lock, MUTEX_DEFAULT, IPL_NONE);
60 __mutex_init(struct mutex *mutex, const char *name __unused, argument
63 linux_mutex_init(mutex);
68 linux_mutex_destroy(struct mutex *mute argument
74 mutex_lock(struct mutex *mutex) argument
80 mutex_lock_interruptible(struct mutex *mutex) argument
87 mutex_trylock(struct mutex *mutex) argument
93 mutex_unlock(struct mutex *mutex) argument
99 mutex_is_locked(struct mutex *mutex) argument
105 mutex_lock_nest_lock(struct mutex *mutex, struct mutex *already) argument
113 mutex_lock_nested(struct mutex *mutex, unsigned subclass __unused) argument
119 mutex_lock_interruptible_nested(struct mutex *mutex, unsigned subclass __unused) argument
134 mutex_trylock_recursive(struct mutex *mutex) argument
[all...]
/netbsd-current/sys/arch/evbarm/include/
H A Dmutex.h1 /* $NetBSD: mutex.h,v 1.3 2020/08/12 13:28:46 skrll Exp $ */
4 #include <aarch64/mutex.h>
6 #include <arm/mutex.h>
/netbsd-current/external/apache2/llvm/dist/libcxx/src/
H A Dmutex_destructor.cpp9 // Define ~mutex.
11 // On some platforms ~mutex has been made trivial and the definition is only
15 // that *nothing* sees the non-trivial mutex declaration. For this reason
31 class _LIBCPP_TYPE_VIS mutex class
37 constexpr mutex() = default;
38 mutex(const mutex&) = delete;
39 mutex& operator=(const mutex&) = delete;
40 ~mutex() noexcep
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dwindows-recmutex.c28 glwthread_recmutex_init (glwthread_recmutex_t *mutex) argument
30 mutex->owner = 0;
31 mutex->depth = 0;
32 InitializeCriticalSection (&mutex->lock);
33 mutex->guard.done = 1;
37 glwthread_recmutex_lock (glwthread_recmutex_t *mutex) argument
39 if (!mutex->guard.done)
41 if (InterlockedIncrement (&mutex->guard.started) == 0)
42 /* This thread is the first one to need this mutex. Initialize it. */
43 glwthread_recmutex_init (mutex);
71 glwthread_recmutex_trylock(glwthread_recmutex_t *mutex) argument
105 glwthread_recmutex_unlock(glwthread_recmutex_t *mutex) argument
120 glwthread_recmutex_destroy(glwthread_recmutex_t *mutex) argument
[all...]
H A Dwindows-mutex.c23 #include "windows-mutex.h"
28 glwthread_mutex_init (glwthread_mutex_t *mutex) argument
30 InitializeCriticalSection (&mutex->lock);
31 mutex->guard.done = 1;
35 glwthread_mutex_lock (glwthread_mutex_t *mutex) argument
37 if (!mutex->guard.done)
39 if (InterlockedIncrement (&mutex->guard.started) == 0)
40 /* This thread is the first one to need this mutex. Initialize it. */
41 glwthread_mutex_init (mutex);
44 /* Don't let mutex
57 glwthread_mutex_trylock(glwthread_mutex_t *mutex) argument
79 glwthread_mutex_unlock(glwthread_mutex_t *mutex) argument
88 glwthread_mutex_destroy(glwthread_mutex_t *mutex) argument
[all...]
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dwindows-recmutex.c28 glwthread_recmutex_init (glwthread_recmutex_t *mutex) argument
30 mutex->owner = 0;
31 mutex->depth = 0;
32 InitializeCriticalSection (&mutex->lock);
33 mutex->guard.done = 1;
37 glwthread_recmutex_lock (glwthread_recmutex_t *mutex) argument
39 if (!mutex->guard.done)
41 if (InterlockedIncrement (&mutex->guard.started) == 0)
42 /* This thread is the first one to need this mutex. Initialize it. */
43 glwthread_recmutex_init (mutex);
71 glwthread_recmutex_trylock(glwthread_recmutex_t *mutex) argument
105 glwthread_recmutex_unlock(glwthread_recmutex_t *mutex) argument
120 glwthread_recmutex_destroy(glwthread_recmutex_t *mutex) argument
[all...]
H A Dwindows-mutex.c23 #include "windows-mutex.h"
28 glwthread_mutex_init (glwthread_mutex_t *mutex) argument
30 InitializeCriticalSection (&mutex->lock);
31 mutex->guard.done = 1;
35 glwthread_mutex_lock (glwthread_mutex_t *mutex) argument
37 if (!mutex->guard.done)
39 if (InterlockedIncrement (&mutex->guard.started) == 0)
40 /* This thread is the first one to need this mutex. Initialize it. */
41 glwthread_mutex_init (mutex);
44 /* Don't let mutex
57 glwthread_mutex_trylock(glwthread_mutex_t *mutex) argument
79 glwthread_mutex_unlock(glwthread_mutex_t *mutex) argument
88 glwthread_mutex_destroy(glwthread_mutex_t *mutex) argument
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/linux/
H A Dmutex.h26 /* This is a Linux specific implementation of a mutex synchronization
37 extern void gomp_mutex_lock_slow (gomp_mutex_t *mutex, int);
38 extern void gomp_mutex_unlock_slow (gomp_mutex_t *mutex);
41 gomp_mutex_init (gomp_mutex_t *mutex) argument
43 *mutex = 0;
47 gomp_mutex_destroy (gomp_mutex_t *mutex) argument
52 gomp_mutex_lock (gomp_mutex_t *mutex) argument
55 if (!__atomic_compare_exchange_n (mutex, &oldval, 1, false,
57 gomp_mutex_lock_slow (mutex, oldval);
61 gomp_mutex_unlock (gomp_mutex_t *mutex) argument
[all...]
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/linux/
H A Dmutex.h26 /* This is a Linux specific implementation of a mutex synchronization
37 extern void gomp_mutex_lock_slow (gomp_mutex_t *mutex, int);
38 extern void gomp_mutex_unlock_slow (gomp_mutex_t *mutex);
41 gomp_mutex_init (gomp_mutex_t *mutex) argument
43 *mutex = 0;
47 gomp_mutex_destroy (gomp_mutex_t *mutex) argument
52 gomp_mutex_lock (gomp_mutex_t *mutex) argument
55 if (!__atomic_compare_exchange_n (mutex, &oldval, 1, false,
57 gomp_mutex_lock_slow (mutex, oldval);
61 gomp_mutex_unlock (gomp_mutex_t *mutex) argument
[all...]
/netbsd-current/sys/arch/atari/include/
H A Dmutex.h3 #include <m68k/mutex.h>
/netbsd-current/sys/arch/bebox/include/
H A Dmutex.h3 #include <powerpc/mutex.h>
/netbsd-current/sys/arch/cats/include/
H A Dmutex.h3 #include <arm/mutex.h>
/netbsd-current/sys/arch/cesfic/include/
H A Dmutex.h3 #include <m68k/mutex.h>
/netbsd-current/sys/arch/cobalt/include/
H A Dmutex.h3 #include <mips/mutex.h>
/netbsd-current/sys/arch/dreamcast/include/
H A Dmutex.h3 #include <sh3/mutex.h>
/netbsd-current/sys/arch/emips/include/
H A Dmutex.h3 #include <mips/mutex.h>
/netbsd-current/sys/arch/epoc32/include/
H A Dmutex.h1 /* $NetBSD: mutex.h,v 1.1 2007/02/18 16:56:44 ad Exp $ */
3 #include <arm/mutex.h>
/netbsd-current/sys/arch/evbcf/include/
H A Dmutex.h1 /* $NetBSD: mutex.h,v 1.1.2.2 2013/07/23 21:07:34 riastradh Exp $ */
3 #include <m68k/mutex.h>
/netbsd-current/sys/arch/evbmips/include/
H A Dmutex.h3 #include <mips/mutex.h>
/netbsd-current/sys/arch/evbppc/include/
H A Dmutex.h3 #include <powerpc/mutex.h>
/netbsd-current/sys/arch/evbsh3/include/
H A Dmutex.h3 #include <sh3/mutex.h>
/netbsd-current/sys/arch/ews4800mips/include/
H A Dmutex.h3 #include <mips/mutex.h>
/netbsd-current/sys/arch/hp300/include/
H A Dmutex.h3 #include <m68k/mutex.h>
/netbsd-current/sys/arch/hpcarm/include/
H A Dmutex.h3 #include <arm/mutex.h>
/netbsd-current/sys/arch/hpcmips/include/
H A Dmutex.h3 #include <mips/mutex.h>

Completed in 382 milliseconds

1234567891011>>