Searched refs:pts_unit (Results 1 – 1 of 1) sorted by relevance
60 int pts_unit; /* (c) Device unit number. */ member320 if (psc->pts_unit < 0) in ptsdev_ioctl()322 *(unsigned int *)data = psc->pts_unit; in ptsdev_ioctl()705 if (psc->pts_unit >= 0) in ptsdrv_free()706 ptyfs_unregister_pts(psc->pts_master, psc->pts_unit); in ptsdrv_free()798 psc->pts_unit = unit; in pts_alloc()802 tty_makedev(tp, td->td_ucred, "pts/%u", psc->pts_unit); in pts_alloc()806 snprintf(name_buf, DIRENT_NAME_MAX, "%s/%d", rootpath, psc->pts_unit); in pts_alloc()
Completed in 4 milliseconds