Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/pty/
Dpty04.c96 static int set_ldisc(int tty, const struct ldisc_info *ldisc) in set_ldisc() argument
98 TEST(ioctl(tty, TIOCSETD, &ldisc->n)); in set_ldisc()
106 ldisc->name); in set_ldisc()
109 "Failed to set the %s line discipline", ldisc->name); in set_ldisc()
115 static int open_pty(const struct ldisc_info *ldisc) in open_pty() argument
132 return set_ldisc(pts, ldisc); in open_pty()
183 static void do_pty(const struct ldisc_info *ldisc) in do_pty() argument
189 switch (ldisc->n) { in do_pty()
200 switch (ldisc->n) { in do_pty()
213 tst_res(TPASS, "Wrote PTY %s %d (1)", ldisc->name, ptmx); in do_pty()
[all …]
Dpty03.c83 static int set_ldisc(int tty, struct ldisc_info *ldisc) in set_ldisc() argument
85 TEST(ioctl(tty, TIOCSETD, &ldisc->n)); in set_ldisc()
93 ldisc->name); in set_ldisc()
96 "Failed to set the %s line discipline", ldisc->name); in set_ldisc()
106 struct ldisc_info *ldisc = &ldiscs[n + 1]; in do_test() local
108 tst_res(TINFO, "Creating PTY with %s line discipline", ldisc->name); in do_test()
123 if (set_ldisc(pts, ldisc)) in do_test()
134 tst_res(TPASS, "Did not crash with %s TTY discipline", ldisc->name); in do_test()
Dpty05.c52 int ldisc = N_HDLC; in run() local
58 TEST(ioctl(ptmx, TIOCSETD, &ldisc)); in run()
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h11123 struct tty_ldisc *ldisc; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h9187 struct tty_ldisc *ldisc; member
Dvmlinux.h9187 struct tty_ldisc *ldisc; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h7855 struct tty_ldisc *ldisc; member
Dvmlinux_510.h7855 struct tty_ldisc *ldisc; member
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h11587 struct tty_ldisc *ldisc; member
Dvmlinux.h11587 struct tty_ldisc *ldisc; member