| /src/sys/external/bsd/drm2/dist/drm/radeon/ |
| radeon_semaphore.c | 40 struct radeon_semaphore **semaphore) 44 *semaphore = kmalloc(sizeof(struct radeon_semaphore), GFP_KERNEL); 45 if (*semaphore == NULL) { 49 &(*semaphore)->sa_bo, 8, 8); 51 kfree(*semaphore); 52 *semaphore = NULL; 55 (*semaphore)->waiters = 0; 56 (*semaphore)->gpu_addr = radeon_sa_bo_gpu_addr((*semaphore)->sa_bo); 58 *((uint64_t *)radeon_sa_bo_cpu_addr((*semaphore)->sa_bo)) = 0 [all...] |
| radeon_uvd_v3_1.c | 35 * uvd_v3_1_semaphore_emit - emit semaphore command 39 * @semaphore: semaphore to emit commands for 42 * Emit a semaphore command (either wait or signal) to the UVD ring. 46 struct radeon_semaphore *semaphore, 49 uint64_t addr = semaphore->gpu_addr;
|
| radeon_test.c | 323 struct radeon_semaphore *semaphore = NULL; local 326 r = radeon_semaphore_create(rdev, &semaphore); 328 DRM_ERROR("Failed to create semaphore\n"); 337 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); 349 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); 359 DRM_ERROR("Fence 1 signaled without waiting for semaphore.\n"); 368 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); 380 DRM_ERROR("Fence 2 signaled without waiting for semaphore.\n"); 389 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); 399 radeon_semaphore_free(rdev, &semaphore, NULL) 417 struct radeon_semaphore *semaphore = NULL; local [all...] |
| radeon_sync.c | 60 * radeon_sync_fence - use the semaphore to sync to a fence 65 * Sync to the fence using the semaphore objects 91 * Sync to the fence using the semaphore objects 150 struct radeon_semaphore *semaphore; local 169 r = radeon_semaphore_create(rdev, &semaphore); 173 sync->semaphores[count++] = semaphore; 180 /* emit the signal semaphore */ 181 if (!radeon_semaphore_emit_signal(rdev, i, semaphore)) { 191 if (!radeon_semaphore_emit_wait(rdev, ring, semaphore)) {
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
| staticthreads.c | 24 #include <semaphore.h> 29 sem_t semaphore; variable 41 while (sem_wait (&semaphore) != 0) 61 if (sem_init (&semaphore, 0, 0) == -1) 63 perror ("semaphore"); 75 sem_post (&semaphore);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| staticthreads.c | 24 #include <semaphore.h> 29 sem_t semaphore; variable 41 while (sem_wait (&semaphore) != 0) 61 if (sem_init (&semaphore, 0, 0) == -1) 63 perror ("semaphore"); 75 sem_post (&semaphore);
|
| /src/tests/lib/semaphore/ |
| Makefile | 9 TESTSDIR= ${TESTSBASE}/lib/semaphore
|
| /src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
| vchiq_util.h | 49 struct semaphore pop; 50 struct semaphore push;
|
| vchiq_core.h | 271 #define REMOTE_EVENT_SEMA(s,e) ((struct semaphore *)((char *)(s) + le32toh((e)->event))) 315 struct semaphore remove_event; 316 struct semaphore bulk_remove_event; 345 struct semaphore quota_event; 419 struct semaphore connect; 435 struct semaphore trigger_event; 438 struct semaphore recycle_event; 441 struct semaphore sync_trigger_event; 444 struct semaphore sync_release_event; 490 struct semaphore slot_available_event [all...] |
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| task_barrier.h | 25 #include <linux/semaphore.h> 44 struct semaphore enter_turnstile; 45 struct semaphore exit_turnstile; 48 static inline void task_barrier_signal_turnstile(struct semaphore *turnstile,
|
| /src/tests/lib/semaphore/pthread/ |
| Makefile | 5 TESTSDIR= ${TESTSBASE}/lib/semaphore/pthread
|
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| barrier.h | 46 #include <semaphore.h>
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| vdev_raidz.h | 30 #include <sys/semaphore.h>
|
| /src/external/gpl3/gcc/dist/libgomp/config/posix/ |
| omp-lock.h | 11 #include <semaphore.h>
|
| sem.h | 26 /* This is the default POSIX 1003.1b implementation of a semaphore 41 #include <semaphore.h>
|
| /src/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
| omp-lock.h | 11 #include <semaphore.h>
|
| sem.h | 26 /* This is the default POSIX 1003.1b implementation of a semaphore 41 #include <semaphore.h>
|
| /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.init_fini/ |
| thread_join.d | 3 import core.thread, core.sync.semaphore; 6 __gshared Semaphore sem; 15 sem = new Semaphore;
|
| /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.thread/ |
| join_detach.d | 2 import core.sync.semaphore; 4 __gshared Semaphore sem; 14 sem = new Semaphore();
|
| /src/include/ |
| semaphore.h | 1 /* $NetBSD: semaphore.h,v 1.5 2016/04/24 19:48:29 dholland Exp $ */ 42 #include <sys/semaphore.h> /* some kernel-only bits */
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sync/ |
| semaphore.d | 2 * The semaphore module provides a general use semaphore for synchronization. 15 module core.sync.semaphore; 43 import core.sys.darwin.mach.semaphore; 50 import core.sys.posix.semaphore; 59 // Semaphore 68 * This class represents a general counting semaphore as concieved by Edsger 73 class Semaphore 81 * Initializes a semaphore object with the specified initial count. 84 * count = The initial count for the semaphore [all...] |
| /src/external/mit/libuv/dist/include/uv/ |
| darwin.h | 28 # include <mach/semaphore.h>
|
| /src/sys/external/bsd/vchiq/dist/interface/compat/ |
| vchi_bsd.h | 145 * Semaphore API 147 struct semaphore { struct 157 #define DEFINE_SEMAPHORE(name) struct semaphore name 160 void _sema_init(struct semaphore *s, int value); 161 void _sema_destroy(struct semaphore *s); 162 void down(struct semaphore *s); 163 int down_interruptible(struct semaphore *s); 164 int down_trylock(struct semaphore *s); 165 void up(struct semaphore *s);
|
| vchi_bsd.c | 124 * Semaphore API 129 struct semaphore *s = arg; 136 _sema_init(struct semaphore *s, int value) 145 _sema_destroy(struct semaphore *s) 152 down(struct semaphore *s) 167 down_interruptible(struct semaphore *s) 190 down_trylock(struct semaphore *s) 208 up(struct semaphore *s)
|
| /src/tests/lib/ |
| Makefile | 8 libutil libossaudio lua semaphore
|