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

#include <tty_ldisc.h>

Data Fields

int magic
 
charname
 
int num
 
int flags
 
int(* open )(struct tty_struct *)
 
void(* close )(struct tty_struct *)
 
void(* flush_buffer )(struct tty_struct *tty)
 
ssize_t(* chars_in_buffer )(struct tty_struct *tty)
 
ssize_t(* read )(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t nr)
 
ssize_t(* write )(struct tty_struct *tty, struct file *file, const unsigned char *buf, size_t nr)
 
int(* ioctl )(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg)
 
long(* compat_ioctl )(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg)
 
void(* set_termios )(struct tty_struct *tty, struct ktermios *old)
 
unsigned int(* poll )(struct tty_struct *, struct file *, struct poll_table_struct *)
 
int(* hangup )(struct tty_struct *tty)
 
void(* receive_buf )(struct tty_struct *, const unsigned char *cp, char *fp, int count)
 
void(* write_wakeup )(struct tty_struct *)
 
void(* dcd_change )(struct tty_struct *, unsigned int, struct pps_event_time *)
 
struct moduleowner
 
int refcount
 

Detailed Description

Definition at line 115 of file tty_ldisc.h.

Field Documentation

ssize_t(* chars_in_buffer)(struct tty_struct *tty)

Definition at line 127 of file tty_ldisc.h.

void(* close)(struct tty_struct *)

Definition at line 125 of file tty_ldisc.h.

long(* compat_ioctl)(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg)

Definition at line 134 of file tty_ldisc.h.

void(* dcd_change)(struct tty_struct *, unsigned int, struct pps_event_time *)

Definition at line 147 of file tty_ldisc.h.

int flags

Definition at line 119 of file tty_ldisc.h.

void(* flush_buffer)(struct tty_struct *tty)

Definition at line 126 of file tty_ldisc.h.

int(* hangup)(struct tty_struct *tty)

Definition at line 139 of file tty_ldisc.h.

int(* ioctl)(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg)

Definition at line 132 of file tty_ldisc.h.

int magic

Definition at line 116 of file tty_ldisc.h.

char* name

Definition at line 117 of file tty_ldisc.h.

int num

Definition at line 118 of file tty_ldisc.h.

int(* open)(struct tty_struct *)

Definition at line 124 of file tty_ldisc.h.

struct module* owner

Definition at line 150 of file tty_ldisc.h.

Definition at line 137 of file tty_ldisc.h.

ssize_t(* read)(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t nr)

Definition at line 128 of file tty_ldisc.h.

void(* receive_buf)(struct tty_struct *, const unsigned char *cp, char *fp, int count)

Definition at line 144 of file tty_ldisc.h.

int refcount

Definition at line 152 of file tty_ldisc.h.

void(* set_termios)(struct tty_struct *tty, struct ktermios *old)

Definition at line 136 of file tty_ldisc.h.

ssize_t(* write)(struct tty_struct *tty, struct file *file, const unsigned char *buf, size_t nr)

Definition at line 130 of file tty_ldisc.h.

void(* write_wakeup)(struct tty_struct *)

Definition at line 146 of file tty_ldisc.h.


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