drm_ioctl.c revision 1450
749N/A * drm_ioctl.h -- IOCTL processing for DRM -*- linux-c -*-
749N/A#include "drm_io32.h"
#ifdef _MULTI_DATAMODEL
return (EFAULT);
return (EFAULT);
#ifdef _MULTI_DATAMODEL
return (EINVAL);
DRM_LOCK();
DRM_UNLOCK();
return (EBUSY);
DRM_UNLOCK();
return (ENOMEM);
DRM_UNLOCK();
int idx;
#ifdef _MULTI_DATAMODEL
DRM_LOCK();
if (idx < 0) {
DRM_UNLOCK();
return (EINVAL);
if (i == idx) {
DRM_UNLOCK();
return (EINVAL);
#ifdef _MULTI_DATAMODEL
int idx;
#ifdef _MULTI_DATAMODEL
sizeof (client32));
sizeof (client));
DRM_LOCK();
if (i == idx) {
DRM_UNLOCK();
#ifdef _MULTI_DATAMODEL
sizeof (client32));
DRM_UNLOCK();
return (EINVAL);
DRM_LOCK();
DRM_UNLOCK();
#ifdef _MULTI_DATAMODEL
sizeof (stats32));
int if_version;
return (EINVAL);
return (EINVAL);
#ifdef _MULTI_DATAMODEL
sizeof (version));
return (EFAULT); \
#ifdef _MULTI_DATAMODEL
sizeof (drm_version_32_t));
sizeof (version));