Lines Matching defs:sync
29 to_vk_sync_binary(struct vk_sync *sync)
31 assert(sync->type->init == vk_sync_binary_init);
33 return container_of(sync, struct vk_sync_binary, sync);
38 struct vk_sync *sync,
41 struct vk_sync_binary *binary = to_vk_sync_binary(sync);
44 container_of(binary->sync.type, struct vk_sync_binary_type, sync);
46 assert(!(sync->flags & VK_SYNC_IS_TIMELINE));
47 assert(!(sync->flags & VK_SYNC_IS_SHAREABLE));
57 struct vk_sync *sync)
59 struct vk_sync_binary *binary = to_vk_sync_binary(sync);
66 struct vk_sync *sync)
68 struct vk_sync_binary *binary = to_vk_sync_binary(sync);
77 struct vk_sync *sync,
80 struct vk_sync_binary *binary = to_vk_sync_binary(sync);
97 struct vk_sync_binary *binary = to_vk_sync_binary(waits[i].sync);
100 .sync = &binary->timeline,
120 .sync = {