/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_drm.c | 407 vk_sync_is_tu_timeline_sync(const struct vk_sync *sync) in vk_sync_is_tu_timeline_sync() argument 409 return sync->type == &tu_timeline_sync_type; in vk_sync_is_tu_timeline_sync() 413 to_tu_timeline_sync(struct vk_sync *sync) in to_tu_timeline_sync() argument 415 assert(sync->type == &tu_timeline_sync_type); in to_tu_timeline_sync() 416 return container_of(sync, struct tu_timeline_sync, base); in to_tu_timeline_sync() 420 tu_syncobj_from_vk_sync(struct vk_sync *sync) in tu_syncobj_from_vk_sync() argument 423 if (vk_sync_is_tu_timeline_sync(sync)) { in tu_syncobj_from_vk_sync() 424 syncobj = to_tu_timeline_sync(sync)->syncobj; in tu_syncobj_from_vk_sync() 425 } else if (vk_sync_type_is_drm_syncobj(sync->type)) { in tu_syncobj_from_vk_sync() 426 syncobj = vk_sync_as_drm_syncobj(sync) in tu_syncobj_from_vk_sync() 440 struct tu_timeline_sync *sync = to_tu_timeline_sync(vk_sync); tu_timeline_sync_init() local 462 struct tu_timeline_sync *sync = to_tu_timeline_sync(vk_sync); tu_timeline_sync_finish() local 474 struct tu_timeline_sync *sync = to_tu_timeline_sync(vk_sync); tu_timeline_sync_reset() local 534 struct tu_timeline_sync *sync = to_tu_timeline_sync(waits[i].sync); tu_timeline_sync_wait() local 557 struct tu_timeline_sync *sync = submitted_syncs[i]; tu_timeline_sync_wait() local 578 struct tu_timeline_sync *sync = to_tu_timeline_sync(waits[i].sync); tu_timeline_sync_wait() local 1074 struct tu_timeline_sync *sync = tu_queue_submit_locked() local 1089 struct tu_timeline_sync *sync = tu_queue_submit_locked() local 1164 struct vk_sync *sync = submit->waits[i].sync; tu_queue_submit() local 1173 struct vk_sync *sync = submit->signals[i].sync; tu_queue_submit() local 1195 tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync) tu_syncobj_to_fd() argument [all...] |
H A D | tu_kgsl.c | 320 TU_FROM_HANDLE(tu_syncobj, sync, syncobjs[i]); in sync_merge() 323 if (!sync->timestamp_valid) in sync_merge() 327 ret.timestamp = sync->timestamp; in sync_merge() 329 ret.timestamp = max_ts(ret.timestamp, sync->timestamp); in sync_merge() 331 ret.timestamp = min_ts(ret.timestamp, sync->timestamp); in sync_merge() 335 sync->timestamp_valid = false; in sync_merge() 473 struct kgsl_command_syncpoint sync = { in tu_QueueSubmit2() local 485 .synclist = (uintptr_t) &sync, in tu_QueueSubmit2() 509 "Failed to create sync file for timestamp: %s\n", in tu_QueueSubmit2() 539 struct tu_syncobj *sync in sync_create() local 696 tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync) tu_syncobj_to_fd() argument [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer.h | 32 * A sync consists of a uint64_t counter. The counter can be updated by CPU 88 * Submit cs to the virtual sync queue identified by sync_queue_index. The 91 * VkQueue, the virtual sync queue is signaled. 97 * When sync_queue_cpu is true, it specifies the special CPU sync queue, 104 /* syncs to update when the virtual sync queue is signaled */ 206 struct vn_renderer_sync *sync); 209 struct vn_renderer_sync *sync, 214 struct vn_renderer_sync *sync, 219 struct vn_renderer_sync *sync, 224 struct vn_renderer_sync *sync, 423 vn_renderer_sync_destroy(struct vn_renderer *renderer, struct vn_renderer_sync *sync) vn_renderer_sync_destroy() argument 430 vn_renderer_sync_export_syncobj(struct vn_renderer *renderer, struct vn_renderer_sync *sync, bool sync_file) vn_renderer_sync_export_syncobj() argument 438 vn_renderer_sync_reset(struct vn_renderer *renderer, struct vn_renderer_sync *sync, uint64_t initial_val) vn_renderer_sync_reset() argument 446 vn_renderer_sync_read(struct vn_renderer *renderer, struct vn_renderer_sync *sync, uint64_t *val) vn_renderer_sync_read() argument 454 vn_renderer_sync_write(struct vn_renderer *renderer, struct vn_renderer_sync *sync, uint64_t val) vn_renderer_sync_write() argument [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_queue.c | 301 if ((submit->waits[i].sync->flags & VK_SYNC_IS_TIMELINE) && in vk_queue_submit_final() 306 if (vk_sync_type_is_dummy(submit->waits[i].sync->type)) { in vk_queue_submit_final() 312 submit->waits[i].sync = NULL; in vk_queue_submit_final() 321 vk_sync_as_timeline(submit->waits[i].sync); in vk_queue_submit_final() 338 submit->waits[i].sync = &submit->_wait_points[i]->sync; in vk_queue_submit_final() 343 vk_sync_as_binary(submit->waits[i].sync); in vk_queue_submit_final() 345 submit->waits[i].sync = &binary->timeline; in vk_queue_submit_final() 349 assert((submit->waits[i].sync->flags & VK_SYNC_IS_TIMELINE) || in vk_queue_submit_final() 366 assert((submit->signals[i].sync in vk_queue_submit_final() 667 struct vk_sync *sync; vk_queue_submit() local 748 struct vk_sync *sync = vk_semaphore_get_active_sync(semaphore); vk_queue_submit() local 1063 vk_queue_signal_sync(struct vk_queue *queue, struct vk_sync *sync, uint32_t signal_value) vk_queue_signal_sync() argument 1295 struct vk_sync *sync; vk_common_QueueWaitIdle() local [all...] |
H A D | vk_fence.c | 270 .sync = vk_fence_get_active_sync(fence), in vk_common_WaitForFences() 324 * differently, there can only be one OPAQUE_FD sync type. in vk_common_GetPhysicalDeviceExternalFenceProperties() 360 struct vk_sync *temporary = NULL, *sync; in vk_common_ImportFenceFdKHR() local 370 sync = temporary; in vk_common_ImportFenceFdKHR() 372 sync = &fence->permanent; in vk_common_ImportFenceFdKHR() 374 assert(handle_type & vk_sync_fence_handle_types(sync->type)); in vk_common_ImportFenceFdKHR() 379 result = vk_sync_import_opaque_fd(device, sync, fd); in vk_common_ImportFenceFdKHR() 383 result = vk_sync_import_sync_file(device, sync, fd); in vk_common_ImportFenceFdKHR() 426 struct vk_sync *sync = vk_fence_get_active_sync(fence); in vk_common_GetFenceFdKHR() local 431 result = vk_sync_export_opaque_fd(device, sync, pF in vk_common_GetFenceFdKHR() [all...] |
H A D | vk_semaphore.c | 257 * differently, there can only be one OPAQUE_FD sync type. in vk_common_GetPhysicalDeviceExternalSemaphoreProperties() 288 struct vk_sync *sync = vk_semaphore_get_active_sync(semaphore); in vk_common_GetSemaphoreCounterValue() local 289 return vk_sync_get_value(device, sync, pValue); in vk_common_GetSemaphoreCounterValue() 315 .sync = vk_semaphore_get_active_sync(semaphore), in vk_common_WaitSemaphores() 343 struct vk_sync *sync = vk_semaphore_get_active_sync(semaphore); in vk_common_SignalSemaphore() local 370 result = vk_sync_signal(device, sync, pSignalInfo->value); in vk_common_SignalSemaphore() 399 struct vk_sync *temporary = NULL, *sync; in vk_common_ImportSemaphoreFdKHR() local 424 sync = temporary; in vk_common_ImportSemaphoreFdKHR() 426 sync = &semaphore->permanent; in vk_common_ImportSemaphoreFdKHR() 429 vk_sync_semaphore_handle_types(sync in vk_common_ImportSemaphoreFdKHR() 486 struct vk_sync *sync = vk_semaphore_get_active_sync(semaphore); vk_common_GetSemaphoreFdKHR() local [all...] |
H A D | vk_drm_syncobj.h | 40 struct vk_sync *sync); 49 vk_sync_as_drm_syncobj(struct vk_sync *sync) in vk_sync_as_drm_syncobj() argument 51 if (!vk_sync_type_is_drm_syncobj(sync->type)) in vk_sync_as_drm_syncobj() 54 return container_of(sync, struct vk_drm_syncobj, base); in vk_sync_as_drm_syncobj()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rv770_dma.c | 36 * @resv: reservation object to sync to 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | rv770_dma.c | 36 * @resv: reservation object to sync to 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()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_queue.c | 290 struct vk_sync *sync; in pvr_process_compute_cmd() local 297 &sync); in pvr_process_compute_cmd() 307 sync); in pvr_process_compute_cmd() 309 vk_sync_destroy(&device->vk, sync); in pvr_process_compute_cmd() 317 completions[PVR_JOB_TYPE_COMPUTE] = sync; in pvr_process_compute_cmd() 331 struct vk_sync *sync; in pvr_process_transfer_cmds() local 338 &sync); in pvr_process_transfer_cmds() 349 sync); in pvr_process_transfer_cmds() 351 vk_sync_destroy(&device->vk, sync); in pvr_process_transfer_cmds() 359 completions[PVR_JOB_TYPE_TRANSFER] = sync; in pvr_process_transfer_cmds() 370 struct vk_sync *sync; pvr_set_semaphore_payloads() local 429 struct vk_sync *sync; pvr_set_fence_payload() local 609 struct vk_sync *sync = vk_semaphore_get_active_sync(semaphore); pvr_QueueSubmit() local [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | node_cb.c | 49 bool sync = desc[i].sync; in hmdfs_node_add_evt_cb() local 54 list_add_tail(&desc[i].list, &cb_head[evt][sync]); in hmdfs_node_add_evt_cb() 58 void hmdfs_node_call_evt_cb(struct hmdfs_peer *conn, int evt, bool sync, in hmdfs_node_call_evt_cb() argument 65 sync ? "sync" : "async", seq); in hmdfs_node_call_evt_cb() 70 list_for_each_entry(desc, &cb_head[evt][sync], list) { in hmdfs_node_call_evt_cb()
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | node_cb.c | 49 bool sync = desc[i].sync; in hmdfs_node_add_evt_cb() local 54 list_add_tail(&desc[i].list, &cb_head[evt][sync]); in hmdfs_node_add_evt_cb() 58 void hmdfs_node_call_evt_cb(struct hmdfs_peer *conn, int evt, bool sync, in hmdfs_node_call_evt_cb() argument 65 sync ? "sync" : "async", seq); in hmdfs_node_call_evt_cb() 70 list_for_each_entry(desc, &cb_head[evt][sync], list) { in hmdfs_node_call_evt_cb()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sched.c | 40 job->sync = args->sync; in nouveau_job_init() 47 if (job->sync) in nouveau_job_init() 60 if (job->sync) { in nouveau_job_init() 129 struct drm_nouveau_sync *sync, in sync_find_fence() 132 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in sync_find_fence() 141 point = sync->timeline_value; in sync_find_fence() 144 sync->handle, point, in sync_find_fence() 159 struct drm_nouveau_sync *sync = &job->in_sync.data[i]; in nouveau_job_add_deps() local 161 ret = sync_find_fence(job, sync, in nouveau_job_add_deps() 128 sync_find_fence(struct nouveau_job *job, struct drm_nouveau_sync *sync, struct dma_fence **fence) sync_find_fence() argument 200 struct drm_nouveau_sync *sync = &job->out_sync.data[i]; nouveau_job_fence_attach_prepare() local 243 struct drm_nouveau_sync *sync = &job->out_sync.data[i]; nouveau_job_fence_attach() local [all...] |
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv_sync.h | 47 void pvr_srv_sync_finish(struct vk_device *device, struct vk_sync *sync); 55 static inline struct pvr_srv_sync *to_srv_sync(struct vk_sync *sync) in to_srv_sync() argument 57 assert(!sync || pvr_sync_type_is_srv_sync(sync->type)); in to_srv_sync() 58 return container_of(sync, struct pvr_srv_sync, base); in to_srv_sync()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 30 sync; \ 97 sync; isync; 99 sync; isync; 114 sync 118 sync 123 sync 136 sync 147 sync 157 sync 160 sync [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 32 sync; \ 99 sync; isync; 101 sync; isync; 116 sync 120 sync 125 sync 138 sync 149 sync 159 sync 162 sync [all...] |
/third_party/node/benchmark/streams/ |
H A D | writable-manywrites.js | 8 sync: ['yes', 'no'], 14 function main({ n, sync, writev, callback, len }) { 17 sync = sync === 'yes'; 20 if (sync)
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLSemaphore.h | 24 GrGLsync sync, in MakeWrapped() 28 sema->setSync(sync); in MakeWrapped() 34 GrGLsync sync() const { return fSync; } in sync() function in GrGLSemaphore 35 void setSync(const GrGLsync& sync) { fSync = sync; } in setSync() argument 23 MakeWrapped(GrGLGpu* gpu, GrGLsync sync, GrWrapOwnership ownership) MakeWrapped() argument
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | compaction.h | 108 unsigned long free_pfn, unsigned long zone_end, bool sync), 110 TP_ARGS(zone_start, migrate_pfn, free_pfn, zone_end, sync), 117 __field(bool, sync) 125 __entry->sync = sync; 133 __entry->sync ? "sync" : "async") 138 unsigned long free_pfn, unsigned long zone_end, bool sync, 141 TP_ARGS(zone_start, migrate_pfn, free_pfn, zone_end, sync, status), 148 __field(bool, sync) [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | compaction.h | 103 unsigned long zone_end, bool sync), 105 TP_ARGS(cc, zone_start, zone_end, sync), 112 __field(bool, sync) 120 __entry->sync = sync; 128 __entry->sync ? "sync" : "async") 133 unsigned long zone_end, bool sync, 136 TP_ARGS(cc, zone_start, zone_end, sync, status), 143 __field(bool, sync) [all...] |
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deSpinBarrier.cpp | 76 void SpinBarrier::sync (WaitMode requestedMode) in sync() function in de::SpinBarrier 147 // See sync() - use cached value in removeThread() 167 barrier.sync(mode); in singleThreadTest() 168 barrier.sync(mode); in singleThreadTest() 169 barrier.sync(mode); in singleThreadTest() 195 m_barrier.sync(getWaitMode(rnd)); in run() 199 m_barrier.sync(getWaitMode(rnd)); in run() 205 m_barrier.sync(getWaitMode(rnd)); in run() 209 m_barrier.sync(getWaitMode(rnd)); in run() 262 barrier.sync(mod in singleThreadRemoveTest() [all...] |
/third_party/ltp/testscripts/ |
H A D | ltp-aiodio.sh | 227 dd if=$file1 of=$TMP/aiodio/junkfile bs=8192 conv=block,sync 238 sync 249 sync 252 dd if=$file1 of=$TMP/aiodio/junkfile bs=8192 conv=block,sync 253 dd if=$file1 of=$TMP/aiodio/fff bs=4096 conv=block,sync 254 dd if=$file1 of=$TMP/aiodio/ff1 bs=2048 conv=block,sync 255 dd if=$file1 of=$TMP/aiodio/ff2 bs=1024 conv=block,sync 256 dd if=$file1 of=$TMP/aiodio/ff3 bs=512 conv=block,sync 264 sync 274 sync [all...] |
/third_party/rust/crates/serde/serde/src/ |
H A D | lib.rs | 220 pub use alloc::sync::{Arc, Weak as ArcWeak}; 222 pub use std::sync::{Arc, Weak as ArcWeak}; 253 pub use std::sync::{Mutex, RwLock}; 258 pub use std::sync::atomic::{ 263 pub use std::sync::atomic::{AtomicI64, AtomicU64}; 266 pub use std::sync::atomic::Ordering; 268 pub use std::sync::atomic::{AtomicBool, AtomicI8, AtomicU8}; 270 pub use std::sync::atomic::{AtomicI16, AtomicU16}; 272 pub use std::sync::atomic::{AtomicI32, AtomicU32}; 274 pub use std::sync [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | synch.h | 47 sync; \ 50 # define LWSYNC sync 60 #define PPC_ATOMIC_ENTRY_BARRIER "\n" stringify_in_c(sync) "\n" 61 #define PPC_ATOMIC_EXIT_BARRIER "\n" stringify_in_c(sync) "\n"
|