Lines Matching defs:count_handles

1285 							 wait->count_handles,
1295 timeline_wait->count_handles,
1307 uint32_t count_handles,
1314 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL);
1319 sizeof(uint32_t) * count_handles)) {
1324 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1330 for (i = 0; i < count_handles; i++) {
1376 if (args->count_handles == 0)
1381 args->count_handles,
1389 drm_syncobj_array_free(syncobjs, args->count_handles);
1410 if (args->count_handles == 0)
1415 args->count_handles,
1423 drm_syncobj_array_free(syncobjs, args->count_handles);
1444 if (args->count_handles == 0)
1449 args->count_handles,
1454 for (i = 0; i < args->count_handles; i++)
1457 drm_syncobj_array_free(syncobjs, args->count_handles);
1477 if (args->count_handles == 0)
1482 args->count_handles,
1487 for (i = 0; i < args->count_handles; i++)
1490 drm_syncobj_array_free(syncobjs, args->count_handles);
1512 if (args->count_handles == 0)
1517 args->count_handles,
1522 points = kmalloc_array(args->count_handles, sizeof(*points),
1529 memset(points, 0, args->count_handles * sizeof(uint64_t));
1531 sizeof(uint64_t) * args->count_handles)) {
1536 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL);
1541 for (i = 0; i < args->count_handles; i++) {
1551 for (i = 0; i < args->count_handles; i++) {
1563 drm_syncobj_array_free(syncobjs, args->count_handles);
1583 if (args->count_handles == 0)
1588 args->count_handles,
1593 for (i = 0; i < args->count_handles; i++) {
1632 drm_syncobj_array_free(syncobjs, args->count_handles);