Symbol: sgttyb
arch/alpha/include/uapi/asm/ioctls.h
15
#define TIOCGETP _IOR('t', 8, struct sgttyb)
arch/alpha/include/uapi/asm/ioctls.h
16
#define TIOCSETP _IOW('t', 9, struct sgttyb)
arch/alpha/include/uapi/asm/ioctls.h
17
#define TIOCSETN _IOW('t', 10, struct sgttyb) /* TIOCSETP wo flush */
arch/powerpc/include/uapi/asm/ioctls.h
15
#define TIOCGETP _IOR('t', 8, struct sgttyb)
arch/powerpc/include/uapi/asm/ioctls.h
16
#define TIOCSETP _IOW('t', 9, struct sgttyb)
arch/powerpc/include/uapi/asm/ioctls.h
17
#define TIOCSETN _IOW('t', 10, struct sgttyb) /* TIOCSETP wo flush */
arch/sparc/include/uapi/asm/ioctls.h
43
#define __TIOCGETP _IOR('t', 8, struct sgttyb) /* SunOS Specific */
arch/sparc/include/uapi/asm/ioctls.h
44
#define __TIOCSETP _IOW('t', 9, struct sgttyb) /* SunOS Specific */
arch/sparc/include/uapi/asm/ioctls.h
45
#define __TIOCSETN _IOW('t', 10, struct sgttyb) /* SunOS Specific */
drivers/tty/tty_ioctl.c
573
static int get_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb)
drivers/tty/tty_ioctl.c
575
struct sgttyb tmp;
drivers/tty/tty_ioctl.c
585
return copy_to_user(sgttyb, &tmp, sizeof(tmp)) ? -EFAULT : 0;
drivers/tty/tty_ioctl.c
625
static int set_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb)
drivers/tty/tty_ioctl.c
628
struct sgttyb tmp;
drivers/tty/tty_ioctl.c
635
if (copy_from_user(&tmp, sgttyb, sizeof(tmp)))
drivers/tty/tty_ioctl.c
781
return get_sgttyb(real_tty, (struct sgttyb __user *) arg);
drivers/tty/tty_ioctl.c
784
return set_sgttyb(real_tty, (struct sgttyb __user *) arg);