/freebsd-11.0-release/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-11.0-release/sys/compat/linuxkpi/common/include/linux/ |
H A D | semaphore.h | 29 * $FreeBSD: releng/11.0/sys/compat/linuxkpi/common/include/linux/semaphore.h 290135 2015-10-29 08:28:39Z hselasky $ 42 struct semaphore { struct 52 linux_sema_init(struct semaphore *sem, int val) 60 init_MUTEX(struct semaphore *sem)
|
H A D | fs.h | 43 #include <linux/semaphore.h>
|
/freebsd-11.0-release/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_util.h | 49 struct semaphore pop; 50 struct semaphore push;
|
H A D | vchiq_killable.h | 39 #include <linux/semaphore.h> 43 static inline int __must_check down_interruptible_killable(struct semaphore *sem)
|
H A D | vchiq_core.h | 268 struct semaphore *event; 312 struct semaphore remove_event; 313 struct semaphore bulk_remove_event; 342 struct semaphore quota_event; 416 struct semaphore connect; 432 struct semaphore trigger_event; 435 struct semaphore recycle_event; 438 struct semaphore sync_trigger_event; 441 struct semaphore sync_release_event; 487 struct semaphore slot_available_even [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | barrier.h | 39 #include <semaphore.h>
|
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | vdev_raidz.h | 30 #include <sys/semaphore.h>
|
/freebsd-11.0-release/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-11.0-release/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-11.0-release/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.h | 235 struct semaphore { struct 243 struct semaphore name; \ 250 void _sema_init(struct semaphore *s, int value); 251 void _sema_destroy(struct semaphore *s); 252 void down(struct semaphore *s); 253 int down_interruptible(struct semaphore *s); 254 int down_trylock(struct semaphore *s); 255 void up(struct semaphore *s);
|
H A D | vchi_bsd.c | 301 struct semaphore *s = arg; 308 _sema_init(struct semaphore *s, int value) 318 _sema_destroy(struct semaphore *s) 325 down(struct semaphore *s) 340 down_interruptible(struct semaphore *s) 369 down_trylock(struct semaphore *s) 391 up(struct semaphore *s)
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/ffs/ |
H A D | h_ffs_server.c | 10 #include <semaphore.h>
|
/freebsd-11.0-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_proc_mutex.h | 66 #include <semaphore.h>
|
/freebsd-11.0-release/sys/contrib/vchiq/interface/vchi/message_drivers/ |
H A D | message.h | 80 struct semaphore sem; 101 struct semaphore *blocking;
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/librt/ |
H A D | t_sem.c | 67 #include <semaphore.h> 145 printf("PID %d waiting for semaphore...\n", 149 printf("PID %d got semaphore\n", getpid());
|
/freebsd-11.0-release/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-11.0-release/contrib/netbsd-tests/fs/nfs/nfsservice/ |
H A D | rumpnfsd.c | 34 #include <semaphore.h>
|
/freebsd-11.0-release/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-11.0-release/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_sem.c | 94 #include <semaphore.h> 152 printf("Thread %p waiting for semaphore...\n", self); 154 printf("Thread %p got semaphore\n", self);
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/common/ |
H A D | fstest_lfs.c | 37 #include <semaphore.h>
|