Lines Matching refs:new_ptmx_ioctl
362 struct ptmx_ioctl *new_ptmx_ioctl;
379 MALLOC(new_ptmx_ioctl, struct ptmx_ioctl *, sizeof(struct ptmx_ioctl), M_TTYS, M_WAITOK|M_ZERO);
380 if (new_ptmx_ioctl == NULL) {
384 if ((new_ptmx_ioctl->pt_tty = ttymalloc()) == NULL) {
385 FREE(new_ptmx_ioctl, M_TTYS);
404 ttyfree(new_ptmx_ioctl->pt_tty);
406 FREE(new_ptmx_ioctl, M_TTYS);
421 ttyfree(new_ptmx_ioctl->pt_tty);
423 FREE(new_ptmx_ioctl, M_TTYS);
433 _state.pis_ioctl_list[minor] = new_ptmx_ioctl;