Searched refs:nobjects (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Ddrmmode_display.c3056 size_t nobjects; local in function:drmmode_create_lease
3061 nobjects = ncrtc + noutput;
3062 if (nobjects == 0 || nobjects > (SIZE_MAX / 4) ||
3070 objects = malloc(nobjects * 4);
3095 assert (i == nobjects);
3097 lease_fd = drmModeCreateLease(pAMDGPUEnt->fd, objects, nobjects, 0,
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Ddrmmode_display.c2589 size_t nobjects; local in function:drmmode_create_lease
2594 nobjects = ncrtc + noutput;
2595 if (nobjects == 0 || nobjects > (SIZE_MAX / 4) ||
2603 objects = malloc(nobjects * 4);
2628 assert (i == nobjects);
2630 lease_fd = drmModeCreateLease(pRADEONEnt->fd, objects, nobjects, 0,
/xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
H A Ddrmmode_display.c3582 int nobjects; local in function:drmmode_create_lease
3589 nobjects = ncrtc + noutput;
3592 nobjects += ncrtc; /* account for planes as well */
3594 if (nobjects == 0)
3601 objects = xallocarray(nobjects, sizeof (uint32_t));
3630 assert (i == nobjects);
3632 lease_fd = drmModeCreateLease(drmmode->fd, objects, nobjects, 0, &lease_private->lessee_id);

Completed in 16 milliseconds