Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
tty_mutex.c File Reference
#include <linux/tty.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/semaphore.h>
#include <linux/sched.h>

Go to the source code of this file.

Enumerations

enum  { TTY_MUTEX_NORMAL, TTY_MUTEX_NESTED }
 

Functions

void __lockfunc tty_lock (struct tty_struct *tty)
 
 EXPORT_SYMBOL (tty_lock)
 
void __lockfunc tty_unlock (struct tty_struct *tty)
 
 EXPORT_SYMBOL (tty_unlock)
 
void __lockfunc tty_lock_pair (struct tty_struct *tty, struct tty_struct *tty2)
 
 EXPORT_SYMBOL (tty_lock_pair)
 
void __lockfunc tty_unlock_pair (struct tty_struct *tty, struct tty_struct *tty2)
 
 EXPORT_SYMBOL (tty_unlock_pair)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
TTY_MUTEX_NORMAL 
TTY_MUTEX_NESTED 

Definition at line 9 of file tty_mutex.c.

Function Documentation

EXPORT_SYMBOL ( tty_lock  )
EXPORT_SYMBOL ( tty_unlock  )
EXPORT_SYMBOL ( tty_lock_pair  )
EXPORT_SYMBOL ( tty_unlock_pair  )
void __lockfunc tty_lock ( struct tty_struct tty)

Definition at line 30 of file tty_mutex.c.

void __lockfunc tty_lock_pair ( struct tty_struct tty,
struct tty_struct tty2 
)

Definition at line 52 of file tty_mutex.c.

void __lockfunc tty_unlock ( struct tty_struct tty)

Definition at line 36 of file tty_mutex.c.

void __lockfunc tty_unlock_pair ( struct tty_struct tty,
struct tty_struct tty2 
)

Definition at line 66 of file tty_mutex.c.