Searched refs:loadbuf (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | getloadavg.c | 42 int *loadbuf = &avenrun[0]; in getloadavg() local 51 loadbuf = &curproc->p_zone->zone_avenrun[0]; in getloadavg() 54 error = copyout(loadbuf, buf, nelem * sizeof (avenrun[0])); in getloadavg()
|
H A D | pset.c | 710 int loadbuf[LOADAVG_NSTATS]; in pset_getloadavg() local 724 error = cpupart_get_loadavg(pset, loadbuf, nelem); in pset_getloadavg() 726 if (!error && nelem && copyout(loadbuf, buf, nelem * sizeof (int)) != 0) in pset_getloadavg()
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_internal.c | 754 static char *loadbuf = NULL; variable 774 loadbuf = malloc(loadbuf_sz); in load_init() 775 if (loadbuf == NULL) in load_init() 806 free(loadbuf); in load_fini() 807 loadbuf = NULL; in load_fini() 826 if (scf_property_get_name(prop, loadbuf, loadbuf_sz) < 0) { in load_property() 842 iprop->sc_property_name = strdup(loadbuf); in load_property() 943 ssz = scf_value_get_as_string(load_val, loadbuf, in load_property() 949 ival->sc_u.sc_string = strdup(loadbuf); in load_property() 1001 if (scf_pg_get_name(pg, loadbuf, loadbuf_sz) < 0) { in load_pg_attrs() [all …]
|