Home
last modified time | relevance | path

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

/drivers/tty/
Dtty_ioctl.c842 static int get_tchars(struct tty_struct *tty, struct tchars __user *tchars) in get_tchars() argument
844 struct tchars tmp; in get_tchars()
854 return copy_to_user(tchars, &tmp, sizeof(tmp)) ? -EFAULT : 0; in get_tchars()
857 static int set_tchars(struct tty_struct *tty, struct tchars __user *tchars) in set_tchars() argument
859 struct tchars tmp; in set_tchars()
861 if (copy_from_user(&tmp, tchars, sizeof(tmp))) in set_tchars()