Searched refs:p_device (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/cmd/ttymon/ |
H A D | tmexpress.c | 109 if ((pmtab->p_device != NULL) && (*(pmtab->p_device) != '\0')) in ttymon_express() 110 while (checkut_line(pmtab->p_device)) in ttymon_express() 113 if ((pmtab->p_device == NULL) || (*(pmtab->p_device) == '\0')) { in ttymon_express() 119 pmtab->p_device = devname; in ttymon_express() 130 revokedevaccess(pmtab->p_device, 0, 0, 0); in ttymon_express() 131 if (open(pmtab->p_device, O_RDWR) < 0) { in ttymon_express() 132 log("open %s failed: %s", pmtab->p_device, in ttymon_express() 139 pmtab->p_device) == -1) in ttymon_express() 144 di_devperm_logout((const char *)pmtab->p_device); in ttymon_express() 187 pmtab->p_device = ""; in parse_args() [all …]
|
H A D | ttymon.c | 359 if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) { 360 log("open (%s) failed: %s", pmptr->p_device, strerror(errno)); 365 log("set soft-carrier (%s) failed: %s", pmptr->p_device, 392 revokedevaccess(pmptr->p_device, 0, 0, 0); 394 if ((fd = open(pmptr->p_device, O_RDWR)) == -1) 395 fatal("open (%s) failed: %s", pmptr->p_device, 408 } else if ((fd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) 410 log("open (%s) failed: %s", pmptr->p_device, 446 pmptr->p_device); 480 if ((tmpfd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) == -1) { [all …]
|
H A D | tmchild.c | 111 if (push_linedisc(pmtab->p_fd, pmtab->p_modules, pmtab->p_device) == -1) { 246 if ((pmtab->p_fd = open(pmtab->p_device, O_RDWR)) != 0) { 247 log("open \"%s\" failed: %s", pmtab->p_device, 515 "tty on \"%s\",\n", pmtab->p_device); 519 if (strcmp("/dev/console", pmtab->p_device) != 0) { 526 pmtab->p_device); 541 if (account(pmtab->p_device) != 0) { 612 log("Starting service (%s) on %s", argvp[0], pmtab->p_device);
|
H A D | tmhandler.c | 114 fatal("tmchild for <%s> returns unexpected", pmptr->p_device); 563 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){ 564 log("open (%s) failed: %s", pmptr->p_device, 581 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){ 582 log("open (%s) failed: %s", pmptr->p_device, 599 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){ 600 log("open (%s) failed: %s", pmptr->p_device,
|
H A D | ttyadm.c | 117 ptr->p_device = optarg; in main() 197 if (check_device(ptr->p_device) != 0) in main() 208 ptr->p_device, ttyflags, count, ptr->p_server, in main()
|
H A D | tmpmtab.c | 185 gptr->p_device = strsave(getword(ptr,&size,0)); in read_pmtab() 207 gptr->p_device)); in read_pmtab() 444 log("device:\t%s", gptr->p_device); in dump_pmtab() 486 if (strcmp(e1->p_device, e2->p_device) != 0) 716 free(p->p_device); 762 if (check_device(p->p_device) != 0)
|
H A D | tmstruct.h | 55 char *p_device; /* full path name of device */ member
|
H A D | tmterm.c | 286 log("initial termio on (%s) failed", pmptr->p_device);
|