Lines Matching refs:pe
106 cygwin_part(register Pss_t* pss, register Pssent_t* pe)
113 pe->gid = pr->gid;
114 pe->pgrp = pr->pgid;
115 pe->sid = pr->sid;
116 pe->tty = pr->ctty == PRNODEV ? PSS_NODEV : pr->ctty;
117 pe->uid = pr->uid;
119 pe->state = PSS_ZOMBIE;
121 pe->state = 'S';
123 pe->state = 'I';
125 pe->state = 'O';
127 pe->state = ' ';
132 cygwin_full(register Pss_t* pss, register Pssent_t* pe)
139 if (pe->state != PSS_ZOMBIE)
147 pe->args = s;
158 pe->command = s;
161 pe->flags = pr->process_state;
162 pe->pid = pr->pid;
163 pe->npid = pr->dwProcessId;
164 pe->ppid = pr->ppid;
165 pe->rss = pr->rusage_self.ru_maxrss;
166 pe->size = pr->rusage_self.ru_idrss;
167 pe->start = PR_START(pr);
168 pe->time = PR_TIME(pr);
173 cygwin_ttyname(Pss_t* pss, register Pssent_t* pe)
175 if (pe->tty < 0)
177 if (pe->tty == (Pss_dev_t)TTY_CONSOLE)
179 sfsprintf(pss->buf, sizeof(pss->buf), "%I*d", sizeof(pe->tty), pe->tty);