Searched refs:loadbuf (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dgetloadavg.c42 int *loadbuf = &avenrun[0]; local
51 loadbuf = &curproc->p_zone->zone_avenrun[0];
54 error = copyout(loadbuf, buf, nelem * sizeof (avenrun[0]));
H A Dpset.c710 int loadbuf[LOADAVG_NSTATS]; local
724 error = cpupart_get_loadavg(pset, loadbuf, nelem);
726 if (!error && nelem && copyout(loadbuf, buf, nelem * sizeof (int)) != 0)
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_internal.c754 static char *loadbuf = NULL; variable
774 loadbuf = malloc(loadbuf_sz);
775 if (loadbuf == NULL)
806 free(loadbuf);
807 loadbuf = NULL;
826 if (scf_property_get_name(prop, loadbuf, loadbuf_sz) < 0) {
842 iprop->sc_property_name = strdup(loadbuf);
943 ssz = scf_value_get_as_string(load_val, loadbuf,
949 ival->sc_u.sc_string = strdup(loadbuf);
1001 if (scf_pg_get_name(pg, loadbuf, loadbuf_s
[all...]

Completed in 68 milliseconds