Home | History | Annotate | Download | only in dropbear

Lines Matching refs:childpids

78  * gets to run, then the childpids[] array won't have the pid in it. Hence we
97 if (svr_ses.childpids[i].pid == pid) {
99 exit = &svr_ses.childpids[i].chansess->exit;
294 if (svr_ses.childpids[i].chansess == chansess) {
295 dropbear_assert(svr_ses.childpids[i].pid > 0);
296 TRACE(("closing pid %d", svr_ses.childpids[i].pid))
298 svr_ses.childpids[i].pid = -1;
299 svr_ses.childpids[i].chansess = NULL;
701 if (svr_ses.childpids[i].pid == svr_ses.lastexit.exitpid) {
703 svr_ses.childpids[i].chansess->exit = svr_ses.lastexit;
851 if (svr_ses.childpids[i].pid == -1) {
858 svr_ses.childpids = (struct ChildPid*)m_realloc(svr_ses.childpids,
863 svr_ses.childpids[i].pid = pid;
864 svr_ses.childpids[i].chansess = chansess;
1010 svr_ses.childpids = (struct ChildPid*)m_malloc(sizeof(struct ChildPid));
1011 svr_ses.childpids[0].pid = -1; /* unused */
1012 svr_ses.childpids[0].chansess = NULL;