Searched refs:rusage (Results 51 - 75 of 103) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.cpp69 unsigned struct_rusage_sz = sizeof(struct rusage);
H A Dsanitizer_platform_limits_solaris.cpp69 unsigned struct_rusage_sz = sizeof(struct rusage);
H A Dsanitizer_linux_libcdep.cpp611 struct rusage usage;
H A Dsanitizer_platform_limits_freebsd.cpp97 unsigned struct_rusage_sz = sizeof(struct rusage);
H A Dsanitizer_common_interceptors.inc2424 INTERCEPTOR(int, wait3, int *status, int options, void *rusage) {
2426 COMMON_INTERCEPTOR_ENTER(ctx, wait3, status, options, rusage);
2430 int res = REAL(wait3)(status, options, rusage);
2433 if (rusage) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, rusage, struct_rusage_sz);
2438 INTERCEPTOR(int, __wait4, int pid, int *status, int options, void *rusage) {
2440 COMMON_INTERCEPTOR_ENTER(ctx, __wait4, pid, status, options, rusage);
2444 int res = REAL(__wait4)(pid, status, options, rusage);
2447 if (rusage) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, rusage, struct_rusage_s
[all...]
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_solaris.c261 struct rusage ru;
H A Dgetentropy_linux.c340 struct rusage ru;
H A Dgetentropy_osx.c212 struct rusage ru;
/freebsd-11-stable/bin/ps/
H A Dkeyword.c59 #define ROFF(x) offsetof(struct rusage, x)
/freebsd-11-stable/sys/kern/
H A Dkern_acct.c346 struct rusage ru;
H A Dkern_clock.c689 * Statistics clock. Updates rusage information and calls the scheduler
704 struct rusage *ru;
/freebsd-11-stable/usr.sbin/cron/cron/
H A Dcron.c491 pid = wait3(&waiter, WNOHANG, (struct rusage *)0);
/freebsd-11-stable/usr.sbin/rpc.statd/
H A Dstatd.c644 pid = wait4(-1, &status, WNOHANG, (struct rusage*)0);
/freebsd-11-stable/sys/amd64/linux/
H A Dlinux_proto.h290 char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)]; member in struct:linux_wait4_args
805 char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)]; member in struct:linux_waitid_args
H A Dlinux_systrace_args.c551 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
854 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
1748 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */
3434 p = "struct rusage *";
3936 p = "struct rusage *";
5201 p = "struct rusage *";
/freebsd-11-stable/sys/sys/
H A Dproc.h190 * Resource usage extension. The times in rusage structs in the kernel are
193 * userland asks for rusage info. Backwards compatibility prevents putting
194 * this directly in the user-visible rusage struct.
262 struct rusage td_ru; /* (t) rusage information. */
263 struct rusage_ext td_rux; /* (t) Internal rusage information. */
593 struct rusage p_ru; /* (a) Exit information. */
H A Dsysproto.h67 char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)]; member in struct:wait4_args
386 char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)]; member in struct:getrusage_args
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c141 freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32)
167 struct rusage ru, *rup;
169 if (uap->rusage != NULL)
178 if (uap->rusage != NULL && error == 0) {
180 error = copyout(&ru32, uap->rusage, sizeof(ru32));
723 struct rusage s;
729 error = copyout(&s32, uap->rusage, sizeof(s32));
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_misc.c107 static int svr4_setinfo (pid_t , struct rusage *, int, svr4_siginfo_t *);
1131 struct rusage *ru;
1185 struct rusage ru;
/freebsd-11-stable/contrib/gcc/
H A Dsys-protos.h495 extern int getrusage(int, struct rusage *);
1238 extern pid_t wait3(union wait *, int, struct rusage *);
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dhomedir.c293 while ((child = wait3(&status, WNOHANG, (struct rusage *) NULL)) > 0) {
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_time.c250 struct rusage ru;
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux.h635 int linux_copyout_rusage(struct rusage *ru, void *uaddr);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp495 int __dfsw_getrusage(int who, struct rusage *usage, dfsan_label who_label,
499 dfsan_set_label(0, usage, sizeof(struct rusage));
/freebsd-11-stable/bin/sh/
H A Deval.c1363 struct rusage ru;

Completed in 255 milliseconds

12345