Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
cdev.c File Reference
#include <linux/module.h>
#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/ioctl.h>
#include <linux/capability.h>
#include <linux/uaccess.h>
#include <linux/compat.h>
#include <linux/math64.h>
#include <mtd/ubi-user.h>
#include "ubi.h"

Go to the source code of this file.

Macros

#define vol_cdev_compat_ioctl   NULL
 
#define ubi_cdev_compat_ioctl   NULL
 
#define ctrl_cdev_compat_ioctl   NULL
 

Variables

struct file_operations ubi_vol_cdev_operations
 
struct file_operations ubi_cdev_operations
 
struct file_operations ubi_ctrl_cdev_operations
 

Macro Definition Documentation

#define ctrl_cdev_compat_ioctl   NULL

Definition at line 1079 of file cdev.c.

#define ubi_cdev_compat_ioctl   NULL

Definition at line 1078 of file cdev.c.

#define vol_cdev_compat_ioctl   NULL

Definition at line 1077 of file cdev.c.

Variable Documentation

struct file_operations ubi_cdev_operations
Initial value:
= {
.owner = THIS_MODULE,
.llseek = no_llseek,
.unlocked_ioctl = ubi_cdev_ioctl,
.compat_ioctl = ubi_cdev_compat_ioctl,
}

Definition at line 1096 of file cdev.c.

struct file_operations ubi_ctrl_cdev_operations
Initial value:
= {
.owner = THIS_MODULE,
.unlocked_ioctl = ctrl_cdev_ioctl,
.compat_ioctl = ctrl_cdev_compat_ioctl,
.llseek = no_llseek,
}

Definition at line 1104 of file cdev.c.

struct file_operations ubi_vol_cdev_operations
Initial value:
= {
.owner = THIS_MODULE,
.open = vol_cdev_open,
.release = vol_cdev_release,
.llseek = vol_cdev_llseek,
.read = vol_cdev_read,
.write = vol_cdev_write,
.fsync = vol_cdev_fsync,
.unlocked_ioctl = vol_cdev_ioctl,
.compat_ioctl = vol_cdev_compat_ioctl,
}

Definition at line 1083 of file cdev.c.