taglinefilesource code
sgttyb234drivers/char/tty_ioctl.cstatic int get_sgttyb(struct tty_struct * tty, struct sgttyb * sgttyb)
sgttyb237drivers/char/tty_ioctl.cstruct sgttyb tmp;
sgttyb239drivers/char/tty_ioctl.cretval = verify_area(VERIFY_WRITE, sgttyb, sizeof(struct sgttyb));
sgttyb247drivers/char/tty_ioctl.cmemcpy_tofs(sgttyb, &tmp, sizeof(tmp));
sgttyb276drivers/char/tty_ioctl.cstatic int set_sgttyb(struct tty_struct * tty, struct sgttyb * sgttyb)
sgttyb279drivers/char/tty_ioctl.cstruct sgttyb tmp;
sgttyb282drivers/char/tty_ioctl.cretval = verify_area(VERIFY_READ, sgttyb, sizeof(struct sgttyb));
sgttyb289drivers/char/tty_ioctl.cmemcpy_fromfs(&tmp, sgttyb, sizeof(tmp));
sgttyb390drivers/char/tty_ioctl.creturn get_sgttyb(real_tty, (struct sgttyb *) arg);
sgttyb393drivers/char/tty_ioctl.creturn set_sgttyb(real_tty, (struct sgttyb *) arg);
sgttyb41include/asm-alpha/termios.h#define TIOCGETP  _IOR('t', 8, struct sgttyb)
sgttyb42include/asm-alpha/termios.h#define TIOCSETP  _IOW('t', 9, struct sgttyb)
sgttyb43include/asm-alpha/termios.h#define TIOCSETN  _IOW('t', 10, struct sgttyb)  /* TIOCSETP wo flush */
sgttyb48include/asm-ppc/termios.h#define TIOCGETP  _IOR('t', 8, struct sgttyb)
sgttyb49include/asm-ppc/termios.h#define TIOCSETP  _IOW('t', 9, struct sgttyb)
sgttyb50include/asm-ppc/termios.h#define TIOCSETN  _IOW('t', 10, struct sgttyb)  /* TIOCSETP wo flush */
sgttyb65include/asm-sparc/termios.h#define TIOCGETP        _IOR('t', 8, struct sgttyb) /* SunOS Specific */
sgttyb66include/asm-sparc/termios.h#define TIOCSETP        _IOW('t', 9, struct sgttyb) /* SunOS Specific */
sgttyb67include/asm-sparc/termios.h#define TIOCSETN        _IOW('t', 10, struct sgttyb) /* SunOS Specific */