Searched refs:p_stats (Results 1 - 15 of 15) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | resourcevar.h | 125 (proc_is64bit((p)) ? (p)->p_stats->user_p_prof.pr_addr \ 126 : CAST_USER_ADDR_T((p)->p_stats->p_prof.pr_addr)), \ 127 (proc_is64bit((p)) ? (p)->p_stats->user_p_prof.pr_ticks \ 128 : (p)->p_stats->p_prof.pr_ticks))
|
H A D | proc_internal.h | 242 struct pstats *p_stats; /* Accounting/statistics (PL). */ member in struct:proc
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_fork.c | 1063 FREE_ZONE(p->p_stats, sizeof *p->p_stats, M_PSTATS); 1102 MALLOC_ZONE(child_proc->p_stats, struct pstats *, 1103 sizeof *child_proc->p_stats, M_PSTATS, M_WAITOK); 1104 if (child_proc->p_stats == NULL) { 1105 printf("forkproc: M_SUBPROC zone exhausted (p_stats)\n"); 1114 FREE_ZONE(child_proc->p_stats, sizeof *child_proc->p_stats, M_PSTATS); 1124 FREE_ZONE(child_proc->p_stats, sizeof *child_proc->p_stats, M_PSTAT [all...] |
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_exit.c | 738 calcru(p, &p->p_stats->p_ru.ru_utime, &p->p_stats->p_ru.ru_stime, NULL); 739 *p->p_ru = p->p_stats->p_ru; 741 ruadd(p->p_ru, &p->p_stats->p_cru); 748 struct uprof *p0 = &p->p_stats->p_prof, *p1, *pn; 779 FREE_ZONE(p->p_stats, sizeof *p->p_stats, M_PSTATS); 780 p->p_stats = NULL; 826 ruadd(&pp->p_stats->p_cru, p->p_ru); 1023 ruadd(&parent->p_stats [all...] |
H A D | kern_resource.c | 989 p->p_stats->p_ru.ru_minflt = (teventsinfo.faults - 991 p->p_stats->p_ru.ru_majflt = teventsinfo.pageins; 992 p->p_stats->p_ru.ru_nivcsw = (teventsinfo.csw - 993 p->p_stats->p_ru.ru_nvcsw); 994 if (p->p_stats->p_ru.ru_nivcsw < 0) 995 p->p_stats->p_ru.ru_nivcsw = 0; 997 p->p_stats->p_ru.ru_maxrss = tinfo.resident_size_max; 1021 rup = &p->p_stats->p_ru; 1032 rup = &p->p_stats->p_cru;
|
H A D | kern_clock.c | 347 tv = &(p->p_stats->p_ru.ru_stime); 369 st = p->p_stats->p_ru.ru_stime;
|
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 | 257 rup = p->p_stats->p_ru;
|
H A D | bsd_init.c | 625 kernproc->p_stats = &pstats0; 936 kernproc->p_stats->p_start = kernproc->p_start; /* for compat */
|
H A D | uipc_socket.c | 1560 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgsnd); 2122 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgrcv);
|
H A D | kern_sig.c | 2772 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_nsignals);
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_bio.c | 2087 if (p && p->p_stats) 2088 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_inblock); /* XXX */ 2223 if (p && p->p_stats) 2224 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */ 2248 if (p && p->p_stats) 2249 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */ 2304 if (p && p->p_stats) 2305 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */
|
/darwin-on-arm/xnu/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 | 3029 if (p && p->p_stats) 3030 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock);
|
Completed in 192 milliseconds