Lines Matching refs:count_handles
1058 wait->count_handles, in drm_syncobj_array_wait()
1068 timeline_wait->count_handles, in drm_syncobj_array_wait()
1080 uint32_t count_handles, in drm_syncobj_array_find() argument
1087 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1092 sizeof(uint32_t) * count_handles)) { in drm_syncobj_array_find()
1097 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); in drm_syncobj_array_find()
1103 for (i = 0; i < count_handles; i++) { in drm_syncobj_array_find()
1149 if (args->count_handles == 0) in drm_syncobj_wait_ioctl()
1154 args->count_handles, in drm_syncobj_wait_ioctl()
1162 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_wait_ioctl()
1183 if (args->count_handles == 0) in drm_syncobj_timeline_wait_ioctl()
1188 args->count_handles, in drm_syncobj_timeline_wait_ioctl()
1196 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_timeline_wait_ioctl()
1217 if (args->count_handles == 0) in drm_syncobj_reset_ioctl()
1222 args->count_handles, in drm_syncobj_reset_ioctl()
1227 for (i = 0; i < args->count_handles; i++) in drm_syncobj_reset_ioctl()
1230 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_reset_ioctl()
1250 if (args->count_handles == 0) in drm_syncobj_signal_ioctl()
1255 args->count_handles, in drm_syncobj_signal_ioctl()
1260 for (i = 0; i < args->count_handles; i++) in drm_syncobj_signal_ioctl()
1263 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_signal_ioctl()
1285 if (args->count_handles == 0) in drm_syncobj_timeline_signal_ioctl()
1290 args->count_handles, in drm_syncobj_timeline_signal_ioctl()
1295 points = kmalloc_array(args->count_handles, sizeof(*points), in drm_syncobj_timeline_signal_ioctl()
1302 memset(points, 0, args->count_handles * sizeof(uint64_t)); in drm_syncobj_timeline_signal_ioctl()
1304 sizeof(uint64_t) * args->count_handles)) { in drm_syncobj_timeline_signal_ioctl()
1309 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
1314 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_timeline_signal_ioctl()
1324 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_timeline_signal_ioctl()
1336 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_timeline_signal_ioctl()
1356 if (args->count_handles == 0) in drm_syncobj_query_ioctl()
1361 args->count_handles, in drm_syncobj_query_ioctl()
1366 for (i = 0; i < args->count_handles; i++) { in drm_syncobj_query_ioctl()
1398 drm_syncobj_array_free(syncobjs, args->count_handles); in drm_syncobj_query_ioctl()