Lines Matching refs:p_ru
422 p->p_ru = rup;
787 if (p->p_ru != NULL) {
788 calcru(p, &p->p_stats->p_ru.ru_utime, &p->p_stats->p_ru.ru_stime, NULL);
789 p->p_ru->ru = p->p_stats->p_ru;
791 ruadd(&(p->p_ru->ru), &p->p_stats->p_cru);
860 if (p->p_ru != NULL) {
876 ruadd(&pp->p_stats->p_cru, &p->p_ru->ru);
878 update_rusage_info_child(&pp->p_stats->ri_child, &p->p_ru->ri);
1066 if (child->p_ru) {
1078 ruadd(&parent->p_stats->p_cru, &child->p_ru->ru);
1079 update_rusage_info_child(&parent->p_stats->ri_child, &child->p_ru->ri);
1081 FREE_ZONE(child->p_ru, sizeof *child->p_ru, M_ZOMBIE);
1082 child->p_ru = NULL;
1084 printf("Warning : lost p_ru for %s\n", child->p_comm);
1251 if (p->p_ru == NULL) {
1256 munge_user64_rusage(&p->p_ru->ru, &my_rusage);
1263 munge_user32_rusage(&p->p_ru->ru, &my_rusage);
1958 rup->ru = p->p_stats->p_ru;
1972 p->p_ru->ru.ru_utime.tv_sec = tinfo.user_time.seconds;
1973 p->p_ru->ru.ru_utime.tv_usec = tinfo.user_time.microseconds;
1974 p->p_ru->ru.ru_stime.tv_sec = tinfo.system_time.seconds;
1975 p->p_ru->ru.ru_stime.tv_usec = tinfo.system_time.microseconds;
1985 timeradd(&ut,&p->p_ru->ru.ru_utime,&p->p_ru->ru.ru_utime);
1986 timeradd(&st,&p->p_ru->ru.ru_stime,&p->p_ru->ru.ru_stime);
2000 p->p_ru = rup;