| /openbsd-src/sys/dev/pci/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 101 static int check_syncmap_free(struct i915_syncmap **sync) in check_syncmap_free() argument 103 i915_syncmap_free(sync); in check_syncmap_free() 104 if (*sync) { in check_syncmap_free() 112 static int dump_syncmap(struct i915_syncmap *sync, int err) in dump_syncmap() argument 117 return check_syncmap_free(&sync); in dump_syncmap() 123 if (i915_syncmap_print_to_buf(sync, buf, PAGE_SIZE)) in dump_syncmap() 129 i915_syncmap_free(&sync); in dump_syncmap() 135 struct i915_syncmap *sync = (void *)~0ul; in igt_syncmap_init() local 142 i915_syncmap_init(&sync); in igt_syncmap_init() 143 return check_syncmap_free(&sync); in igt_syncmap_init() [all …]
|
| /openbsd-src/sys/dev/pci/drm/radeon/ |
| H A D | radeon_sync.c | 41 void radeon_sync_create(struct radeon_sync *sync) in radeon_sync_create() argument 46 sync->semaphores[i] = NULL; in radeon_sync_create() 49 sync->sync_to[i] = NULL; in radeon_sync_create() 51 sync->last_vm_update = NULL; in radeon_sync_create() 62 void radeon_sync_fence(struct radeon_sync *sync, in radeon_sync_fence() argument 70 other = sync->sync_to[fence->ring]; in radeon_sync_fence() 71 sync->sync_to[fence->ring] = radeon_fence_later(fence, other); in radeon_sync_fence() 74 other = sync->last_vm_update; in radeon_sync_fence() 75 sync->last_vm_update = radeon_fence_later(fence, other); in radeon_sync_fence() 90 struct radeon_sync *sync, in radeon_sync_resv() argument [all …]
|
| H A D | rv770_dma.c | 48 struct radeon_sync sync; in rv770_copy_dma() local 55 radeon_sync_create(&sync); in rv770_copy_dma() 62 radeon_sync_free(rdev, &sync, NULL); in rv770_copy_dma() 66 radeon_sync_resv(rdev, &sync, resv, false); in rv770_copy_dma() 67 radeon_sync_rings(rdev, &sync, ring->idx); in rv770_copy_dma() 86 radeon_sync_free(rdev, &sync, NULL); in rv770_copy_dma() 91 radeon_sync_free(rdev, &sync, fence); in rv770_copy_dma()
|
| H A D | evergreen_dma.c | 113 struct radeon_sync sync; in evergreen_copy_dma() local 120 radeon_sync_create(&sync); in evergreen_copy_dma() 127 radeon_sync_free(rdev, &sync, NULL); in evergreen_copy_dma() 131 radeon_sync_resv(rdev, &sync, resv, false); in evergreen_copy_dma() 132 radeon_sync_rings(rdev, &sync, ring->idx); in evergreen_copy_dma() 151 radeon_sync_free(rdev, &sync, NULL); in evergreen_copy_dma() 156 radeon_sync_free(rdev, &sync, fence); in evergreen_copy_dma()
|
| H A D | radeon_ib.c | 70 radeon_sync_create(&ib->sync); in radeon_ib_get() 99 radeon_sync_free(rdev, &ib->sync, ib->fence); in radeon_ib_free() 148 radeon_sync_fence(&ib->sync, vm_id_fence); in radeon_ib_schedule() 151 /* sync with other rings */ in radeon_ib_schedule() 152 r = radeon_sync_rings(rdev, &ib->sync, ib->ring); in radeon_ib_schedule() 154 dev_err(rdev->dev, "failed to sync rings (%d)\n", r); in radeon_ib_schedule() 161 ib->sync.last_vm_update); in radeon_ib_schedule() 165 radeon_sync_free(rdev, &const_ib->sync, NULL); in radeon_ib_schedule()
|
| H A D | si_dma.c | 236 struct radeon_sync sync; in si_copy_dma() local 243 radeon_sync_create(&sync); in si_copy_dma() 250 radeon_sync_free(rdev, &sync, NULL); in si_copy_dma() 254 radeon_sync_resv(rdev, &sync, resv, false); in si_copy_dma() 255 radeon_sync_rings(rdev, &sync, ring->idx); in si_copy_dma() 274 radeon_sync_free(rdev, &sync, NULL); in si_copy_dma() 279 radeon_sync_free(rdev, &sync, fence); in si_copy_dma()
|
| H A D | r600_dma.c | 449 struct radeon_sync sync; in r600_copy_dma() local 456 radeon_sync_create(&sync); in r600_copy_dma() 463 radeon_sync_free(rdev, &sync, NULL); in r600_copy_dma() 467 radeon_sync_resv(rdev, &sync, resv, false); in r600_copy_dma() 468 radeon_sync_rings(rdev, &sync, ring->idx); in r600_copy_dma() 487 radeon_sync_free(rdev, &sync, NULL); in r600_copy_dma() 492 radeon_sync_free(rdev, &sync, fence); in r600_copy_dma()
|
| /openbsd-src/sys/dev/pci/drm/amd/amdgpu/ |
| H A D | amdgpu_sync.c | 52 void amdgpu_sync_create(struct amdgpu_sync *sync) in amdgpu_sync_create() argument 54 hash_init(sync->fences); in amdgpu_sync_create() 133 static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f) in amdgpu_sync_add_later() argument 137 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later() 155 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f) in amdgpu_sync_fence() argument 162 if (amdgpu_sync_add_later(sync, f)) in amdgpu_sync_fence() 173 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence() 239 int amdgpu_sync_resv(struct amdgpu_device *adev, struct amdgpu_sync *sync, in amdgpu_sync_resv() argument 256 r = amdgpu_sync_fence(sync, f); in amdgpu_sync_resv() 288 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync, in amdgpu_sync_peek_fence() argument [all …]
|
| H A D | amdgpu_sync.h | 49 void amdgpu_sync_create(struct amdgpu_sync *sync); 50 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f); 51 int amdgpu_sync_resv(struct amdgpu_device *adev, struct amdgpu_sync *sync, 54 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync, 56 struct dma_fence *amdgpu_sync_get_fence(struct amdgpu_sync *sync); 58 int amdgpu_sync_push_to_job(struct amdgpu_sync *sync, struct amdgpu_job *job); 59 int amdgpu_sync_wait(struct amdgpu_sync *sync, bool intr); 60 void amdgpu_sync_free(struct amdgpu_sync *sync);
|
| H A D | amdgpu_amdkfd_gpuvm.c | 455 static int vm_update_pds(struct amdgpu_vm *vm, struct amdgpu_sync *sync) in vm_update_pds() 465 return amdgpu_sync_fence(sync, vm->last_update); in get_pte_flags() 1068 * all the reservation info in a context structure. Optionally a sync 1076 /* Pointer to sync object */ 1077 struct amdgpu_sync *sync; 1102 ctx->sync = &mem->sync; in reserve_bo_and_vm() 1141 ctx->sync = &mem->sync; in reserve_bo_and_cond_vms() 1176 * @wait: Optionally wait for a sync objec 451 vm_update_pds(struct amdgpu_vm * vm,struct amdgpu_sync * sync) vm_update_pds() argument 1073 struct amdgpu_sync *sync; global() member 1194 unmap_bo_from_gpuvm(struct kgd_mem * mem,struct kfd_mem_attachment * entry,struct amdgpu_sync * sync) unmap_bo_from_gpuvm() argument 1211 update_gpuvm_pte(struct kgd_mem * mem,struct kfd_mem_attachment * entry,struct amdgpu_sync * sync) update_gpuvm_pte() argument 1233 map_bo_to_gpuvm(struct kgd_mem * mem,struct kfd_mem_attachment * entry,struct amdgpu_sync * sync,bool no_update_pte) map_bo_to_gpuvm() argument 1280 process_sync_pds_resv(struct amdkfd_process_info * process_info,struct amdgpu_sync * sync) process_sync_pds_resv() argument 1300 process_update_pds(struct amdkfd_process_info * process_info,struct amdgpu_sync * sync) process_update_pds() argument 2104 struct amdgpu_sync sync; amdgpu_amdkfd_gpuvm_sync_memory() local 2495 struct amdgpu_sync sync; validate_invalid_user_pages() local [all...] |
| H A D | amdgpu_vm_sdma.c | 90 struct amdgpu_sync sync; in amdgpu_vm_sdma_prepare() local 100 amdgpu_sync_create(&sync); in amdgpu_vm_sdma_prepare() 101 r = amdgpu_sync_resv(p->adev, &sync, resv, sync_mode, p->vm); in amdgpu_vm_sdma_prepare() 103 r = amdgpu_sync_push_to_job(&sync, p->job); in amdgpu_vm_sdma_prepare() 104 amdgpu_sync_free(&sync); in amdgpu_vm_sdma_prepare()
|
| /openbsd-src/sys/dev/wscons/ |
| H A D | wsmouse.c | 583 if (btn->sync) in wsmouse_buttons() 585 btn->buttons ^= btn->sync; in wsmouse_buttons() 587 btn->sync = btn->buttons ^ buttons; in wsmouse_buttons() 602 motion->sync |= SYNC_DELTAS; in wsmouse_motion() 606 set_x(struct position *pos, int x, u_int *sync, u_int mask) in wsmouse_motion() 608 if (*sync & mask) { 620 *sync |= mask; in set_x() 625 set_y(struct position *pos, int y, u_int *sync, u_int mask) in set_x() 627 if (*sync & mask) { 639 *sync | in set_y() 609 set_x(struct position * pos,int x,u_int * sync,u_int mask) set_x() argument 628 set_y(struct position * pos,int y,u_int * sync,u_int mask) set_y() argument 979 u_int bit, sync; wsmouse_btn_sync() local [all...] |
| H A D | wstpad.c | 452 if ((input->motion.sync & SYNC_POSITION) == 0) in wstpad_scroll_coords() 731 lifted = (input->mt.sync[MTS_TOUCH] & ~input->mt.touches); in wstpad_tap_touch() 787 if (input->btn.sync) in wstpad_tap() 799 (input->mt.touches & input->mt.sync[MTS_TOUCH]))) { in wstpad_tap() 886 input->sbtn.sync |= tp->tap.button; in wstpad_tap() 946 input->sbtn.sync |= tp->tap.button; in wstpad_tap_timeout() 978 input->motion.sync &= ~SYNC_DELTAS; in wstpad_cmds() 981 input->btn.sync &= ~PRIMARYBTN; in wstpad_cmds() 984 input->sbtn.sync |= tp->softbutton; in wstpad_cmds() 987 input->btn.sync &= ~PRIMARYBTN; in wstpad_cmds() [all …]
|
| H A D | wsmouseinput.h | 39 u_int sync; member 48 u_int sync; member 59 u_int sync; member 89 u_int sync[MTS_SIZE]; member
|
| /openbsd-src/gnu/gcc/gcc/config/mips/ |
| H A D | sync.S | 69 sync; \ 76 sync; \ 100 sync; \ 110 sync; \ 136 sync; \ 144 sync; \ 168 sync; \ 179 sync; \ 205 sync; \ 212 sync; \ [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_thread.cpp | 24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext() 31 void ThreadContext::OnReset() { CHECK(!sync); } in OnReset() 111 VectorClock *sync; member 125 thr->clock.ReleaseStore(&arg.sync); in ThreadCreate() 137 sync = args->sync; in OnCreated() 158 thr->clock.Acquire(thr->tctx->sync); in ThreadStart() 161 Free(thr->tctx->sync); in ThreadStart() 233 thr->clock.ReleaseStore(&thr->tctx->sync); in ThreadFinish() 289 VectorClock *sync; member 301 thr->clock.Acquire(arg.sync); in ThreadJoin() [all …]
|
| H A D | tsan_fd.cpp | 31 FdSync *sync; member 106 if (d->sync) { in init() 107 unref(thr, pc, d->sync); in init() 108 d->sync = 0; in init() 117 d->sync = s; in init() 120 d->sync = &fdctx.globsync; in init() 182 FdSync *s = d->sync; in FdAcquire() 193 FdSync *s = d->sync; in FdRelease() 242 unref(thr, pc, d->sync); in FdClose() 243 d->sync = 0; in FdClose() [all …]
|
| /openbsd-src/sys/dev/ic/ |
| H A D | siop_common.c | 113 /* find min/max sync period for this chip */ in siop_common_attach() 127 panic("siop: can't find my sync parameters"); in siop_common_attach() 137 panic("siop: can't find my sync parameters"); in siop_common_attach() 363 /* we now need to do sync */ in siop_wdtr_neg() 389 * but don't schedule a sync neg, target should initiate it in siop_wdtr_neg() 407 int sync, offset, options, scf = 0; in siop_ppr_neg() local 419 sync = tables->msg_in[3]; in siop_ppr_neg() 433 if (offset > sc->maxoff || sync < sc->dt_minsync || in siop_ppr_neg() 434 sync > sc->dt_maxsync) { in siop_ppr_neg() 436 "offset (%d) or sync ( in siop_ppr_neg() 519 int sync, maxoffset, offset, i; siop_sdtr_neg() local [all...] |
| /openbsd-src/gnu/usr.bin/perl/dist/Storable/t/ |
| H A D | recurse.t | 81 $self->{sync} = OBJ_SYNC->make; 90 my $t = dclone($r->{sync}); 102 ($self->{sync}, $self->{ext}) = @$a; 142 my $sync = OBJ_SYNC->make; 143 $x = freeze $sync; 151 $sync = OBJ_SYNC2->make($ext); 152 $x = freeze [$sync, $ext]; 159 is(ref $y->{sync}, 'OBJ_SYNC');
|
| /openbsd-src/sys/arch/macppc/macppc/ |
| H A D | ofwreal.S | 188 sync 271 sync /* remove everything from tlb */ 279 sync 281 sync 284 sync 289 sync 297 sync 299 sync
|
| /openbsd-src/libexec/spamd/ |
| H A D | grey.c | 459 db->sync(db, 0); in do_changes() 464 db->sync(db, 0); in do_changes() 714 db->sync(db, 0); in twupdate() 728 db->sync(db, 0); in twupdate() 743 db->sync(db, 0); in twupdate() 758 greyupdate(char *dbname, char *helo, char *ip, char *from, char *to, int sync, in greyupdate() argument 808 if (sync && low_prio_mx_ip && in greyupdate() 836 db->sync(db, 0); in greyupdate() 850 db->sync(db, 0); in greyupdate() 864 db->sync(db, 0); in greyupdate() [all …]
|
| /openbsd-src/bin/sync/ |
| H A D | Makefile | 3 PROG= sync 4 MAN= sync.8
|
| /openbsd-src/distrib/special/sync/ |
| H A D | Makefile | 3 PROG= sync 5 .PATH: ${.CURDIR}/../../../bin/sync
|
| /openbsd-src/gnu/usr.bin/perl/ext/GDBM_File/t/ |
| H A D | snapshot.t | 61 createdb($odd, GDBM_NUMSYNC, sub { shift->sync }); 93 $dbh->sync; 94 $dbh->sync;
|
| /openbsd-src/sys/dev/pci/drm/i915/gt/selftests/ |
| H A D | mock_timeline.c | 21 i915_syncmap_init(&timeline->sync); in mock_timeline_init() 28 i915_syncmap_free(&timeline->sync); in mock_timeline_fini()
|