/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getrusage.c | 56 int __rusagesys(int, struct rusage *); 59 getrusage(int who, struct rusage *rusage) in getrusage() argument 64 return (__rusagesys(_RUSAGESYS_GETRUSAGE, rusage)); in getrusage() 67 return (__rusagesys(_RUSAGESYS_GETRUSAGE_LWP, rusage)); in getrusage() 70 return (__rusagesys(_RUSAGESYS_GETRUSAGE_CHLD, rusage)); in getrusage()
|
H A D | waitpid.c | 115 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) in wait4() 125 (void) memset(rp, 0, sizeof (struct rusage)); in wait4() 186 wait3(int *stat_loc, int options, struct rusage *rp) in wait3()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.time.c | 19 static struct rusage ru0; 21 void ruadd(struct rusage *ru, struct rusage *ru2); 22 void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, 35 struct rusage ruch; in settimes() 54 struct rusage ru1, ruch; in dotime() 89 ruadd(struct rusage *ru, struct rusage *ru2) in ruadd() 122 prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, in prusage()
|
H A D | wait3.c | 59 csh_wait3(int *status, int options, struct rusage *rp) in csh_wait3() 67 memset((void *)rp, 0, sizeof (struct rusage)); in csh_wait3()
|
H A D | sh.proc.h | 39 struct rusage p_rusage;
|
H A D | wait.h | 98 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
|
H A D | sh.proc.c | 63 struct rusage ru; in pchild() 732 { static struct rusage zru; in pprint() 760 struct rusage ru; in ptprint() 761 static struct rusage zru; in ptprint()
|
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 202 static void rusage(void); 283 rusage(); in main() 702 rusage(); in ckarg() 716 rusage(); in ckarg() 736 rusage(); /* exit */ in ckarg() 746 rusage(); in ckarg() 765 rusage(); /* exit */ in ckarg() 778 rusage(); /* exit */ in ckarg() 797 rusage(); /* exit */ in ckarg() 810 rusage(); /* exit */ in ckarg() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 189 struct rusage rusage; in handle_int() local 203 if (getrusage(RUSAGE_SELF, &rusage) == 0) { in handle_int() 206 rusage.ru_utime.tv_sec, rusage.ru_utime.tv_usec, in handle_int() 207 rusage.ru_stime.tv_sec, rusage.ru_stime.tv_usec); in handle_int()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rusagesys.c | 40 struct rusage r; in getrusage() 46 bzero(&r, sizeof (struct rusage)); in getrusage() 125 struct rusage r; in getrusage_chld() 130 bzero(&r, sizeof (struct rusage)); in getrusage_chld() 187 struct rusage r; in getrusage_lwp() 193 bzero(&r, sizeof (struct rusage)); in getrusage_lwp()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | waitpid.c | 41 struct rusage; 43 extern int wait4(int, int*, int, struct rusage*); 57 extern int wait3(int*, int, struct rusage*);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | wait.h | 105 extern pid_t wait3(int *, int, struct rusage *); 110 extern pid_t wait4(pid_t, int *, int, struct rusage *);
|
H A D | resource.h | 171 struct rusage { struct 273 extern int getrusage(int, struct rusage *);
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | wait.h | 153 extern pid_t wait4(pid_t, int *, int, struct rusage *); 154 extern pid_t wait3(int *, int, struct rusage *);
|
H A D | rusage.h | 43 struct rusage { struct
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | wait4.c | 70 wait4(pid_t pid, int *status, int options, struct rusage *rp) in wait4() 85 (void) memset(rp, 0, sizeof (struct rusage)); in wait4()
|
H A D | wait3.c | 52 wait3(int *status, int options, struct rusage *rp) in wait3()
|
/illumos-gate/usr/src/ucbcmd/ |
H A D | Makefile | 52 rusage \ 69 MSGSUBDIRS = biff install.d mkstr rusage shutdown
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | debug.c | 47 struct rusage ru; in debug_elapsed()
|
/illumos-gate/usr/src/ucbcmd/rusage/ |
H A D | Makefile | 27 PROG= rusage
|
H A D | rusage.c | 57 struct rusage ru; in main()
|
/illumos-gate/usr/src/man/man1b/ |
H A D | Makefile | 45 rusage.1b \
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.h | 27 struct rusage; /* forward declaration to get gcc to shut up in wait.h */
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/ |
H A D | kernel.implicit_dependencies.no_structs | 303 …rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs… 304 …rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs… 305 …rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs… 306 …rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs… 335 …rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs… 336 …rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs…
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 201 while (wait3((struct wait *)0, WNOHANG, (struct rusage *)0) > 0) in reapchildren()
|