Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
tty_struct Struct Reference

#include <tty.h>

Data Fields

int magic
 
struct kref kref
 
struct devicedev
 
struct tty_driverdriver
 
struct tty_operationsops
 
int index
 
struct mutex ldisc_mutex
 
struct tty_ldiscldisc
 
struct mutex legacy_mutex
 
struct mutex termios_mutex
 
spinlock_t ctrl_lock
 
struct ktermios termios termios_locked
 
struct termioxtermiox
 
char name [64]
 
struct pidpgrp
 
struct pidsession
 
unsigned long flags
 
int count
 
struct winsize winsize
 
unsigned char stopped:1
 
unsigned char hw_stopped:1
 
unsigned char flow_stopped:1
 
unsigned char packet:1
 
unsigned char low_latency:1
 
unsigned char warned:1
 
unsigned char ctrl_status
 
unsigned int receive_room
 
struct tty_structlink
 
struct fasync_structfasync
 
struct tty_bufhead buf
 
int alt_speed
 
wait_queue_head_t write_wait
 
wait_queue_head_t read_wait
 
struct work_struct hangup_work
 
voiddisc_data
 
voiddriver_data
 
struct list_head tty_files
 
unsigned int column
 
unsigned char lnext:1
 
unsigned char erasing:1
 
unsigned char raw:1
 
unsigned char real_raw:1
 
unsigned char icanon:1
 
unsigned char closing:1
 
unsigned char echo_overrun:1
 
unsigned short minimum_to_wake
 
unsigned long overrun_time
 
int num_overrun
 
unsigned long process_char_map [256/(8 *sizeof(unsigned long))]
 
charread_buf
 
int read_head
 
int read_tail
 
int read_cnt
 
unsigned long read_flags [N_TTY_BUF_SIZE/(8 *sizeof(unsigned long))]
 
unsigned charecho_buf
 
unsigned int echo_pos
 
unsigned int echo_cnt
 
int canon_data
 
unsigned long canon_head
 
unsigned int canon_column
 
struct mutex atomic_read_lock
 
struct mutex atomic_write_lock
 
struct mutex output_lock
 
struct mutex echo_lock
 
unsigned charwrite_buf
 
int write_cnt
 
spinlock_t read_lock
 
struct work_struct SAK_work
 
struct tty_portport
 

Detailed Description

Definition at line 226 of file tty.h.

Field Documentation

int alt_speed

Definition at line 258 of file tty.h.

struct mutex atomic_read_lock

Definition at line 292 of file tty.h.

struct mutex atomic_write_lock

Definition at line 293 of file tty.h.

Definition at line 257 of file tty.h.

unsigned int canon_column

Definition at line 291 of file tty.h.

int canon_data

Definition at line 289 of file tty.h.

unsigned long canon_head

Definition at line 290 of file tty.h.

unsigned char closing

Definition at line 275 of file tty.h.

unsigned int column

Definition at line 273 of file tty.h.

int count

Definition at line 248 of file tty.h.

spinlock_t ctrl_lock

Definition at line 240 of file tty.h.

unsigned char ctrl_status

Definition at line 252 of file tty.h.

struct device* dev

Definition at line 229 of file tty.h.

void* disc_data

Definition at line 262 of file tty.h.

struct tty_driver* driver

Definition at line 230 of file tty.h.

Definition at line 263 of file tty.h.

unsigned char* echo_buf

Definition at line 286 of file tty.h.

unsigned int echo_cnt

Definition at line 288 of file tty.h.

struct mutex echo_lock

Definition at line 295 of file tty.h.

unsigned char echo_overrun

Definition at line 276 of file tty.h.

unsigned int echo_pos

Definition at line 287 of file tty.h.

unsigned char erasing

Definition at line 274 of file tty.h.

Definition at line 256 of file tty.h.

unsigned long flags

Definition at line 247 of file tty.h.

unsigned char flow_stopped

Definition at line 250 of file tty.h.

struct work_struct hangup_work

Definition at line 261 of file tty.h.

unsigned char hw_stopped

Definition at line 250 of file tty.h.

unsigned char icanon

Definition at line 274 of file tty.h.

int index

Definition at line 232 of file tty.h.

Definition at line 228 of file tty.h.

struct tty_ldisc* ldisc

Definition at line 236 of file tty.h.

struct mutex ldisc_mutex

Definition at line 235 of file tty.h.

struct mutex legacy_mutex

Definition at line 238 of file tty.h.

Definition at line 255 of file tty.h.

unsigned char lnext

Definition at line 274 of file tty.h.

unsigned char low_latency

Definition at line 251 of file tty.h.

int magic

Definition at line 227 of file tty.h.

unsigned short minimum_to_wake

Definition at line 277 of file tty.h.

char name[64]

Definition at line 244 of file tty.h.

int num_overrun

Definition at line 279 of file tty.h.

Definition at line 231 of file tty.h.

struct mutex output_lock

Definition at line 294 of file tty.h.

unsigned long overrun_time

Definition at line 278 of file tty.h.

unsigned char packet

Definition at line 250 of file tty.h.

struct pid* pgrp

Definition at line 245 of file tty.h.

Definition at line 301 of file tty.h.

unsigned long process_char_map[256/(8 *sizeof(unsigned long))]

Definition at line 280 of file tty.h.

unsigned char raw

Definition at line 274 of file tty.h.

char* read_buf

Definition at line 281 of file tty.h.

int read_cnt

Definition at line 284 of file tty.h.

unsigned long read_flags[N_TTY_BUF_SIZE/(8 *sizeof(unsigned long))]

Definition at line 285 of file tty.h.

int read_head

Definition at line 282 of file tty.h.

spinlock_t read_lock

Definition at line 298 of file tty.h.

int read_tail

Definition at line 283 of file tty.h.

wait_queue_head_t read_wait

Definition at line 260 of file tty.h.

unsigned char real_raw

Definition at line 274 of file tty.h.

unsigned int receive_room

Definition at line 253 of file tty.h.

struct work_struct SAK_work

Definition at line 300 of file tty.h.

struct pid* session

Definition at line 246 of file tty.h.

unsigned char stopped

Definition at line 250 of file tty.h.

struct ktermios termios termios_locked

Definition at line 242 of file tty.h.

struct mutex termios_mutex

Definition at line 239 of file tty.h.

Definition at line 243 of file tty.h.

struct list_head tty_files

Definition at line 264 of file tty.h.

unsigned char warned

Definition at line 251 of file tty.h.

Definition at line 249 of file tty.h.

unsigned char* write_buf

Definition at line 296 of file tty.h.

int write_cnt

Definition at line 297 of file tty.h.

wait_queue_head_t write_wait

Definition at line 259 of file tty.h.


The documentation for this struct was generated from the following file: