Lines Matching refs:count_handles
1132 wait->count_handles,
1142 timeline_wait->count_handles,
1154 uint32_t count_handles,
1161 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL);
1166 sizeof(uint32_t) * count_handles)) {
1171 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1177 for (i = 0; i < count_handles; i++) {
1224 if (args->count_handles == 0)
1229 args->count_handles,
1237 drm_syncobj_array_free(syncobjs, args->count_handles);
1258 if (args->count_handles == 0)
1263 args->count_handles,
1271 drm_syncobj_array_free(syncobjs, args->count_handles);
1292 if (args->count_handles == 0)
1297 args->count_handles,
1302 for (i = 0; i < args->count_handles; i++)
1305 drm_syncobj_array_free(syncobjs, args->count_handles);
1325 if (args->count_handles == 0)
1330 args->count_handles,
1335 for (i = 0; i < args->count_handles; i++)
1338 drm_syncobj_array_free(syncobjs, args->count_handles);
1360 if (args->count_handles == 0)
1365 args->count_handles,
1370 points = kmalloc_array(args->count_handles, sizeof(*points),
1377 memset(points, 0, args->count_handles * sizeof(uint64_t));
1379 sizeof(uint64_t) * args->count_handles)) {
1384 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL);
1389 for (i = 0; i < args->count_handles; i++) {
1399 for (i = 0; i < args->count_handles; i++) {
1411 drm_syncobj_array_free(syncobjs, args->count_handles);
1431 if (args->count_handles == 0)
1436 args->count_handles,
1441 for (i = 0; i < args->count_handles; i++) {
1480 drm_syncobj_array_free(syncobjs, args->count_handles);