Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ttymon/
H A Dtmexpress.c54 static int parse_args(int, char **, struct pmtab *);
55 static void ttymon_options(int, char **, struct pmtab *);
56 static void getty_options(int, char **, struct pmtab *);
71 struct pmtab *pmtab; in ttymon_express() local
85 if ((pmtab = ALLOC_PMTAB) == NULL) { in ttymon_express()
90 if (parse_args(argc, argv, pmtab) != 0) { in ttymon_express()
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()
[all …]
H A Dtmchild.c49 static void openline(struct pmtab *, struct Gdef *);
50 static void invoke_service(struct pmtab *);
51 static char *do_autobaud(struct pmtab *, struct Gdef *);
61 tmchild(struct pmtab *pmtab) in tmchild() argument
71 if (pmtab->p_status != GETTY) { in tmchild()
89 if (pmtab->p_ttyflags & (C_FLAG|B_FLAG)) { in tmchild()
90 if (pmtab->p_fd > 0) { in tmchild()
91 (void) close(pmtab->p_fd); in tmchild()
92 pmtab->p_fd = 0; in tmchild()
102 speedef = get_speed(pmtab); in tmchild()
[all …]
H A Dtmhandler.c50 static struct pmtab *find_pid(pid_t);
53 static struct pmtab *find_fd(int);
60 fork_tmchild(struct pmtab *pmptr) in fork_tmchild()
142 got_carrier(struct pmtab *pmptr) in got_carrier()
171 got_data(struct pmtab *pmptr) in got_data()
195 got_hup(struct pmtab *pmptr) in got_hup()
216 struct pmtab *pmptr; in do_poll()
257 struct pmtab *pmptr; in sigchild()
328 struct pmtab *pmptr; in state_change()
400 static struct pmtab *
[all …]
H A Dtmextern.h79 extern void write_prompt(int, struct pmtab *, int, int);
81 extern void tmchild(struct pmtab *);
96 extern void got_carrier(struct pmtab *);
134 extern int initial_termio(int, struct pmtab *);
171 extern struct pmtab *PMtab;
225 extern struct Gdef *get_speed(struct pmtab *);
226 extern void open_device(struct pmtab *);
227 extern void set_softcar(struct pmtab *);
H A Dtmpmtab.c43 static int same_entry(struct pmtab *, struct pmtab *);
44 static int check_pmtab(struct pmtab *);
45 static void insert_pmtab(struct pmtab *);
46 static void free_pmtab(struct pmtab *);
49 int check_identity(struct pmtab *);
60 struct pmtab *gptr; in read_pmtab()
436 struct pmtab *gptr; in dump_pmtab()
479 same_entry(struct pmtab *e1, struct pmtab *e2) in same_entry()
533 insert_pmtab(struct pmtab *sp) in insert_pmtab()
535 struct pmtab *tsp, *savtsp; /* scratch pointers */ in insert_pmtab()
[all …]
H A Dtmstruct.h47 struct pmtab { struct
78 struct pmtab *p_next; argument
110 ((struct pmtab *)calloc((unsigned)1, \
111 (unsigned)sizeof (struct pmtab)))
H A Dttymon.c58 static int check_spawnlimit(struct pmtab *);
61 void open_device(struct pmtab *);
62 void set_softcar(struct pmtab *);
147 struct pmtab *tp; in initialize()
265 struct pmtab *tp; in open_all()
328 set_softcar(struct pmtab *pmptr) in set_softcar()
368 open_device(struct pmtab *pmptr) in open_device()
518 struct pmtab *tp; in set_poll()
537 check_spawnlimit(struct pmtab *pmptr) in check_spawnlimit()
665 get_speed(struct pmtab *pmptr) in get_speed()
H A Dtmglobal.c57 struct pmtab *PMtab = NULL; /* head pointer to pmtab linked list */
H A Dttyadm.c71 struct pmtab *ptr; in main()
H A Dtmterm.c242 initial_termio(int fd, struct pmtab *pmptr) in initial_termio()
/illumos-gate/usr/src/cmd/saf/
H A Dpmadm.c71 struct pmtab { struct
942 struct pmtab pmtab; /* place to hold parsed info */ in list_svcs() local
943 register struct pmtab *pp = &pmtab; /* and a pointer to it */ in list_svcs()
1042 struct pmtab pmtab; /* place to hold parsed info */ in find_svc() local
1050 parseline(p, &pmtab, tag); in find_svc()
1051 if (!(strcmp(pmtab.p_tag, svctag))) in find_svc()
1085 register struct pmtab *pp;