Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
nouveau_ioc32.c File Reference
#include <linux/compat.h>
#include <drm/drmP.h>
#include "nouveau_ioctl.h"

Go to the source code of this file.

Functions

long nouveau_compat_ioctl (struct file *filp, unsigned int cmd, unsigned long arg)
 

Function Documentation

long nouveau_compat_ioctl ( struct file filp,
unsigned int  cmd,
unsigned long  arg 
)

Called whenever a 32-bit process running under a 64-bit kernel performs an ioctl on /dev/dri/card<n>.

Parameters
filpfile pointer.
cmdcommand.
arguser argument.
Returns
zero on success or negative number on failure.

Definition at line 49 of file nouveau_ioc32.c.