Lines Matching defs:count_handles

1286 							 wait->count_handles,
1296 timeline_wait->count_handles,
1308 uint32_t count_handles,
1315 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL);
1320 sizeof(uint32_t) * count_handles)) {
1325 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1331 for (i = 0; i < count_handles; i++) {
1378 if (args->count_handles == 0)
1383 args->count_handles,
1391 drm_syncobj_array_free(syncobjs, args->count_handles);
1412 if (args->count_handles == 0)
1417 args->count_handles,
1425 drm_syncobj_array_free(syncobjs, args->count_handles);
1551 if (args->count_handles == 0)
1556 args->count_handles,
1561 for (i = 0; i < args->count_handles; i++)
1564 drm_syncobj_array_free(syncobjs, args->count_handles);
1584 if (args->count_handles == 0)
1589 args->count_handles,
1594 for (i = 0; i < args->count_handles; i++) {
1600 drm_syncobj_array_free(syncobjs, args->count_handles);
1622 if (args->count_handles == 0)
1627 args->count_handles,
1632 points = kmalloc_array(args->count_handles, sizeof(*points),
1639 memset(points, 0, args->count_handles * sizeof(uint64_t));
1641 sizeof(uint64_t) * args->count_handles)) {
1646 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL);
1651 for (i = 0; i < args->count_handles; i++) {
1661 for (i = 0; i < args->count_handles; i++) {
1673 drm_syncobj_array_free(syncobjs, args->count_handles);
1693 if (args->count_handles == 0)
1698 args->count_handles,
1703 for (i = 0; i < args->count_handles; i++) {
1742 drm_syncobj_array_free(syncobjs, args->count_handles);