Lines Matching defs:p
42 proc_t *p = ttoproc(t);
48 mutex_enter(&p->p_lock);
50 if (p->p_defunct > 0) {
51 r.ru_majflt = p->p_ru.majflt;
52 r.ru_minflt = p->p_ru.minflt;
53 r.ru_nswap = p->p_ru.nswap;
54 r.ru_inblock = p->p_ru.inblock;
55 r.ru_oublock = p->p_ru.oublock;
56 r.ru_msgsnd = p->p_ru.msgsnd;
57 r.ru_msgrcv = p->p_ru.msgrcv;
58 r.ru_nsignals = p->p_ru.nsignals;
59 r.ru_nvcsw = p->p_ru.nvcsw;
60 r.ru_nivcsw = p->p_ru.nivcsw;
63 unsecs = mstate_aggr_state(p, LMS_USER);
64 snsecs = mstate_aggr_state(p, LMS_SYSTEM);
85 mutex_exit(&p->p_lock);
127 proc_t *p = ttoproc(t);
132 mutex_enter(&p->p_lock);
134 unsecs = p->p_cacct[LMS_USER];
135 snsecs = p->p_cacct[LMS_SYSTEM] + p->p_cacct[LMS_TRAP];
137 r.ru_majflt = p->p_cru.majflt;
138 r.ru_minflt = p->p_cru.minflt;
139 r.ru_nswap = p->p_cru.nswap;
140 r.ru_inblock = p->p_cru.inblock;
141 r.ru_oublock = p->p_cru.oublock;
142 r.ru_msgsnd = p->p_cru.msgsnd;
143 r.ru_msgrcv = p->p_cru.msgrcv;
144 r.ru_nsignals = p->p_cru.nsignals;
145 r.ru_nvcsw = p->p_cru.nvcsw;
146 r.ru_nivcsw = p->p_cru.nivcsw;
148 mutex_exit(&p->p_lock);