Lines Matching refs:p_device
97 if ((pmtab->p_device != NULL) && (*(pmtab->p_device) != '\0')) in ttymon_express()
98 while (checkut_line(pmtab->p_device)) in ttymon_express()
101 if ((pmtab->p_device == NULL) || (*(pmtab->p_device) == '\0')) { in ttymon_express()
107 pmtab->p_device = devname; in ttymon_express()
118 revokedevaccess(pmtab->p_device, 0, 0, 0); in ttymon_express()
119 if (open(pmtab->p_device, O_RDWR) < 0) { in ttymon_express()
120 log("open %s failed: %s", pmtab->p_device, in ttymon_express()
127 pmtab->p_device) == -1) in ttymon_express()
132 (void) di_devperm_logout((const char *)pmtab->p_device); in ttymon_express()
211 pmtab->p_device = ""; in parse_args()
238 if (strcmp(pmtab->p_device, "/dev/console") == 0 && in parse_args()
253 if ((pmtab->p_device != NULL) && (*(pmtab->p_device) != '\0')) in parse_args()
254 getty_account(pmtab->p_device); /* utmp accounting */ in parse_args()
278 pmtab->p_device = optarg; in ttymon_options()
401 pmtab->p_device = devbuf; in getty_options()