HomeSort by: relevance | last modified time | path
    Searched refs:semaphore (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /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 in function:radeon_test_ring_sync
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 in function:radeon_test_ring_sync2
    [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 in function:radeon_sync_rings
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)) {
radeon_uvd_v2_2.c 68 * uvd_v2_2_semaphore_emit - emit semaphore command
72 * @semaphore: semaphore to emit commands for
75 * Emit a semaphore command (either wait or signal) to the UVD ring.
79 struct radeon_semaphore *semaphore,
82 uint64_t addr = semaphore->gpu_addr;
radeon_asic.h 82 struct radeon_semaphore *semaphore,
328 struct radeon_semaphore *semaphore,
334 struct radeon_semaphore *semaphore,
795 struct radeon_semaphore *semaphore,
815 struct radeon_semaphore *semaphore,
949 struct radeon_semaphore *semaphore,
959 struct radeon_semaphore *semaphore,
965 struct radeon_semaphore *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) + (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/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 */
Makefile 20 resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.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
  /src/tests/fs/ffs/
h_ffs_server.c 10 #include <semaphore.h>
  /src/sys/external/bsd/vchiq/dist/interface/vchi/message_drivers/
message.h 80 struct semaphore sem;
101 struct semaphore *blocking;
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerShmemPosix.cpp 19 #include <semaphore.h>
59 Semaphore[i] = sem_open(SemName(Name, i).c_str(), O_CREAT, 0644, 0);
60 if (Semaphore[i] == SEM_FAILED)
77 Semaphore[i] = sem_open(SemName(Name, i).c_str(), 0);
78 if (Semaphore[i] == SEM_FAILED)
91 sem_post((sem_t*)Semaphore[Idx]);
96 for (int i = 0; i < 10 && sem_wait((sem_t*)Semaphore[Idx]); i++) {
  /src/tests/fs/nfs/nfsservice/
rumpnfsd.c 34 #include <semaphore.h>
  /src/lib/librt/
sem.c 97 #include <semaphore.h>
155 #error Weak aliases required to build POSIX semaphore support.
  /src/sys/external/bsd/vchiq/dist/interface/vchi/connections/
connection.h 317 struct semaphore sem;
  /src/tests/fs/common/
fstest_lfs.c 37 #include <semaphore.h>
  /src/tests/lib/libpthread/
t_sem.c 95 #include <semaphore.h>
149 printf("Thread %p waiting for semaphore...\n", self);
151 printf("Thread %p got semaphore\n", self);
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_request.c 123 i915_sw_fence_fini(&rq->semaphore);
353 /* Copy across semaphore status as we need the same behaviour */
399 * If we installed a semaphore on this request and we only submit
407 i915_sw_fence_signaled(&request->semaphore))
541 container_of(fence, typeof(*request), semaphore);
603 i915_sw_fence_init(&rq->semaphore, semaphore_notify);
620 i915_sw_fence_fini(&rq->semaphore);
707 i915_sw_fence_reinit(&i915_request_get(rq)->semaphore);
843 * Polling a semaphore causes bus traffic, delaying other users of
847 * than one semaphore from each source, and not using a semaphor
    [all...]

Completed in 25 milliseconds

1 2 3