/freebsd-10-stable/lib/libkse/test/ |
H A D | sem_d.exp | 3 Got semaphore 4 Got semaphore 5 Got semaphore 6 Got semaphore 7 Got semaphore 8 Got semaphore 9 Got semaphore 10 Got semaphore 11 Got semaphore 12 Got semaphore [all...] |
H A D | sem_d.c | 42 #include <semaphore.h> 53 fprintf(stderr, "Got semaphore\n");
|
/freebsd-10-stable/sys/dev/drm2/radeon/ |
H A D | radeon_semaphore.c | 39 struct radeon_semaphore **semaphore) 43 *semaphore = malloc(sizeof(struct radeon_semaphore), 45 if (*semaphore == NULL) { 49 &(*semaphore)->sa_bo, 8, 8, true); 51 free(*semaphore, DRM_MEM_DRIVER); 52 *semaphore = NULL; 55 (*semaphore)->waiters = 0; 56 (*semaphore)->gpu_addr = radeon_sa_bo_gpu_addr((*semaphore)->sa_bo); 57 *((uint64_t*)radeon_sa_bo_cpu_addr((*semaphore) 38 radeon_semaphore_create(struct radeon_device *rdev, struct radeon_semaphore **semaphore) argument 61 radeon_semaphore_emit_signal(struct radeon_device *rdev, int ring, struct radeon_semaphore *semaphore) argument 68 radeon_semaphore_emit_wait(struct radeon_device *rdev, int ring, struct radeon_semaphore *semaphore) argument 76 radeon_semaphore_sync_rings(struct radeon_device *rdev, struct radeon_semaphore *semaphore, int signaler, int waiter) argument 110 radeon_semaphore_free(struct radeon_device *rdev, struct radeon_semaphore **semaphore, struct radeon_fence *fence) argument [all...] |
H A D | radeon_test.c | 264 struct radeon_semaphore *semaphore = NULL; local 267 r = radeon_semaphore_create(rdev, &semaphore); 269 DRM_ERROR("Failed to create semaphore\n"); 278 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); 285 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); 297 DRM_ERROR("Fence 1 signaled without waiting for semaphore.\n"); 306 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); 318 DRM_ERROR("Fence 2 signaled without waiting for semaphore.\n"); 327 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); 337 radeon_semaphore_free(rdev, &semaphore, NUL 355 struct radeon_semaphore *semaphore = NULL; local [all...] |
H A D | radeon_ring.c | 76 r = radeon_semaphore_create(rdev, &ib->semaphore); 110 radeon_semaphore_free(rdev, &ib->semaphore, ib->fence); 158 radeon_semaphore_sync_rings(rdev, ib->semaphore, 163 /* immediately free semaphore when we don't need to sync */ 165 radeon_semaphore_free(rdev, &ib->semaphore, NULL); 174 radeon_semaphore_free(rdev, &const_ib->semaphore, NULL); 807 seq_printf(m, "last semaphore signal addr : 0x%016llx\n", ring->last_semaphore_signal_addr); 808 seq_printf(m, "last semaphore wait addr : 0x%016llx\n", ring->last_semaphore_wait_addr);
|
/freebsd-10-stable/sys/ofed/include/linux/ |
H A D | semaphore.h | 40 struct semaphore { struct 50 linux_sema_init(struct semaphore *sem, int val) 58 init_MUTEX(struct semaphore *sem)
|
H A D | fs.h | 41 #include <linux/semaphore.h>
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | vdev_raidz.h | 30 #include <sys/semaphore.h>
|
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | barrier.h | 39 #include <semaphore.h>
|
/freebsd-10-stable/tools/regression/pthread/unwind/ |
H A D | sem_wait_cancel.cpp | 6 #include <semaphore.h>
|
H A D | cond_wait_cancel.cpp | 6 #include <semaphore.h>
|
H A D | cond_wait_cancel2.cpp | 11 #include <semaphore.h>
|
/freebsd-10-stable/contrib/gcclibs/libgomp/config/posix/ |
H A D | sem.h | 28 /* This is the default POSIX 1003.1b implementation of a semaphore 43 #include <semaphore.h>
|
/freebsd-10-stable/sys/dev/imcsmb/ |
H A D | imcsmb_var.h | 66 * the scheduler is stopped, so just use a simple semaphore. 74 volatile int semaphore; member in struct:imcsmb_pci_softc
|
H A D | imcsmb_pci.c | 176 sc->semaphore = 0; 264 * Invoked via smbus_callback() -> imcsmb_callback(); clear the semaphore, and 285 atomic_store_rel_int(&sc->semaphore, 0); 289 * Invoked via smbus_callback() -> imcsmb_callback(); set the semaphore, and 307 /* We don't want to block. Use a simple test-and-set semaphore to 310 if (atomic_cmpset_acq_int(&sc->semaphore, 0, 1) == 0) {
|
/freebsd-10-stable/contrib/apr/include/arch/unix/ |
H A D | apr_arch_proc_mutex.h | 66 #include <semaphore.h>
|
/freebsd-10-stable/contrib/netbsd-tests/fs/ffs/ |
H A D | h_ffs_server.c | 10 #include <semaphore.h>
|
/freebsd-10-stable/tools/regression/posixsem2/ |
H A D | semtest.c | 6 #include <semaphore.h> 27 printf("testing unnamed process-shared semaphore\n"); 61 printf("testing named process-shared semaphore\n"); 71 "two sem_open calls for same semaphore do not return same address"); 103 printf("testing named process-shared semaphore, O_EXCL cases\n"); 119 "two sem_open calls for same semaphore do not return same address");
|
/freebsd-10-stable/contrib/ntp/include/ |
H A D | ntp_worker.h | 13 # include <semaphore.h> 85 * hold the 'accesslock' semaphore to avoid data races. 87 * The resource management (thread/semaphore 114 /* some systems use a pipe for notification, others a semaphore.
|
/freebsd-10-stable/contrib/netbsd-tests/lib/librt/ |
H A D | t_sem.c | 67 #include <semaphore.h> 143 printf("PID %d waiting for semaphore...\n", 147 printf("PID %d got semaphore\n", getpid());
|
/freebsd-10-stable/contrib/netbsd-tests/fs/nfs/nfsservice/ |
H A D | rumpnfsd.c | 34 #include <semaphore.h>
|
/freebsd-10-stable/lib/libkse/thread/ |
H A D | thr_sem.c | 38 #include <semaphore.h> 94 * Initialize the semaphore.
|
/freebsd-10-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_lfs.c | 37 #include <semaphore.h>
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_sem.c | 95 #include <semaphore.h> 149 printf("Thread %p waiting for semaphore...\n", self); 151 printf("Thread %p got semaphore\n", self);
|
/freebsd-10-stable/sys/dev/hptmv/ |
H A D | mvSata.h | 259 MV_OS_SEMAPHORE semaphore; member in struct:mvSataChannel 298 MV_OS_SEMAPHORE semaphore; member in struct:mvSataAdapter
|