Searched refs:linesw (Results 1 - 5 of 5) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dtty_conf.c96 struct linesw linesw[MAXLDISC] = variable in typeref:struct:linesw
112 const int nlinesw = sizeof (linesw) / sizeof (linesw[0]);
114 static struct linesw nodisc = NODISC(0);
126 ldisc_register(int discipline, struct linesw *linesw_p)
133 if (bcmp(linesw + i, &nodisc, sizeof(nodisc)) == 0) {
142 linesw[slot] = *linesw_p;
157 linesw[discipline] = nodisc;
H A Dtty_dev.c283 (void)(*linesw[tp->t_line].l_modem)(tp, 1);
291 error = (*linesw[tp->t_line].l_open)(dev, tp);
331 err = (*linesw[tp->t_line].l_close)(tp, flag);
427 error = (*linesw[tp->t_line].l_read)(tp, uio, flag);
454 error = (*linesw[tp->t_line].l_write)(tp, uio, flag);
538 (void)(*linesw[tp->t_line].l_modem)(tp, 1);
563 (void)(*linesw[tp->t_line].l_modem)(tp, 0);
655 (*linesw[tp->t_line].l_start)(tp);
913 (*linesw[tp->t_line].l_rint)(*cp++, tp);
1069 * SAFE: the linesw[] wil
[all...]
H A Dtty.c1060 * *linesw[t].l_open:? TIOCSETD line discipline open failure
1367 (*linesw[tp->t_line].l_close)(tp, flag);
1368 error = (*linesw[t].l_open)(device, tp);
1371 (void)(*linesw[tp->t_line].l_open)(device, tp);
1395 (*linesw[tp->t_line].l_rint)(*(u_char *)data, tp);
/xnu-2782.1.97/bsd/dev/i386/
H A Dkm.c126 ret = ((*linesw[tp->t_line].l_open)(dev, tp));
169 ret = (*linesw[tp->t_line].l_close)(tp,flag);
183 ret = (*linesw[tp->t_line].l_read)(tp, uio, ioflag);
196 ret = (*linesw[tp->t_line].l_write)(tp, uio, ioflag);
245 error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
285 * Callouts from linesw.
307 (*linesw[tp->t_line].l_start)(tp);
374 (*linesw[tp->t_line].l_start)(tp);
400 (*linesw[tp->t_line].l_rint) (ch, tp);
/xnu-2782.1.97/bsd/sys/
H A Dconf.h247 struct linesw { struct
259 extern struct linesw linesw[];
262 int ldisc_register(int , struct linesw *);

Completed in 35 milliseconds