Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ioctl.c File Reference
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/net.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/atmclip.h>
#include <linux/atmarp.h>
#include <linux/capability.h>
#include <linux/sonet.h>
#include <linux/atmsvc.h>
#include <linux/atmmpc.h>
#include <net/atmclip.h>
#include <linux/atmlec.h>
#include <linux/mutex.h>
#include <asm/ioctls.h>
#include <net/compat.h>
#include "resources.h"
#include "signaling.h"
#include "common.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s: " fmt, __func__
 

Functions

void register_atm_ioctl (struct atm_ioctl *ioctl)
 
 EXPORT_SYMBOL (register_atm_ioctl)
 
void deregister_atm_ioctl (struct atm_ioctl *ioctl)
 
 EXPORT_SYMBOL (deregister_atm_ioctl)
 
int vcc_ioctl (struct socket *sock, unsigned int cmd, unsigned long arg)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ":%s: " fmt, __func__

Definition at line 6 of file ioctl.c.

Function Documentation

void deregister_atm_ioctl ( struct atm_ioctl )

deregister_atm_ioctl - remove the ioctl handler

Definition at line 42 of file ioctl.c.

EXPORT_SYMBOL ( register_atm_ioctl  )
EXPORT_SYMBOL ( deregister_atm_ioctl  )
void register_atm_ioctl ( struct atm_ioctl )

register_atm_ioctl - register handler for ioctl operations

Special (non-device) handlers of ioctl's should register here. If you're a normal device, you should set .ioctl in your atmdev_ops instead.

Definition at line 34 of file ioctl.c.

int vcc_ioctl ( struct socket sock,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 186 of file ioctl.c.