Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
dev-ioctl.c File Reference
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/miscdevice.h>
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/namei.h>
#include <linux/fcntl.h>
#include <linux/file.h>
#include <linux/fdtable.h>
#include <linux/sched.h>
#include <linux/compat.h>
#include <linux/syscalls.h>
#include <linux/magic.h>
#include <linux/dcache.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include "autofs_i.h"

Go to the source code of this file.

Macros

#define AUTOFS_DEV_IOCTL_SIZE   sizeof(struct autofs_dev_ioctl)
 
#define cmd_idx(cmd)   (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST))
 
#define autofs_dev_ioctl_compat   NULL
 

Typedefs

typedef int(* ioctl_fn )(struct file *, struct autofs_sb_info *, struct autofs_dev_ioctl *)
 

Functions

 MODULE_ALIAS_MISCDEV (AUTOFS_MINOR)
 
 MODULE_ALIAS ("devname:autofs")
 
int autofs_dev_ioctl_init (void)
 
void autofs_dev_ioctl_exit (void)
 

Macro Definition Documentation

#define autofs_dev_ioctl_compat   NULL

Definition at line 710 of file dev-ioctl.c.

#define AUTOFS_DEV_IOCTL_SIZE   sizeof(struct autofs_dev_ioctl)

Definition at line 41 of file dev-ioctl.c.

#define cmd_idx (   cmd)    (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST))

Definition at line 560 of file dev-ioctl.c.

Typedef Documentation

typedef int(* ioctl_fn)(struct file *, struct autofs_sb_info *, struct autofs_dev_ioctl *)

Definition at line 43 of file dev-ioctl.c.

Function Documentation

void autofs_dev_ioctl_exit ( void  )

Definition at line 743 of file dev-ioctl.c.

int autofs_dev_ioctl_init ( void  )

Definition at line 730 of file dev-ioctl.c.

MODULE_ALIAS ( "devname:autofs"  )
MODULE_ALIAS_MISCDEV ( AUTOFS_MINOR  )