Searched refs:avenrun (Results 1 - 11 of 11) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/rpcsvc/
H A Drup.c65 long avenrun[3]; member in struct:entry
230 sw_var.avenrun);
232 putline(st.curtime.tv_sec, st.boottime, st.avenrun);
241 memcpy(entry[curentry].avenrun, st.avenrun, AVENSIZE);
248 memcpy(entry[curentry].avenrun, sw_var.avenrun,
268 putline(now, boottime, avenrun)
271 long avenrun[];
297 * (Found by looking in kernel for avenrun)
[all...]
H A Drstat_v2.x71 int avenrun[3];
H A Drstat_proc.c422 stats_s2.avenrun[0] =
423 stats_s3.avenrun[0] =
424 stats_s4.avenrun[0] = avenrun_1min_knp->value.ul;
425 stats_s2.avenrun[1] =
426 stats_s3.avenrun[1] =
427 stats_s4.avenrun[1] = avenrun_5min_knp->value.ul;
428 stats_s2.avenrun[2] =
429 stats_s3.avenrun[2] =
430 stats_s4.avenrun[2] = avenrun_15min_knp->value.ul;
432 fprintf(stderr, "avenrun
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/syscall/
H A Dgetloadavg.c37 * Extract elements of the raw avenrun array from the kernel for the
43 int *loadbuf = &avenrun[0];
64 error = copyout(loadbuf, buf, nelem * sizeof (avenrun[0]));
/opensolaris-onvv-gate/usr/src/head/rpcsvc/
H A Drstat.x123 int avenrun[3];
141 int avenrun[3];
/opensolaris-onvv-gate/usr/src/cmd/sendmail/src/
H A Dconf.c1377 #define LA_INT 2 /* read kmem for avenrun; interpret as long */
1378 #define LA_FLOAT 3 /* read kmem for avenrun; interpret as float */
1381 #define LA_SHORT 6 /* read kmem for avenrun; interpret as short */
1391 #define LA_LONGLONG 17 /* read kmem for avenrun; interpret as long long */
1419 # define LA_AVENRUN "avenrun"
1460 long avenrun[3]; local
1463 short avenrun[3]; local
1466 long long avenrun[3]; local
1468 double avenrun[3]; local
1527 read(kmem, (char *) avenrun, sizeo
1584 long avenrun[3]; local
1690 double avenrun[3]; local
1777 double avenrun; local
1823 int avenrun[3]; local
1936 short avenrun; local
2015 double avenrun[3]; local
2080 double *avenrun = (double *) call_data; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c372 double avenrun[3]; local
437 if (getloadavg(avenrun, 3) == -1) {
443 mywd.wd_loadav[i] = htonl((ulong_t)(avenrun[i] * 100));
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dsystm.h103 extern int avenrun[]; /* array of load averages */
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dclock.c95 * high-precision avenrun values. These are needed to make the
96 * regular avenrun values accurate.
99 int avenrun[3]; /* FSCALED average run queue lengths */ variable
884 * At the moment avenrun[] can only hold 31
889 * that we can use into avenrun[i]. This is
891 * avenrun[] is declared as an array of uint64[]
894 avenrun[i] = (int32_t)(hp_avenrun[i] >>
897 avenrun[i] = 0x7fffffff;
H A Dsched.c185 if (avenrun[0] >= 2 * FSCALE &&
H A Dkstat_fr.c805 int *loadavgp = &avenrun[0];

Completed in 137 milliseconds