• Home
  • Raw
  • Download

Lines Matching refs:u

66 #define user_termios_to_kernel_termios(k, u) \  argument
69 err = get_user((k)->c_iflag, &(u)->c_iflag); \
70 err |= get_user((k)->c_oflag, &(u)->c_oflag); \
71 err |= get_user((k)->c_cflag, &(u)->c_cflag); \
72 err |= get_user((k)->c_lflag, &(u)->c_lflag); \
73 err |= get_user((k)->c_line, &(u)->c_line); \
74 err |= copy_from_user((k)->c_cc, (u)->c_cc, NCCS); \
76 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
77 err |= get_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \
79 err |= get_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \
80 err |= get_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \
82 err |= get_user((k)->c_ispeed, &(u)->c_ispeed); \
83 err |= get_user((k)->c_ospeed, &(u)->c_ospeed); \
87 #define kernel_termios_to_user_termios(u, k) \ argument
90 err = put_user((k)->c_iflag, &(u)->c_iflag); \
91 err |= put_user((k)->c_oflag, &(u)->c_oflag); \
92 err |= put_user((k)->c_cflag, &(u)->c_cflag); \
93 err |= put_user((k)->c_lflag, &(u)->c_lflag); \
94 err |= put_user((k)->c_line, &(u)->c_line); \
95 err |= copy_to_user((u)->c_cc, (k)->c_cc, NCCS); \
97 err |= put_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \
98 err |= put_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \
100 err |= put_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
101 err |= put_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \
103 err |= put_user((k)->c_ispeed, &(u)->c_ispeed); \
104 err |= put_user((k)->c_ospeed, &(u)->c_ospeed); \
108 #define user_termios_to_kernel_termios_1(k, u) \ argument
111 err = get_user((k)->c_iflag, &(u)->c_iflag); \
112 err |= get_user((k)->c_oflag, &(u)->c_oflag); \
113 err |= get_user((k)->c_cflag, &(u)->c_cflag); \
114 err |= get_user((k)->c_lflag, &(u)->c_lflag); \
115 err |= get_user((k)->c_line, &(u)->c_line); \
116 err |= copy_from_user((k)->c_cc, (u)->c_cc, NCCS); \
118 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
119 err |= get_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \
121 err |= get_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \
122 err |= get_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \
127 #define kernel_termios_to_user_termios_1(u, k) \ argument
130 err = put_user((k)->c_iflag, &(u)->c_iflag); \
131 err |= put_user((k)->c_oflag, &(u)->c_oflag); \
132 err |= put_user((k)->c_cflag, &(u)->c_cflag); \
133 err |= put_user((k)->c_lflag, &(u)->c_lflag); \
134 err |= put_user((k)->c_line, &(u)->c_line); \
135 err |= copy_to_user((u)->c_cc, (k)->c_cc, NCCS); \
137 err |= put_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \
138 err |= put_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \
140 err |= put_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
141 err |= put_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \