Home
last modified time | relevance | path

Searched refs:termio (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Dtermios.h23 * Translate a "termio" structure into a "termios". Ugh.
25 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \
27 get_user(__tmp,&(termio)->x); \
31 #define user_termio_to_kernel_termios(termios, termio) \
33 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \
34 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \
35 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \
36 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \
37 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
41 * Translate a "termios" structure into a "termio"
[all...]
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dtermios.h17 * Translate a "termio" structure into a "termios". Ugh.
19 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \
21 get_user(__tmp,&(termio)->x); \
25 #define user_termio_to_kernel_termios(termios, termio) \
27 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \
28 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \
29 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \
30 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \
31 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
35 * Translate a "termios" structure into a "termio"
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dtermios.h27 * Translate a "termio" structure into a "termios". Ugh.
30 struct termio __user *termio) in user_termio_to_kernel_termios()
35 if (!access_ok(termio, sizeof(struct termio))) in user_termio_to_kernel_termios()
38 err = __get_user(iflag, &termio->c_iflag); in user_termio_to_kernel_termios()
40 err |=__get_user(oflag, &termio->c_oflag); in user_termio_to_kernel_termios()
42 err |=__get_user(cflag, &termio->c_cflag); in user_termio_to_kernel_termios()
44 err |=__get_user(lflag, &termio->c_lflag); in user_termio_to_kernel_termios()
46 err |=__get_user(termios->c_line, &termio in user_termio_to_kernel_termios()
29 user_termio_to_kernel_termios(struct ktermios *termios, struct termio __user *termio) user_termio_to_kernel_termios() argument
59 kernel_termios_to_user_termio(struct termio __user *termio, struct ktermios *termios) kernel_termios_to_user_termio() argument
[all...]
/kernel/linux/linux-5.10/include/asm-generic/
H A Dtermios-base.h2 /* termios.h: generic termios/termio user copying/translation
13 * Translate a "termio" structure into a "termios". Ugh.
16 struct termio __user *termio) in user_termio_to_kernel_termios()
20 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios()
24 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios()
28 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios()
32 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios()
36 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios()
39 if (copy_from_user(termios->c_cc, termio in user_termio_to_kernel_termios()
15 user_termio_to_kernel_termios(struct ktermios *termios, struct termio __user *termio) user_termio_to_kernel_termios() argument
51 kernel_termios_to_user_termio(struct termio __user *termio, struct ktermios *termios) kernel_termios_to_user_termio() argument
[all...]
H A Dtermios.h18 * Translate a "termio" structure into a "termios". Ugh.
21 const struct termio __user *termio) in user_termio_to_kernel_termios()
25 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios()
29 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios()
33 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios()
37 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios()
41 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios()
44 if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) in user_termio_to_kernel_termios()
54 * Translate a "termios" structure into a "termio"
20 user_termio_to_kernel_termios(struct ktermios *termios, const struct termio __user *termio) user_termio_to_kernel_termios() argument
56 kernel_termios_to_user_termio(struct termio __user *termio, struct ktermios *termios) kernel_termios_to_user_termio() argument
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dtermios.c5 struct termio __user *termio) in user_termio_to_kernel_termios()
7 struct termio v; in user_termio_to_kernel_termios()
10 if (copy_from_user(&v, termio, sizeof(struct termio))) in user_termio_to_kernel_termios()
32 int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument
35 struct termio v; in kernel_termios_to_user_termio()
38 memset(&v, 0, sizeof(struct termio)); in kernel_termios_to_user_termio()
55 return copy_to_user(termio, in kernel_termios_to_user_termio()
4 user_termio_to_kernel_termios(struct ktermios *termios, struct termio __user *termio) user_termio_to_kernel_termios() argument
[all...]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dtermios.h9 * c_cc characters in the termio structure. Oh, how I love being
28 * Translate a "termio" structure into a "termios". Ugh.
30 #define user_termio_to_kernel_termios(termios, termio) \
34 err = get_user(tmp, &(termio)->c_iflag); \
36 err |= get_user(tmp, &(termio)->c_oflag); \
38 err |= get_user(tmp, &(termio)->c_cflag); \
40 err |= get_user(tmp, &(termio)->c_lflag); \
42 err |= copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
47 * Translate a "termios" structure into a "termio". Ugh.
51 #define kernel_termios_to_user_termio(termio, termio
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dtermios.c5 * c_cc characters in the termio structure. Oh, how I love being
15 int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument
18 struct termio v; in kernel_termios_to_user_termio()
19 memset(&v, 0, sizeof(struct termio)); in kernel_termios_to_user_termio()
30 return copy_to_user(termio, &v, sizeof(struct termio)); in kernel_termios_to_user_termio()
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
H A Dioctls.h26 #define TCGETA _IOR('t', 23, struct termio)
27 #define TCSETA _IOW('t', 24, struct termio)
28 #define TCSETAW _IOW('t', 25, struct termio)
29 #define TCSETAF _IOW('t', 28, struct termio)
H A Dtermios.h42 struct termio { struct
52 * c_cc characters in the termio structure. Oh, how I love being
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
H A Dioctls.h26 #define TCGETA _IOR('t', 23, struct termio)
27 #define TCSETA _IOW('t', 24, struct termio)
28 #define TCSETAW _IOW('t', 25, struct termio)
29 #define TCSETAF _IOW('t', 28, struct termio)
H A Dtermios.h4 * fields have been reordered so that termio & termios share the
54 struct termio { struct
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
H A Dioctls.h13 #define TCGETA _IOR('T', 1, struct termio)
14 #define TCSETA _IOW('T', 2, struct termio)
15 #define TCSETAW _IOW('T', 3, struct termio)
16 #define TCSETAF _IOW('T', 4, struct termio)
H A Dtermios.h16 struct termio { struct
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
H A Dioctls.h8 #define TCGETA _IOR('T', 1, struct termio)
9 #define TCSETA _IOW('T', 2, struct termio)
10 #define TCSETAW _IOW('T', 3, struct termio)
11 #define TCSETAF _IOW('T', 4, struct termio)
/kernel/linux/linux-6.6/arch/alpha/include/uapi/asm/
H A Dioctls.h26 #define TCGETA _IOR('t', 23, struct termio)
27 #define TCSETA _IOW('t', 24, struct termio)
28 #define TCSETAW _IOW('t', 25, struct termio)
29 #define TCSETAF _IOW('t', 28, struct termio)
H A Dtermios.h42 struct termio { struct
52 * c_cc characters in the termio structure. Oh, how I love being
/kernel/linux/linux-6.6/arch/powerpc/include/uapi/asm/
H A Dioctls.h26 #define TCGETA _IOR('t', 23, struct termio)
27 #define TCSETA _IOW('t', 24, struct termio)
28 #define TCSETAW _IOW('t', 25, struct termio)
29 #define TCSETAF _IOW('t', 28, struct termio)
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/
H A Dioctls.h13 #define TCGETA _IOR('T', 1, struct termio)
14 #define TCSETA _IOW('T', 2, struct termio)
15 #define TCSETAW _IOW('T', 3, struct termio)
16 #define TCSETAF _IOW('T', 4, struct termio)
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/
H A Dioctls.h8 #define TCGETA _IOR('T', 1, struct termio)
9 #define TCSETA _IOW('T', 2, struct termio)
10 #define TCSETAW _IOW('T', 3, struct termio)
11 #define TCSETAF _IOW('T', 4, struct termio)
/kernel/linux/linux-6.6/drivers/tty/
H A Dtty_ioctl.c371 * Translate a "termio" structure into a "termios". Ugh.
374 struct termio __user *termio) in user_termio_to_kernel_termios()
376 struct termio v; in user_termio_to_kernel_termios()
378 if (copy_from_user(&v, termio, sizeof(struct termio))) in user_termio_to_kernel_termios()
391 * Translate a "termios" structure into a "termio". Ugh.
393 __weak int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument
396 struct termio in kernel_termios_to_user_termio()
373 user_termio_to_kernel_termios(struct ktermios *termios, struct termio __user *termio) user_termio_to_kernel_termios() argument
552 get_termio(struct tty_struct *tty, struct termio __user *termio) get_termio() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dtermios_internal.h37 int user_termio_to_kernel_termios(struct ktermios *, struct termio __user *);
38 int kernel_termios_to_user_termio(struct termio __user *, struct ktermios *);
/kernel/linux/linux-5.10/arch/alpha/include/asm/
H A Dtermios.h16 * Translate a "termio" structure into a "termios". Ugh.
22 struct termio k_termio; \
47 * Translate a "termios" structure into a "termio". Ugh.
54 struct termio k_termio; \
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
H A Dtermios.h23 struct termio { struct
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
H A Dtermios.h22 struct termio { struct

Completed in 8 milliseconds

12