Searched refs:p_stats (Results 1 - 17 of 17) sorted by relevance
/xnu-2782.1.97/bsd/sys/ |
H A D | resourcevar.h | 124 (proc_is64bit((p)) ? (p)->p_stats->user_p_prof.pr_addr \ 125 : CAST_USER_ADDR_T((p)->p_stats->p_prof.pr_addr)), \ 126 (proc_is64bit((p)) ? (p)->p_stats->user_p_prof.pr_ticks \ 127 : (p)->p_stats->p_prof.pr_ticks))
|
H A D | proc_internal.h | 244 struct pstats *p_stats; /* Accounting/statistics (PL). */ member in struct:proc
|
/xnu-2782.1.97/bsd/kern/ |
H A D | subr_prof.c | 384 for (prof = &p->p_stats->user_p_prof; prof; prof = prof->pr_next) { 394 p->p_stats->user_p_prof.pr_scale = 0; 404 for (prof = &p->p_stats->p_prof; prof; prof = prof->pr_next) { 414 p->p_stats->p_prof.pr_scale = 0;
|
H A D | kern_fork.c | 1095 FREE_ZONE(p->p_stats, sizeof *p->p_stats, M_PSTATS); 1134 MALLOC_ZONE(child_proc->p_stats, struct pstats *, 1135 sizeof *child_proc->p_stats, M_PSTATS, M_WAITOK); 1136 if (child_proc->p_stats == NULL) { 1137 printf("forkproc: M_SUBPROC zone exhausted (p_stats)\n"); 1146 FREE_ZONE(child_proc->p_stats, sizeof *child_proc->p_stats, M_PSTATS); 1156 FREE_ZONE(child_proc->p_stats, sizeof *child_proc->p_stats, M_PSTAT [all...] |
H A D | kern_exit.c | 821 calcru(p, &p->p_stats->p_ru.ru_utime, &p->p_stats->p_ru.ru_stime, NULL); 822 p->p_ru->ru = p->p_stats->p_ru; 824 ruadd(&(p->p_ru->ru), &p->p_stats->p_cru); 831 struct uprof *p0 = &p->p_stats->p_prof, *p1, *pn; 862 FREE_ZONE(p->p_stats, sizeof *p->p_stats, M_PSTATS); 863 p->p_stats = NULL; 910 ruadd(&pp->p_stats->p_cru, &p->p_ru->ru); 912 update_rusage_info_child(&pp->p_stats [all...] |
H A D | kern_clock.c | 372 tv = &(p->p_stats->p_ru.ru_stime); 394 st = p->p_stats->p_ru.ru_stime;
|
H A D | kern_resource.c | 1223 p->p_stats->p_ru.ru_minflt = (teventsinfo.faults - 1225 p->p_stats->p_ru.ru_majflt = teventsinfo.pageins; 1226 p->p_stats->p_ru.ru_nivcsw = (teventsinfo.csw - 1227 p->p_stats->p_ru.ru_nvcsw); 1228 if (p->p_stats->p_ru.ru_nivcsw < 0) 1229 p->p_stats->p_ru.ru_nivcsw = 0; 1231 p->p_stats->p_ru.ru_maxrss = tinfo.resident_size_max; 1255 rup = &p->p_stats->p_ru; 1266 rup = &p->p_stats->p_cru; 1691 assert(p->p_stats ! [all...] |
H A D | kern_synch.c | 175 if (p->p_stats != NULL) 176 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_nvcsw);
|
H A D | kern_acct.c | 280 rup = p->p_stats->p_ru;
|
H A D | bsd_init.c | 624 kernproc->p_stats = &pstats0; 958 microtime_with_abstime(&kernproc->p_start, &kernproc->p_stats->ps_start);
|
H A D | uipc_socket.c | 1840 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgsnd); 2249 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgsnd); 2751 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgrcv); 3650 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgrcv);
|
H A D | kern_sig.c | 2770 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_nsignals);
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_bio.c | 2110 if (p && p->p_stats) { 2111 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_inblock); /* XXX */ 2247 if (p && p->p_stats) { 2248 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */ 2273 if (p && p->p_stats) { 2274 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */ 2330 if (p && p->p_stats) { 2331 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | mptcp_usrreq.c | 1270 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgsnd);
|
H A D | mptcp_subr.c | 981 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgrcv);
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_bio.c | 2319 if (p && p->p_stats) 2320 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock);
|
H A D | nfs_vnops.c | 3326 if (p && p->p_stats) 3327 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock);
|
Completed in 194 milliseconds