Searched refs:p_device (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmexpress.c | 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() [all …]
|
H A D | ttymon.c | 346 if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) { in set_softcar() 347 log("open (%s) failed: %s", pmptr->p_device, strerror(errno)); in set_softcar() 352 log("set soft-carrier (%s) failed: %s", pmptr->p_device, in set_softcar() 378 revokedevaccess(pmptr->p_device, 0, 0, 0); in open_device() 380 if ((fd = open(pmptr->p_device, O_RDWR)) == -1) in open_device() 381 fatal("open (%s) failed: %s", pmptr->p_device, in open_device() 394 } else if ((fd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) in open_device() 396 log("open (%s) failed: %s", pmptr->p_device, in open_device() 433 pmptr->p_device); in open_device() 467 if ((tmpfd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) == -1) { in open_device() [all …]
|
H A D | tmchild.c | 109 pmtab->p_modules, pmtab->p_device) == -1) { in tmchild() 242 if ((pmtab->p_fd = open(pmtab->p_device, O_RDWR)) != 0) { in openline() 243 log("open \"%s\" failed: %s", pmtab->p_device, in openline() 502 "tty on \"%s\",\n", pmtab->p_device); in invoke_service() 506 if (strcmp("/dev/console", pmtab->p_device) != 0) { in invoke_service() 513 pmtab->p_device); in invoke_service() 528 if (account(pmtab->p_device) != 0) { in invoke_service() 598 log("Starting service (%s) on %s", argvp[0], pmtab->p_device); in invoke_service()
|
H A D | tmhandler.c | 110 fatal("tmchild for <%s> returns unexpected", pmptr->p_device); in fork_tmchild() 533 fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK); in sigalarm() 535 log("open (%s) failed: %s", pmptr->p_device, in sigalarm() 550 fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK); in sigalarm() 552 log("open (%s) failed: %s", pmptr->p_device, in sigalarm() 568 fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK); in sigalarm() 570 log("open (%s) failed: %s", pmptr->p_device, in sigalarm()
|
H A D | ttyadm.c | 105 ptr->p_device = optarg; in main() 185 if (check_device(ptr->p_device) != 0) in main() 196 ptr->p_device, ttyflags, count, ptr->p_server, in main()
|
H A D | tmpmtab.c | 183 gptr->p_device = strsave( in read_pmtab() 208 gptr->p_device)); in read_pmtab() 449 log("device:\t%s", gptr->p_device); in dump_pmtab() 490 if (strcmp(e1->p_device, e2->p_device) != 0) in same_entry() 710 free(p->p_device); in free_pmtab() 753 if (check_device(p->p_device) != 0) in check_pmtab()
|
H A D | tmstruct.h | 55 char *p_device; /* full path name of device */ member
|
H A D | tmterm.c | 262 log("initial termio on (%s) failed", pmptr->p_device); in initial_termio()
|