/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_getrusage.c | 84 struct rusage ru; in ATF_TC_BODY() 105 struct rusage ru; in ATF_TC_BODY() 117 (void)memset(&ru, 0, sizeof(struct rusage)); in ATF_TC_BODY() 132 struct rusage ru1, ru2; in ATF_TC_BODY() 144 (void)memset(&ru1, 0, sizeof(struct rusage)); in ATF_TC_BODY() 145 (void)memset(&ru2, 0, sizeof(struct rusage)); in ATF_TC_BODY() 172 struct rusage ru; in ATF_TC_BODY() 192 (void)memset(&ru, 0, sizeof(struct rusage)); in ATF_TC_BODY()
|
/freebsd/sys/sys/ |
H A D | resourcevar.h | 55 struct rusage p_cru; /* Stats for reaped children. */ 178 void ruadd(struct rusage *ru, struct rusage_ext *rux, struct rusage *ru2, 180 void rucollect(struct rusage *ru, struct rusage *ru2); 181 void rufetch(struct proc *p, struct rusage *ru); 182 void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, 184 void rufetchtd(struct thread *td, struct rusage *ru);
|
H A D | resource.h | 70 struct rusage { struct 93 struct rusage wru_self; argument 94 struct rusage wru_children; 190 int getrusage(int, struct rusage *);
|
H A D | wait.h | 163 struct rusage; 165 pid_t wait3(int *, int, struct rusage *); 166 pid_t wait4(pid_t, int *, int, struct rusage *);
|
H A D | procdesc.h | 116 struct rusage;
|
/freebsd/lib/libc/sys/ |
H A D | wait3.c | 41 pid_t __wait3(int *, int, struct rusage *); 44 __wait3(int *istat, int options, struct rusage *rup) in __wait3()
|
H A D | wait4.c | 40 wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4()
|
H A D | wait.c |
|
H A D | waitpid.c |
|
/freebsd/sys/kern/ |
H A D | kern_racct.c | 101 SDT_PROBE_DEFINE3(racct, , rusage, add, 103 SDT_PROBE_DEFINE3(racct, , rusage, add__failure, 105 SDT_PROBE_DEFINE3(racct, , rusage, add__buf, 107 SDT_PROBE_DEFINE3(racct, , rusage, add__cred, 109 SDT_PROBE_DEFINE3(racct, , rusage, add__force, 111 SDT_PROBE_DEFINE3(racct, , rusage, set, 113 SDT_PROBE_DEFINE3(racct, , rusage, set__failure, 115 SDT_PROBE_DEFINE3(racct, , rusage, set__force, 117 SDT_PROBE_DEFINE3(racct, , rusage, sub, 119 SDT_PROBE_DEFINE3(racct, , rusage, sub__cre [all...] |
H A D | kern_exit.c | 855 struct rusage ru, *rup; in sys_wait4() 858 if (uap->rusage != NULL) in sys_wait4() 865 if (uap->rusage != NULL && error == 0 && td->td_retval[0] != 0) in sys_wait4() 866 error = copyout(&ru, uap->rusage, sizeof(struct rusage)); in sys_wait4() 1053 struct rusage *rup; in proc_to_reap() 1203 struct rusage *rusage) in kern_wait() argument 1226 if (rusage != NULL) in kern_wait() 1237 if (rusage != NULL) in kern_wait() 1238 *rusage = wru.wru_self; in kern_wait()
|
H A D | kern_resource.c | 972 rufetchtd(struct thread *td, struct rusage *ru) in rufetchtd() 1161 struct rusage *rusage; member 1167 struct rusage ru; in sys_getrusage() 1172 error = copyout(&ru, uap->rusage, sizeof(struct rusage)); in sys_getrusage() 1177 kern_getrusage(struct thread *td, int who, struct rusage *rup) in kern_getrusage() 1212 rucollect(struct rusage *ru, struct rusage *ru2) in rucollect() 1226 ruadd(struct rusage *ru, struct rusage_ext *rux, struct rusage *ru2, in ruadd() 1281 rufetch(struct proc *p, struct rusage *ru) in rufetch() 1302 rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, in rufetchcalc()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 55 static void bsd_to_linux_rusage(struct rusage *ru, struct l_rusage *lru); 66 bsd_to_linux_rusage(struct rusage *ru, struct l_rusage *lru) in bsd_to_linux_rusage() 90 linux_copyout_rusage(struct rusage *ru, void *uaddr) in linux_copyout_rusage() 454 struct rusage s; in linux_getrusage() 460 if (uap->rusage != NULL) in linux_getrusage() 461 error = linux_copyout_rusage(&s, uap->rusage); in linux_getrusage()
|
/freebsd/usr.bin/time/ |
H A D | time.c | 53 struct rusage *); 69 struct rusage ru; in main() 253 struct rusage *ru) in showtime()
|
/freebsd/tools/regression/environ/ |
H A D | timings.c | 66 struct rusage endUsage; in main() 67 struct rusage startUsage; in main()
|
/freebsd/contrib/tcpdump/lbl/ |
H A D | os-sunos4.h | 188 struct rusage; 193 pid_t wait3(int *, int, struct rusage *);
|
/freebsd/contrib/libpcap/lbl/ |
H A D | os-sunos4.h | 188 struct rusage; 193 pid_t wait3(int *, int, struct rusage *);
|
/freebsd/lib/libc/gen/ |
H A D | clock.c | 46 struct rusage ru; in clock()
|
H A D | times.c | 46 struct rusage ru; in times()
|
/freebsd/contrib/tcsh/ |
H A D | sh.time.c | 71 (void) getrusage(RUSAGE_SELF, (struct rusage *) &ru0); in settimes() 72 (void) getrusage(RUSAGE_CHILDREN, (struct rusage *) &ruch); in settimes() 107 (void) getrusage(RUSAGE_SELF, (struct rusage *) &ru1); in dotime() 108 (void) getrusage(RUSAGE_CHILDREN, (struct rusage *) &ruch); in dotime()
|
/freebsd/tools/test/stress2/misc/ |
H A D | ptrace.sh | 62 struct rusage ru;
|
H A D | vfork.sh | 83 struct rusage ru;
|
/freebsd/usr.sbin/pmc/ |
H A D | cmd_pmc_stat.c | 127 struct rusage *ru) in showtime() 245 pmc_stat_print_stat(struct rusage *ru) in pmc_stat_print_stat() 320 struct rusage ru; in pmc_stat_internal()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_syscalls.c | 556 __thr_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in __thr_wait4() argument 563 ret = __sys_wait4(pid, status, options, rusage); in __thr_wait4()
|
/freebsd/lib/libc/stdlib/ |
H A D | system.c | 99 pid = _wait4(savedpid, &pstat, 0, (struct rusage *)0); in __libc_system()
|