Home
last modified time | relevance | path

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

/xnu-12377.61.12/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()
294 new_ptmx_ioctl = kalloc_type(struct ptmx_ioctl, in ptmx_get_ioctl()
298 kfree_type(struct ptmx_ioctl, new_ptmx_ioctl); in ptmx_get_ioctl()
317 kfree_type(struct ptmx_ioctl, new_ptmx_ioctl); in ptmx_get_ioctl()
324 struct ptmx_ioctl **new_pis_ioctl_list; in ptmx_get_ioctl()
325 struct ptmx_ioctl **old_pis_ioctl_list = NULL; in ptmx_get_ioctl()
[all …]
H A Dtty_dev.c221 static struct ptmx_ioctl *
225 struct ptmx_ioctl *out = NULL; in pty_get_ioctl()
268 struct ptmx_ioctl *pti = pty_get_ioctl(dev, PF_OPEN_S, &driver); in ptsopen()
339 struct ptmx_ioctl *pti = pty_get_ioctl(dev, 0, &driver); in ptsclose()
379 struct ptmx_ioctl *pti = pty_get_ioctl(dev, 0, NULL); in ptsread()
407 struct ptmx_ioctl *pti = pty_get_ioctl(dev, 0, NULL); in ptswrite()
439 struct ptmx_ioctl *pti = pty_get_ioctl(tp->t_dev, 0, NULL); in ptsstart()
471 struct ptmx_ioctl *pti = pty_get_ioctl(tp->t_dev, 0, NULL); in ptcwakeup()
492 struct ptmx_ioctl *pti = pty_get_ioctl(dev, PF_OPEN_M, &driver); in ptcopen()
495 } else if (pti == (struct ptmx_ioctl*)-1) { in ptcopen()
[all …]
H A Dtty_pty.c99 static struct ptmx_ioctl pt_ioctl[NPTY];
116 static struct ptmx_ioctl *
123 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);