Lines Matching refs:syncobj
942 static int __syncobj_export(int fd, uint32_t handle, int *syncobj) in __syncobj_export() argument
960 *syncobj = arg.fd; in __syncobj_export()
966 int syncobj; in syncobj_export() local
968 igt_assert_eq(__syncobj_export(fd, handle, &syncobj), 0); in syncobj_export()
970 return syncobj; in syncobj_export()
973 static int __syncobj_import(int fd, int syncobj, uint32_t *handle) in __syncobj_import() argument
985 arg.fd = syncobj; in __syncobj_import()
996 static uint32_t syncobj_import(int fd, int syncobj) in syncobj_import() argument
1000 igt_assert_eq(__syncobj_import(fd, syncobj, &handle), 0); in syncobj_import()
1395 int syncobj[3]; in test_syncobj_channel() local
1414 for (int i = 0; i < ARRAY_SIZE(syncobj); i++) { in test_syncobj_channel()
1427 syncobj[i] = fence.handle; in test_syncobj_channel()
1439 fence[0].handle = syncobj[0]; in test_syncobj_channel()
1442 fence[1].handle = syncobj[1]; in test_syncobj_channel()
1445 fence[2].handle = syncobj[2]; in test_syncobj_channel()
1464 fence[0].handle = syncobj[0]; in test_syncobj_channel()
1467 fence[1].handle = syncobj[1]; in test_syncobj_channel()
1470 fence[2].handle = syncobj[2]; in test_syncobj_channel()
1488 fence.handle = syncobj[2]; in test_syncobj_channel()
1510 for (int i = 0; i < ARRAY_SIZE(syncobj); i++) in test_syncobj_channel()
1511 syncobj_destroy(fd, syncobj[i]); in test_syncobj_channel()