Lines Matching refs:count_handles
1241 wait->count_handles, in drm_syncobj_array_wait()
1252 timeline_wait->count_handles, in drm_syncobj_array_wait()
1265 uint32_t count_handles, in drm_syncobj_array_find() argument
1272 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1277 sizeof(uint32_t) * count_handles)) { in drm_syncobj_array_find()
1282 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); in drm_syncobj_array_find()
1288 for (i = 0; i < count_handles; i++) { in drm_syncobj_array_find()
1340 if (args->count_handles == 0) in drm_syncobj_wait_ioctl()
1345 args->count_handles, in drm_syncobj_wait_ioctl()
1358 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_wait_ioctl()
1384 if (args->count_handles == 0) in drm_syncobj_timeline_wait_ioctl()
1389 args->count_handles, in drm_syncobj_timeline_wait_ioctl()
1402 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_timeline_wait_ioctl()
1525 if (args->count_handles == 0) in drm_syncobj_reset_ioctl()
1530 args->count_handles, in drm_syncobj_reset_ioctl()
1535 for (i = 0; i < args->count_handles; i++) in drm_syncobj_reset_ioctl()
1538 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_reset_ioctl()
1558 if (args->count_handles == 0) in drm_syncobj_signal_ioctl()
1563 args->count_handles, in drm_syncobj_signal_ioctl()
1568 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_signal_ioctl()
1574 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_signal_ioctl()
1596 if (args->count_handles == 0) in drm_syncobj_timeline_signal_ioctl()
1601 args->count_handles, in drm_syncobj_timeline_signal_ioctl()
1606 points = kmalloc_array(args->count_handles, sizeof(*points), in drm_syncobj_timeline_signal_ioctl()
1613 memset(points, 0, args->count_handles * sizeof(uint64_t)); in drm_syncobj_timeline_signal_ioctl()
1615 sizeof(uint64_t) * args->count_handles)) { in drm_syncobj_timeline_signal_ioctl()
1620 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
1625 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_timeline_signal_ioctl()
1635 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_timeline_signal_ioctl()
1647 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_timeline_signal_ioctl()
1667 if (args->count_handles == 0) in drm_syncobj_query_ioctl()
1672 args->count_handles, in drm_syncobj_query_ioctl()
1677 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_query_ioctl()
1716 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_query_ioctl()