Lines Matching refs:elem

503   int elem = 0;			/* Return value.  */  in getloadavg()  local
510 elem = -1; in getloadavg()
535 elem = -1; in getloadavg()
539 loadavg[elem++] = (double) kn->value.ul/FSCALE; in getloadavg()
546 loadavg[elem++] = (double) kn->value.ul/FSCALE; in getloadavg()
552 loadavg[elem++] = (double) kn->value.ul/FSCALE; in getloadavg()
569 loadavg[elem++] = dyn_info.psd_avg_1_min; in getloadavg()
571 loadavg[elem++] = dyn_info.psd_avg_5_min; in getloadavg()
573 loadavg[elem++] = dyn_info.psd_avg_15_min; in getloadavg()
605 for (elem = 0; elem < nelem && elem < count; elem++) in getloadavg()
606 loadavg[elem] = load_ave[elem]; in getloadavg()
608 return elem; in getloadavg()
634 for (elem = 0; elem < nelem; elem++) in getloadavg()
635 loadavg[elem] = (double) load_ave[elem] / (double) scale; in getloadavg()
637 return elem; in getloadavg()
668 loadavg[elem++] = (double) info.load_average / LOAD_SCALE; in getloadavg()
743 loadavg[elem++] = load / samples / cpus; in getloadavg()
756 loadavg[elem++] = load_info.one_minute; in getloadavg()
758 loadavg[elem++] = load_info.five_minute; in getloadavg()
760 loadavg[elem++] = load_info.fifteen_minute; in getloadavg()
781 loadavg[elem++] = load_ave[0] / 65536.0; in getloadavg()
783 loadavg[elem++] = load_ave[1] / 65536.0; in getloadavg()
785 loadavg[elem++] = load_ave[2] / 65536.0; in getloadavg()
793 loadavg[elem++] in getloadavg()
803 for ( ; elem < nelem; elem++) in getloadavg()
805 loadavg[elem] = 0.0; in getloadavg()
814 for (elem = 0; elem < nelem; elem++) in getloadavg()
815 loadavg[elem] in getloadavg()
817 ? load_ave.tl_avenrun.d[elem] in getloadavg()
818 : (load_ave.tl_avenrun.l[elem] / (double) load_ave.tl_lscale)); in getloadavg()
970 loadavg[elem++] = LDAV_CVT (load_ave[0]); in getloadavg()
972 loadavg[elem++] = LDAV_CVT (load_ave[1]); in getloadavg()
974 loadavg[elem++] = LDAV_CVT (load_ave[2]); in getloadavg()
980 return elem; in getloadavg()