Lines Matching refs:count_handles
1220 wait->count_handles,
1230 timeline_wait->count_handles,
1242 uint32_t count_handles,
1249 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL);
1254 sizeof(uint32_t) * count_handles)) {
1259 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1265 for (i = 0; i < count_handles; i++) {
1312 if (args->count_handles == 0)
1317 args->count_handles,
1325 drm_syncobj_array_free(syncobjs, args->count_handles);
1346 if (args->count_handles == 0)
1351 args->count_handles,
1359 drm_syncobj_array_free(syncobjs, args->count_handles);
1473 if (args->count_handles == 0)
1478 args->count_handles,
1483 for (i = 0; i < args->count_handles; i++)
1486 drm_syncobj_array_free(syncobjs, args->count_handles);
1506 if (args->count_handles == 0)
1511 args->count_handles,
1516 for (i = 0; i < args->count_handles; i++) {
1522 drm_syncobj_array_free(syncobjs, args->count_handles);
1544 if (args->count_handles == 0)
1549 args->count_handles,
1554 points = kmalloc_array(args->count_handles, sizeof(*points),
1561 memset(points, 0, args->count_handles * sizeof(uint64_t));
1563 sizeof(uint64_t) * args->count_handles)) {
1568 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL);
1573 for (i = 0; i < args->count_handles; i++) {
1583 for (i = 0; i < args->count_handles; i++) {
1595 drm_syncobj_array_free(syncobjs, args->count_handles);
1615 if (args->count_handles == 0)
1620 args->count_handles,
1625 for (i = 0; i < args->count_handles; i++) {
1664 drm_syncobj_array_free(syncobjs, args->count_handles);