Lines Matching refs:ioctl
219 * ioctl, and release it via DRM_IOCTL_UNLOCK after finishing
322 drm_ioctl_desc_t *ioctl;
367 ioctl = &drm_ioctls[nr];
370 /* It's not a core DRM ioctl, try driver-specific. */
371 if (ioctl->func == NULL && nr >= DRM_COMMAND_BASE) {
372 /* The array entries begin at DRM_COMMAND_BASE ioctl nr */
375 DRM_ERROR("Bad driver ioctl number, 0x%x (of 0x%x)",
379 ioctl = &dp->driver->driver_ioctls[nr];
382 func = ioctl->func;
395 if (((ioctl->flags & DRM_ROOT_ONLY) && !DRM_SUSER(credp)) ||
396 ((ioctl->flags & DRM_AUTH) && !fpriv->authenticated) ||
397 ((ioctl->flags & DRM_MASTER) && !fpriv->master))