XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
tty_ldisc_ops Struct Reference

#include <tty_ldisc.h>

Public Attributes

char * name
 
int num
 
int(* open )(struct tty_struct *tty)
 
void(* close )(struct tty_struct *tty)
 
void(* flush_buffer )(struct tty_struct *tty)
 
ssize_t(* read )(struct tty_struct *tty, struct file *file, u8 *buf, size_t nr, void **cookie, unsigned long offset)
 
ssize_t(* write )(struct tty_struct *tty, struct file *file, const u8 *buf, size_t nr)
 
int(* ioctl )(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 
int(* compat_ioctl )(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 
void(* set_termios )(struct tty_struct *tty, const struct ktermios *old)
 
__poll_t(* poll )(struct tty_struct *tty, struct file *file, struct poll_table_struct *wait)
 
void(* hangup )(struct tty_struct *tty)
 
void(* receive_buf )(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count)
 
void(* write_wakeup )(struct tty_struct *tty)
 
void(* dcd_change )(struct tty_struct *tty, bool active)
 
size_t(* receive_buf2 )(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count)
 
void(* lookahead_buf )(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count)
 
struct module * owner
 

Member Data Documentation

◆ close

void(* tty_ldisc_ops::close) (struct tty_struct *tty)

◆ compat_ioctl

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

◆ dcd_change

void(* tty_ldisc_ops::dcd_change) (struct tty_struct *tty, bool active)

◆ flush_buffer

void(* tty_ldisc_ops::flush_buffer) (struct tty_struct *tty)

◆ hangup

void(* tty_ldisc_ops::hangup) (struct tty_struct *tty)

◆ ioctl

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

◆ lookahead_buf

void(* tty_ldisc_ops::lookahead_buf) (struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count)

◆ name

char* tty_ldisc_ops::name

◆ num

int tty_ldisc_ops::num

◆ open

int(* tty_ldisc_ops::open) (struct tty_struct *tty)

◆ owner

struct module* tty_ldisc_ops::owner

◆ poll

__poll_t(* tty_ldisc_ops::poll) (struct tty_struct *tty, struct file *file, struct poll_table_struct *wait)

◆ read

ssize_t(* tty_ldisc_ops::read) (struct tty_struct *tty, struct file *file, u8 *buf, size_t nr, void **cookie, unsigned long offset)

◆ receive_buf

void(* tty_ldisc_ops::receive_buf) (struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count)

◆ receive_buf2

size_t(* tty_ldisc_ops::receive_buf2) (struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count)

◆ set_termios

void(* tty_ldisc_ops::set_termios) (struct tty_struct *tty, const struct ktermios *old)

◆ write

ssize_t(* tty_ldisc_ops::write) (struct tty_struct *tty, struct file *file, const u8 *buf, size_t nr)

◆ write_wakeup

void(* tty_ldisc_ops::write_wakeup) (struct tty_struct *tty)

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