Home
last modified time | relevance | path

Searched refs:rusage (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetrusage.c56 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 Dwaitpid.c115 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 Dsh.time.c19 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 Dwait3.c59 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 Dsh.proc.h39 struct rusage p_rusage;
H A Dwait.h98 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
H A Dsh.proc.c63 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 Dpasswd.c202 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 Dpppoed.c189 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 Drusagesys.c40 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 Dwaitpid.c41 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 Dwait.h105 extern pid_t wait3(int *, int, struct rusage *);
110 extern pid_t wait4(pid_t, int *, int, struct rusage *);
H A Dresource.h171 struct rusage { struct
273 extern int getrusage(int, struct rusage *);
/illumos-gate/usr/src/ucbhead/sys/
H A Dwait.h153 extern pid_t wait4(pid_t, int *, int, struct rusage *);
154 extern pid_t wait3(int *, int, struct rusage *);
H A Drusage.h43 struct rusage { struct
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dwait4.c70 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 Dwait3.c52 wait3(int *status, int options, struct rusage *rp) in wait3()
/illumos-gate/usr/src/ucbcmd/
H A DMakefile52 rusage \
69 MSGSUBDIRS = biff install.d mkstr rusage shutdown
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Ddebug.c47 struct rusage ru; in debug_elapsed()
/illumos-gate/usr/src/ucbcmd/rusage/
H A DMakefile27 PROG= rusage
H A Drusage.c57 struct rusage ru; in main()
/illumos-gate/usr/src/man/man1b/
H A DMakefile45 rusage.1b \
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.h27 struct rusage; /* forward declaration to get gcc to shut up in wait.h */
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs303rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs…
304rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs…
305rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs…
306rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs…
335rusage)->ru_maxrss, (struct rusage)->ru_ixrss, (struct rusage)->ru_idrss, (struct rusage)->ru_isrs…
336rusage)->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 Din.comsat.c201 while (wait3((struct wait *)0, WNOHANG, (struct rusage *)0) > 0) in reapchildren()

12