Home
last modified time | relevance | path

Searched refs:pmtab (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/cmd/ttymon/
H A Dtmexpress.c77 struct pmtab *pmtab; in ttymon_express() local
97 if ((pmtab = ALLOC_PMTAB) == PNULL) { in ttymon_express()
102 if (parse_args(argc, argv, pmtab) != 0) { in ttymon_express()
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()
[all …]
H A Dtmchild.c64 tmchild(pmtab) in tmchild() argument
65 struct pmtab *pmtab; in tmchild()
75 if (pmtab->p_status != GETTY) {
93 if (pmtab->p_ttyflags & (C_FLAG|B_FLAG)) {
94 if (pmtab->p_fd > 0) {
95 (void) close(pmtab->p_fd);
96 pmtab->p_fd = 0;
106 speedef = get_speed(pmtab->p_ttylabel);
107 openline(pmtab, speedef);
108 if (pmtab->p_ttyflags & (C_FLAG|B_FLAG)) {
[all …]
H A Dtmhandler.c51 static struct pmtab *find_pid();
54 static struct pmtab *find_fd();
64 struct pmtab *pmptr; in fork_tmchild()
149 struct pmtab *pmptr; in got_carrier()
183 struct pmtab *pmptr; in got_data()
208 struct pmtab *pmptr; in got_hup()
231 struct pmtab *pmptr;
276 struct pmtab *pmptr;
348 struct pmtab *pmptr; in state_change()
422 static struct pmtab *
[all …]
H A Dtmstruct.h47 struct pmtab { struct
77 struct pmtab *p_next; argument
109 ((struct pmtab *)calloc((unsigned)1, \
110 (unsigned)sizeof (struct pmtab)))
112 #define PNULL ((struct pmtab *)NULL)
H A Dtmpmtab.c70 register struct pmtab *gptr; in read_pmtab()
431 struct pmtab *gptr; in dump_pmtab()
475 struct pmtab *e1,*e2; in same_entry()
530 register struct pmtab *sp; /* ptr to entry to be inserted */ in insert_pmtab()
532 register struct pmtab *tsp, *savtsp; /* scratch pointers */
669 register struct pmtab *sp; /* working pointer */ in purge()
670 register struct pmtab *savesp, *tsp; /* scratch pointers */ in purge()
706 struct pmtab *p; in free_pmtab()
737 struct pmtab *p; in check_pmtab()
784 struct pmtab *p; in check_identity()
H A Dttymon.c154 struct pmtab *tp; in initialize()
277 struct pmtab *tp; in open_all()
341 struct pmtab *pmptr; in set_softcar()
382 struct pmtab *pmptr; in open_device()
532 struct pmtab *tp;
552 struct pmtab *pmptr; in check_spawnlimit()
H A Dtmglobal.c57 struct pmtab *PMtab = NULL; /* head pointer to pmtab linked list */
H A Dtmextern.h122 extern struct pmtab *PMtab;
H A Dttyadm.c78 struct pmtab *ptr; in main()
H A Dtmterm.c263 struct pmtab *pmptr;
/titanic_41/usr/src/cmd/saf/
H A Dpmadm.c73 struct pmtab { struct
947 struct pmtab pmtab; /* place to hold parsed info */ local
948 register struct pmtab *pp = &pmtab; /* and a pointer to it */
1047 struct pmtab pmtab; /* place to hold parsed info */ in find_svc() local
1055 parseline(p, &pmtab, tag); in find_svc()
1056 if (!(strcmp(pmtab.p_tag, svctag))) in find_svc()
1090 register struct pmtab *pp;