Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/kern/ !
H A Dtty_ptmx.c97 static struct ptmx_ioctl *ptmx_get_ioctl(int minor, int open_flag);
248 struct ptmx_ioctl **pis_ioctl_list; /* pointer vector */
269 static struct ptmx_ioctl *
272 struct ptmx_ioctl *ptmx_ioctl = NULL; in ptmx_get_ioctl() local
275 struct ptmx_ioctl *new_ptmx_ioctl; in ptmx_get_ioctl()
293 new_ptmx_ioctl = kalloc_type(struct ptmx_ioctl, in ptmx_get_ioctl()
297 kfree_type(struct ptmx_ioctl, new_ptmx_ioctl); in ptmx_get_ioctl()
316 kfree_type(struct ptmx_ioctl, new_ptmx_ioctl); in ptmx_get_ioctl()
322 struct ptmx_ioctl **new_pis_ioctl_list; in ptmx_get_ioctl()
323 struct ptmx_ioctl **old_pis_ioctl_list = NULL; in ptmx_get_ioctl()
[all …]
H A Dtty_dev.c220 static struct ptmx_ioctl *
261 struct ptmx_ioctl *pti = pty_get_ioctl(dev, PF_OPEN_S, &driver); in ptsopen()
325 struct ptmx_ioctl *pti = pty_get_ioctl(dev, 0, &driver); in ptsclose()
365 struct ptmx_ioctl *pti = pty_get_ioctl(dev, 0, NULL); in ptsread()
393 struct ptmx_ioctl *pti = pty_get_ioctl(dev, 0, NULL); in ptswrite()
425 struct ptmx_ioctl *pti = pty_get_ioctl(tp->t_dev, 0, NULL); in ptsstart()
457 struct ptmx_ioctl *pti = pty_get_ioctl(tp->t_dev, 0, NULL); in ptcwakeup()
478 struct ptmx_ioctl *pti = pty_get_ioctl(dev, PF_OPEN_M, &driver); in ptcopen()
481 } else if (pti == (struct ptmx_ioctl*)-1) { in ptcopen()
523 struct ptmx_ioctl *pti = pty_get_ioctl(dev, 0, &driver); in ptcclose()
[all …]
H A Dtty_pty.c99 static struct ptmx_ioctl pt_ioctl[NPTY];
116 static struct ptmx_ioctl *
122 struct ptmx_ioctl *pti = &pt_ioctl[minor]; in pty_get_ioctl()
H A Dtty_dev.h37 struct ptmx_ioctl { struct
69 struct ptmx_ioctl *(*open)(int minor, int flags);