Home
last modified time | relevance | path

Searched refs:sgttyb (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/alpha/include/uapi/asm/
Dioctls.h15 #define TIOCGETP _IOR('t', 8, struct sgttyb)
16 #define TIOCSETP _IOW('t', 9, struct sgttyb)
17 #define TIOCSETN _IOW('t', 10, struct sgttyb) /* TIOCSETP wo flush */
Dtermios.h8 struct sgttyb { struct
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dioctls.h15 #define TIOCGETP _IOR('t', 8, struct sgttyb)
16 #define TIOCSETP _IOW('t', 9, struct sgttyb)
17 #define TIOCSETN _IOW('t', 10, struct sgttyb) /* TIOCSETP wo flush */
Dtermios.h20 struct sgttyb { struct
/Linux-v4.19/arch/sparc/include/uapi/asm/
Dioctls.h41 #define __TIOCGETP _IOR('t', 8, struct sgttyb) /* SunOS Specific */
42 #define __TIOCSETP _IOW('t', 9, struct sgttyb) /* SunOS Specific */
43 #define __TIOCSETN _IOW('t', 10, struct sgttyb) /* SunOS Specific */
Dtermios.h9 struct sgttyb { struct
/Linux-v4.19/drivers/tty/
Dtty_ioctl.c515 static int get_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in get_sgttyb() argument
517 struct sgttyb tmp; in get_sgttyb()
527 return copy_to_user(sgttyb, &tmp, sizeof(tmp)) ? -EFAULT : 0; in get_sgttyb()
567 static int set_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in set_sgttyb() argument
570 struct sgttyb tmp; in set_sgttyb()
577 if (copy_from_user(&tmp, sgttyb, sizeof(tmp))) in set_sgttyb()
727 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
730 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
/Linux-v4.19/arch/mips/include/uapi/asm/
Dtermios.h17 struct sgttyb { struct