Lines Matching refs:sync
36 to_vk_sync_timeline(struct vk_sync *sync)
38 assert(sync->type->init == vk_sync_timeline_init);
40 return container_of(sync, struct vk_sync_timeline, sync);
58 struct vk_sync *sync,
61 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync);
65 container_of(timeline->sync.type, struct vk_sync_timeline_type, sync);
88 struct vk_sync *sync)
90 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync);
95 vk_sync_finish(device, &point->sync);
101 vk_sync_finish(device, &point->sync);
142 container_of(timeline->sync.type, struct vk_sync_timeline_type, sync);
145 size_t size = offsetof(struct vk_sync_timeline_point, sync) +
155 result = vk_sync_init(device, &point->sync, point_sync_type,
165 if (point->sync.type->reset) {
166 result = vk_sync_reset(device, &point->sync);
274 VkResult result = vk_sync_wait(device, &point->sync, 0,
393 struct vk_sync *sync,
396 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync);
407 struct vk_sync *sync,
410 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync);
485 result = vk_sync_wait(device, &point->sync, 0,
505 struct vk_sync *sync,
510 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync);
525 .sync = {