Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/lib/libc/port/gen/
H A Dgetrusage.c58 int __rusagesys(int, struct rusage *);
61 getrusage(int who, struct rusage *rusage) in getrusage() argument
66 return (__rusagesys(_RUSAGESYS_GETRUSAGE, rusage)); in getrusage()
69 return (__rusagesys(_RUSAGESYS_GETRUSAGE_LWP, rusage)); in getrusage()
72 return (__rusagesys(_RUSAGESYS_GETRUSAGE_CHLD, rusage)); in getrusage()
H A Dwaitpid.c117 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) in wait4()
127 (void) memset(rp, 0, sizeof (struct rusage)); in wait4()
188 wait3(int *stat_loc, int options, struct rusage *rp) in wait3()
/titanic_44/usr/src/cmd/csh/
H A Dsh.time.c20 void ruadd(struct rusage *ru, struct rusage *ru2);
21 void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e,
34 struct rusage ruch; in settimes()
53 struct rusage ru1, ruch; in dotime()
88 ruadd(struct rusage *ru, struct rusage *ru2) in ruadd()
121 prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, in prusage()
H A Dwait3.c61 csh_wait3(int *status, int options, struct rusage *rp) in csh_wait3()
69 memset((void *)rp, 0, sizeof (struct rusage)); in csh_wait3()
H A Dsh.proc.h41 struct rusage p_rusage;
H A Dwait.h100 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
/titanic_44/usr/src/cmd/passwd/
H A Dpasswd.c200 static void rusage(void);
281 rusage(); in main()
700 rusage(); in ckarg()
714 rusage(); in ckarg()
734 rusage(); /* exit */ in ckarg()
744 rusage(); in ckarg()
763 rusage(); /* exit */ in ckarg()
776 rusage(); /* exit */ in ckarg()
795 rusage(); /* exit */ in ckarg()
808 rusage(); /* exit */ in ckarg()
[all …]
/titanic_44/usr/src/lib/libbc/libc/compat/4.1/
H A Dvtimes.c49 static void getvtimes(struct rusage *, struct vtimes *);
55 struct rusage ru; in vtimes()
71 getvtimes(struct rusage *aru, struct vtimes *avt) in getvtimes()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/lib/libast/common/comp/
H A Dwaitpid.c41 struct rusage;
43 extern int wait4(int, int*, int, struct rusage*);
57 extern int wait3(int*, int, struct rusage*);
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dwait.c158 wait3(int *status, int options, struct rusage *rp) in wait3()
169 wait4(int pid, int *status, int options, struct rusage *rp) in wait4()
184 memset(rp, 0, sizeof(struct rusage)); in wait4()
/titanic_44/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 *);
/titanic_44/usr/src/ucblib/libucb/port/sys/
H A Dwait4.c72 wait4(pid_t pid, int *status, int options, struct rusage *rp) in wait4()
87 (void) memset(rp, 0, sizeof (struct rusage)); in wait4()
H A Dwait3.c54 wait3(int *status, int options, struct rusage *rp) in wait3()
/titanic_44/usr/src/ucbhead/sys/
H A Dwait.h155 extern pid_t wait4(pid_t, int *, int, struct rusage *);
156 extern pid_t wait3(int *, int, struct rusage *);
H A Drusage.h45 struct rusage { struct
/titanic_44/usr/src/ucbcmd/
H A DMakefile52 rusage \
71 MSGSUBDIRS = biff install.d mkstr rusage shutdown
/titanic_44/usr/src/lib/libast/common/misc/
H A Ddebug.c47 struct rusage ru; in debug_elapsed()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dresource.h49 struct rusage { struct
/titanic_44/usr/src/ucbcmd/rusage/
H A DMakefile26 PROG= rusage
H A Drusage.c59 struct rusage ru; in main()
/titanic_44/usr/src/man/man1b/
H A DMakefile45 rusage.1b \
/titanic_44/usr/src/cmd/sendmail/src/
H A Dconf.h27 struct rusage; /* forward declaration to get gcc to shut up in wait.h */

12