Lines Matching refs:count_handles

1153 							 wait->count_handles,  in drm_syncobj_array_wait()
1163 timeline_wait->count_handles, in drm_syncobj_array_wait()
1175 uint32_t count_handles, in drm_syncobj_array_find() argument
1182 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1187 sizeof(uint32_t) * count_handles)) { in drm_syncobj_array_find()
1192 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); in drm_syncobj_array_find()
1198 for (i = 0; i < count_handles; i++) { in drm_syncobj_array_find()
1245 if (args->count_handles == 0) in drm_syncobj_wait_ioctl()
1250 args->count_handles, in drm_syncobj_wait_ioctl()
1258 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_wait_ioctl()
1279 if (args->count_handles == 0) in drm_syncobj_timeline_wait_ioctl()
1284 args->count_handles, in drm_syncobj_timeline_wait_ioctl()
1292 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_timeline_wait_ioctl()
1313 if (args->count_handles == 0) in drm_syncobj_reset_ioctl()
1318 args->count_handles, in drm_syncobj_reset_ioctl()
1323 for (i = 0; i < args->count_handles; i++) in drm_syncobj_reset_ioctl()
1326 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_reset_ioctl()
1346 if (args->count_handles == 0) in drm_syncobj_signal_ioctl()
1351 args->count_handles, in drm_syncobj_signal_ioctl()
1356 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_signal_ioctl()
1362 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_signal_ioctl()
1384 if (args->count_handles == 0) in drm_syncobj_timeline_signal_ioctl()
1389 args->count_handles, in drm_syncobj_timeline_signal_ioctl()
1394 points = kmalloc_array(args->count_handles, sizeof(*points), in drm_syncobj_timeline_signal_ioctl()
1401 memset(points, 0, args->count_handles * sizeof(uint64_t)); in drm_syncobj_timeline_signal_ioctl()
1403 sizeof(uint64_t) * args->count_handles)) { in drm_syncobj_timeline_signal_ioctl()
1408 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
1413 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_timeline_signal_ioctl()
1423 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_timeline_signal_ioctl()
1435 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_timeline_signal_ioctl()
1455 if (args->count_handles == 0) in drm_syncobj_query_ioctl()
1460 args->count_handles, in drm_syncobj_query_ioctl()
1465 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_query_ioctl()
1504 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_query_ioctl()