/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
H A D | i915_syncmap.c | 106 static int check_syncmap_free(struct i915_syncmap **sync) in check_syncmap_free() argument 108 i915_syncmap_free(sync); in check_syncmap_free() 109 if (*sync) { in check_syncmap_free() 117 static int dump_syncmap(struct i915_syncmap *sync, int err) in dump_syncmap() argument 122 return check_syncmap_free(&sync); in dump_syncmap() 128 if (i915_syncmap_print_to_buf(sync, buf, PAGE_SIZE)) in dump_syncmap() 134 i915_syncmap_free(&sync); in dump_syncmap() 140 struct i915_syncmap *sync = (void *)~0ul; in igt_syncmap_init() local 147 i915_syncmap_init(&sync); in igt_syncmap_init() 148 return check_syncmap_free(&sync); in igt_syncmap_init() [all …]
|
/netbsd-src/sys/arch/playstation2/playstation2/ |
H A D | locore_machdep.S | 82 sync.p 112 sync.p 126 sync.p 158 sync.l 159 sync.p 162 cache CACHEOP_R5900_IWBINV_D, 0(t0);sync.l;sync.p # way 0 163 cache CACHEOP_R5900_IWBINV_D, 1(t0);sync.l;sync.p # way 1 165 cache CACHEOP_R5900_IWBINV_D, 64(t0);sync.l;sync.p # way 0 166 cache CACHEOP_R5900_IWBINV_D, 65(t0);sync.l;sync.p # way 1 168 cache CACHEOP_R5900_IWBINV_D,128(t0);sync.l;sync.p # way 0 [all …]
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
H A D | tsan_clock_test.cc | 64 SyncClock sync; in TEST() local 69 vector.release(&cache, &sync); in TEST() 71 for (ClockElem &ce : sync) { in TEST() 73 ASSERT_EQ(sync.get_clean(i), ce.epoch); in TEST() 77 sync.Reset(&cache); in TEST() 103 SyncClock sync; in TEST() local 104 thr1.ReleaseStore(&cache, &sync); in TEST() 106 thr2.acquire(&cache, &sync); in TEST() 107 thr2.acquire(&cache, &sync); in TEST() 109 sync.Reset(&cache); in TEST() [all …]
|
/netbsd-src/sys/arch/evbppc/ev64260/ |
H A D | ev64260_locore.S | 102 eieio; sync 108 eieio; sync 128 sync ; isync 142 sync 144 sync /* wait for it to finish */ 151 sync 159 sync 161 sync 168 sync 170 sync [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_sync.c | 46 void radeon_sync_create(struct radeon_sync *sync) in radeon_sync_create() argument 51 sync->semaphores[i] = NULL; in radeon_sync_create() 54 sync->sync_to[i] = NULL; in radeon_sync_create() 56 sync->last_vm_update = NULL; in radeon_sync_create() 67 void radeon_sync_fence(struct radeon_sync *sync, in radeon_sync_fence() argument 75 other = sync->sync_to[fence->ring]; in radeon_sync_fence() 76 sync->sync_to[fence->ring] = radeon_fence_later(fence, other); in radeon_sync_fence() 79 other = sync->last_vm_update; in radeon_sync_fence() 80 sync->last_vm_update = radeon_fence_later(fence, other); in radeon_sync_fence() 94 struct radeon_sync *sync, in radeon_sync_resv() argument [all …]
|
H A D | radeon_rv770_dma.c | 53 struct radeon_sync sync; in rv770_copy_dma() local 60 radeon_sync_create(&sync); in rv770_copy_dma() 67 radeon_sync_free(rdev, &sync, NULL); in rv770_copy_dma() 71 radeon_sync_resv(rdev, &sync, resv, false); in rv770_copy_dma() 72 radeon_sync_rings(rdev, &sync, ring->idx); in rv770_copy_dma() 91 radeon_sync_free(rdev, &sync, NULL); in rv770_copy_dma() 96 radeon_sync_free(rdev, &sync, fence); in rv770_copy_dma()
|
H A D | radeon_evergreen_dma.c | 119 struct radeon_sync sync; in evergreen_copy_dma() local 126 radeon_sync_create(&sync); in evergreen_copy_dma() 133 radeon_sync_free(rdev, &sync, NULL); in evergreen_copy_dma() 137 radeon_sync_resv(rdev, &sync, resv, false); in evergreen_copy_dma() 138 radeon_sync_rings(rdev, &sync, ring->idx); in evergreen_copy_dma() 157 radeon_sync_free(rdev, &sync, NULL); in evergreen_copy_dma() 162 radeon_sync_free(rdev, &sync, fence); in evergreen_copy_dma()
|
H A D | radeon_si_dma.c | 242 struct radeon_sync sync; in si_copy_dma() local 249 radeon_sync_create(&sync); in si_copy_dma() 256 radeon_sync_free(rdev, &sync, NULL); in si_copy_dma() 260 radeon_sync_resv(rdev, &sync, resv, false); in si_copy_dma() 261 radeon_sync_rings(rdev, &sync, ring->idx); in si_copy_dma() 280 radeon_sync_free(rdev, &sync, NULL); in si_copy_dma() 285 radeon_sync_free(rdev, &sync, fence); in si_copy_dma()
|
H A D | radeon_ib.c | 75 radeon_sync_create(&ib->sync); in radeon_ib_get() 104 radeon_sync_free(rdev, &ib->sync, ib->fence); in radeon_ib_free() 153 radeon_sync_fence(&ib->sync, vm_id_fence); in radeon_ib_schedule() 157 r = radeon_sync_rings(rdev, &ib->sync, ib->ring); in radeon_ib_schedule() 166 ib->sync.last_vm_update); in radeon_ib_schedule() 170 radeon_sync_free(rdev, &const_ib->sync, NULL); in radeon_ib_schedule()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_sync.c | 55 void amdgpu_sync_create(struct amdgpu_sync *sync) in amdgpu_sync_create() argument 57 hash_init(sync->fences); in amdgpu_sync_create() 58 sync->last_vm_update = NULL; in amdgpu_sync_create() 137 static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f, in amdgpu_sync_add_later() argument 142 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later() 165 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f, in amdgpu_sync_fence() argument 173 if (amdgpu_sync_add_later(sync, f, explicit)) in amdgpu_sync_fence() 182 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence() 196 int amdgpu_sync_vm_fence(struct amdgpu_sync *sync, struct dma_fence *fence) in amdgpu_sync_vm_fence() argument 201 amdgpu_sync_keep_later(&sync->last_vm_update, fence); in amdgpu_sync_vm_fence() [all …]
|
H A D | amdgpu_sync.h | 44 void amdgpu_sync_create(struct amdgpu_sync *sync); 45 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f, 47 int amdgpu_sync_vm_fence(struct amdgpu_sync *sync, struct dma_fence *fence); 49 struct amdgpu_sync *sync, 53 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync, 55 struct dma_fence *amdgpu_sync_get_fence(struct amdgpu_sync *sync, 58 int amdgpu_sync_wait(struct amdgpu_sync *sync, bool intr); 59 void amdgpu_sync_free(struct amdgpu_sync *sync);
|
H A D | amdgpu_amdkfd_gpuvm.c | 356 static int vm_update_pds(struct amdgpu_vm *vm, struct amdgpu_sync *sync) in vm_update_pds() argument 366 return amdgpu_sync_fence(sync, vm->last_update, false); in vm_update_pds() 586 struct amdgpu_sync *sync; /* Pointer to sync object */ member 613 ctx->sync = &mem->sync; in reserve_bo_and_vm() 664 ctx->sync = &mem->sync; in reserve_bo_and_cond_vms() 733 ret = amdgpu_sync_wait(ctx->sync, intr); in unreserve_bo_and_vms() 739 ctx->sync = NULL; in unreserve_bo_and_vms() 749 struct amdgpu_sync *sync) in unmap_bo_from_gpuvm() argument 758 amdgpu_sync_fence(sync, bo_va->last_pt_update, false); in unmap_bo_from_gpuvm() 765 struct amdgpu_sync *sync) in update_gpuvm_pte() argument [all …]
|
H A D | amdgpu_ids.c | 209 struct amdgpu_sync *sync, in amdgpu_vmid_grab_idle() argument 220 return amdgpu_sync_fence(sync, ring->vmid_wait, false); in amdgpu_vmid_grab_idle() 255 r = amdgpu_sync_fence(sync, &array->base, false); in amdgpu_vmid_grab_idle() 278 struct amdgpu_sync *sync, in amdgpu_vmid_grab_reserved() argument 286 struct dma_fence *updates = sync->last_vm_update; in amdgpu_vmid_grab_reserved() 308 r = amdgpu_sync_fence(sync, tmp, false); in amdgpu_vmid_grab_reserved() 343 struct amdgpu_sync *sync, in amdgpu_vmid_grab_used() argument 352 struct dma_fence *updates = sync->last_vm_update; in amdgpu_vmid_grab_used() 418 struct amdgpu_sync *sync, struct dma_fence *fence, in amdgpu_vmid_grab() argument 429 r = amdgpu_vmid_grab_idle(vm, ring, sync, &idle); in amdgpu_vmid_grab() [all …]
|
/netbsd-src/sys/arch/amigappc/amigappc/ |
H A D | locore.S | 121 sync 131 sync 138 sync 146 sync 149 sync 152 sync 155 sync 205 sync 208 sync 212 sync [all …]
|
/netbsd-src/external/mit/isl/dist/test_inputs/schedule/ |
H A D | nana.sc | 6 domain: { sync[0:64, 0:32]; stB[0:64, 0:64]; stC[0:64, 0:64] } 7 validity: { stC[j = 0:64, 0:64] -> sync[j, 0]; stB[j = 0:64, 0:64] -> sync[j, 0] } 8 proximity: { stC[j = 0:64, 0:64] -> sync[j, 0]; stB[j = 0:64, 0:64] -> sync[j, 0] } 9 coincidence: { stC[j = 0:64, 0:64] -> sync[j, 0]; stB[j = 0:64, 0:64] -> sync[j, 0] }
|
H A D | nana.st | 1 domain: "{ sync[i0, i1] : 0 <= i0 <= 64 and 0 <= i1 <= 32; stB[i0, i1] : 0 <= i0 <= 64 and 0 <= i1 … 3 …schedule: "[{ sync[i0, i1] -> [(i0)]; stB[i0, i1] -> [(i0)]; stC[i0, i1] -> [(i0)] }, { sync[i0, i… 13 - filter: "{ sync[i0, i1] }"
|
/netbsd-src/sys/arch/amiga/stand/bootblock/ppcboot/ |
H A D | kickstart.S | 57 sync 60 sync 93 sync 103 sync /* and wait for past instructions to finish */ 110 sync /* and wait for past instructions to finish */ 116 sync
|
/netbsd-src/external/mpl/bind/dist/bin/tests/system/smartsign/ |
H A D | tests.sh | 233 sync 241 sync 250 sync 258 sync 266 sync 274 sync 282 sync 293 sync 301 sync 309 sync [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_fd.cc | 27 FdSync *sync; member 97 if (d->sync) { in init() 98 unref(thr, pc, d->sync); in init() 99 d->sync = 0; in init() 104 d->sync = s; in init() 107 d->sync = &fdctx.globsync; in init() 162 FdSync *s = d->sync; in FdAcquire() 173 FdSync *s = d->sync; in FdRelease() 210 unref(thr, pc, d->sync); in FdClose() 211 d->sync = 0; in FdClose() [all …]
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_fd.cc | 29 FdSync *sync; member 99 if (d->sync) { in init() 100 unref(thr, pc, d->sync); in init() 101 d->sync = 0; in init() 106 d->sync = s; in init() 109 d->sync = &fdctx.globsync; in init() 164 FdSync *s = d->sync; in FdAcquire() 175 FdSync *s = d->sync; in FdRelease() 212 unref(thr, pc, d->sync); in FdClose() 213 d->sync = 0; in FdClose() [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
H A D | nouveau_dispnv50_dac507d.c | 33 u32 *push, sync = 0; in dac507d_ctrl() local 36 sync |= asyh->or.nvsync << 1; in dac507d_ctrl() 37 sync |= asyh->or.nhsync; in dac507d_ctrl() 41 evo_data(push, sync); in dac507d_ctrl()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_fd.cpp | 28 FdSync *sync; member 99 if (d->sync) { in init() 100 unref(thr, pc, d->sync); in init() 101 d->sync = 0; in init() 106 d->sync = s; in init() 109 d->sync = &fdctx.globsync; in init() 164 FdSync *s = d->sync; in FdAcquire() 175 FdSync *s = d->sync; in FdRelease() 212 unref(thr, pc, d->sync); in FdClose() 213 d->sync = 0; in FdClose() [all …]
|
H A D | tsan_rtl_thread.cpp | 25 : ThreadContextBase(tid), thr(), sync(), epoch0(), epoch1() {} in ThreadContext() 33 CHECK_EQ(sync.size(), 0); in OnReset() 137 ReleaseImpl(args->thr, 0, &sync); in OnCreated() 212 AcquireImpl(thr, 0, &sync); in OnStarted() 213 sync.Reset(&thr->proc()->clock_cache); in OnStarted() 243 ReleaseImpl(thr, 0, &sync); in OnFinished() 299 AcquireImpl(caller_thr, 0, &sync); in OnJoined() 300 sync.Reset(&caller_thr->proc()->clock_cache); in OnJoined() 303 void ThreadContext::OnDead() { CHECK_EQ(sync.size(), 0); } in OnDead() 313 sync.Reset(&thr1->proc()->clock_cache); in OnDetached()
|
/netbsd-src/sys/arch/evbppc/virtex/ |
H A D | virtex_start.S | 81 sync 87 sync 109 sync 138 sync 144 sync
|
/netbsd-src/sys/dev/ic/ |
H A D | siop_common.c | 421 int sync, offset, options, scf = 0; in siop_ppr_neg() local 433 sync = tables->msg_in[3]; in siop_ppr_neg() 447 if (offset > sc->maxoff || sync < sc->dt_minsync || in siop_ppr_neg() 448 sync > sc->dt_maxsync) { in siop_ppr_neg() 451 device_xname(sc->sc_dev), target, offset, sync); in siop_ppr_neg() 460 if (dt_scf_period[i].period == sync) { in siop_ppr_neg() 463 siop_target->period = sync; in siop_ppr_neg() 471 device_xname(sc->sc_dev), target, sync); in siop_ppr_neg() 527 int sync, maxoffset, offset, i; in siop_sdtr_neg() local 534 sync = tables->msg_in[3]; in siop_sdtr_neg() [all …]
|