/src/tests/libexec/ld.elf_so/ |
h_thread_local_dtor.c | 35 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable in typeref:typename:pthread_mutex_t 45 pthread_mutex_lock(&mutex); 47 pthread_mutex_unlock(&mutex); 49 pthread_mutex_lock(&mutex); 50 pthread_cond_wait(&cond2, &mutex); 51 pthread_mutex_unlock(&mutex); 70 pthread_mutex_lock(&mutex); 75 pthread_cond_wait(&cond1, &mutex); 76 pthread_mutex_unlock(&mutex); 86 pthread_mutex_lock(&mutex); [all...] |
h_thread_local_dtor.c | 35 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable in typeref:typename:pthread_mutex_t 45 pthread_mutex_lock(&mutex); 47 pthread_mutex_unlock(&mutex); 49 pthread_mutex_lock(&mutex); 50 pthread_cond_wait(&cond2, &mutex); 51 pthread_mutex_unlock(&mutex); 70 pthread_mutex_lock(&mutex); 75 pthread_cond_wait(&cond1, &mutex); 76 pthread_mutex_unlock(&mutex); 86 pthread_mutex_lock(&mutex); [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
amdgpu_dm_hdcp.h | 48 struct mutex mutex; member in struct:hdcp_workqueue
|
amdgpu_dm_hdcp.h | 48 struct mutex mutex; member in struct:hdcp_workqueue
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_reset_types.h | 11 #include <linux/mutex.h> 48 struct mutex mutex; /* serialises wedging/unwedging */ member in struct:intel_reset
|
intel_reset_types.h | 11 #include <linux/mutex.h> 48 struct mutex mutex; /* serialises wedging/unwedging */ member in struct:intel_reset
|
intel_timeline_types.h | 14 #include <linux/mutex.h> 29 struct mutex mutex; /* protects the flow of requests */ member in struct:intel_timeline 43 * Note that the active_count is protected by the intel_timeline.mutex,
|
intel_timeline_types.h | 14 #include <linux/mutex.h> 29 struct mutex mutex; /* protects the flow of requests */ member in struct:intel_timeline 43 * Note that the active_count is protected by the intel_timeline.mutex,
|
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_modeset_lock.h | 73 * @mutex: resource locking 83 struct ww_mutex mutex; member in struct:drm_modeset_lock 109 ww_mutex_destroy(&lock->mutex); 118 return ww_mutex_is_locked(&lock->mutex); 127 lockdep_assert_held(&lock->mutex.base);
|
drm_modeset_lock.h | 73 * @mutex: resource locking 83 struct ww_mutex mutex; member in struct:drm_modeset_lock 109 ww_mutex_destroy(&lock->mutex); 118 return ww_mutex_is_locked(&lock->mutex); 127 lockdep_assert_held(&lock->mutex.base);
|
/src/tests/lib/libpthread/ |
t_barrier.c | 45 pthread_mutex_t mutex; variable in typeref:typename:pthread_mutex_t 59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 63 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 79 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); 83 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 85 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 93 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 95 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 99 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 101 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); [all...] |
t_preempt.c | 46 pthread_mutex_t mutex; variable in typeref:typename:pthread_mutex_t 58 printf("2: Locking mutex\n"); 59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 60 printf("2: Got mutex.\n"); 63 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 95 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); 97 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 111 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 112 printf("1: After releasing the mutex.\n") [all...] |
t_barrier.c | 45 pthread_mutex_t mutex; variable in typeref:typename:pthread_mutex_t 59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 63 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 79 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); 83 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 85 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 93 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 95 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 99 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 101 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); [all...] |
t_preempt.c | 46 pthread_mutex_t mutex; variable in typeref:typename:pthread_mutex_t 58 printf("2: Locking mutex\n"); 59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 60 printf("2: Got mutex.\n"); 63 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 95 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); 97 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); 106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 111 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex)); 112 printf("1: After releasing the mutex.\n") [all...] |
/src/sys/external/bsd/drm2/include/linux/ |
mutex.h | 1 /* $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) 55 mutex_init(&mutex->mtx_lock, MUTEX_DEFAULT, IPL_NONE); 60 __mutex_init(struct mutex *mutex, const char *name __unused, 63 linux_mutex_init(mutex); 68 linux_mutex_destroy(struct mutex *mutex [all...] |
mutex.h | 1 /* $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) 55 mutex_init(&mutex->mtx_lock, MUTEX_DEFAULT, IPL_NONE); 60 __mutex_init(struct mutex *mutex, const char *name __unused, 63 linux_mutex_init(mutex); 68 linux_mutex_destroy(struct mutex *mutex [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_active_types.h | 15 #include <linux/mutex.h> 39 struct mutex mutex; member in struct:i915_active
|
i915_active_types.h | 15 #include <linux/mutex.h> 39 struct mutex mutex; member in struct:i915_active
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/ |
subdev.h | 12 struct mutex mutex; member in struct:nvkm_subdev
|
tegra.h | 26 struct mutex mutex; member in struct:nvkm_device_tegra::__anon5bfc979f0108
|
subdev.h | 12 struct mutex mutex; member in struct:nvkm_subdev
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/ |
pad.h | 21 struct mutex mutex; member in struct:nvkm_i2c_pad
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
mt7623n.dtsi | 203 mutex: mutex@1400e000 { label 204 compatible = "mediatek,mt7623-disp-mutex", 205 "mediatek,mt2701-disp-mutex";
|
/src/tests/rump/kernspace/ |
threadpool.c | 42 #include <sys/mutex.h> 96 kmutex_t mutex; member in struct:test_job_data 110 mutex_enter(&data->mutex); 115 mutex_exit(&data->mutex); 124 mutex_enter(&data->mutex); 130 cv_wait(&data->cond, &data->mutex); 134 mutex_exit(&data->mutex); 140 mutex_init(&data->mutex, MUTEX_DEFAULT, IPL_NONE); 142 threadpool_job_init(&data->job, fn, &data->mutex, "testjob"); 151 mutex_destroy(&data->mutex); [all...] |
/src/lib/libpthread/ |
pthread_cond.c | 125 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, 134 return __libc_cond_timedwait_stub(cond, mutex, abstime); 138 pthread__error(EINVAL, "Invalid mutex", 139 mutex->ptm_magic == _PT_MUTEX_MAGIC); 140 pthread__error(EPERM, "Mutex not locked in condition wait", 141 mutex->ptm_owner != NULL); 153 cond->ptc_mutex = mutex; 174 pthread_mutex_unlock(mutex); 188 pthread_mutex_lock(mutex); 205 pthread_mutex_unlock(mutex); 240 pthread_mutex_t *mutex; local in function:pthread_cond_signal 285 pthread_mutex_t *mutex; local in function:pthread_cond_broadcast [all...] |