Home
last modified time | relevance | path

Searched refs:ac_res_t (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c273 resset(ac_res_t *res, int id, int state) in resset()
275 ac_res_t *resp; in resset()
276 resp = (ac_res_t *)((uintptr_t)res + (sizeof (ac_res_t) * (id - 1))); in resset()
285 resget(ac_res_t *res, int id) in resget()
287 ac_res_t *resp; in resget()
288 resp = (ac_res_t *)((uintptr_t)res + (sizeof (ac_res_t) * (id - 1))); in resget()
297 str2buf(ac_res_t *buf, char *str, int state, int type) in str2buf()
345 buf2str(ac_res_t *buffer, size_t bufsz, int state, int type) in buf2str()
349 ac_res_t *buf, *cur; in buf2str()
H A Dres.h48 #define AC_BUFSIZE (sizeof (ac_res_t) * (AC_MAX_RES + 1))
50 extern void str2buf(ac_res_t *, char *, int, int);
51 extern char *buf2str(ac_res_t *, size_t, int, int);
H A Dmain.c346 ac_res_t *buf; in main()
/illumos-gate/usr/src/uts/common/syscall/
H A Dacctctl.c336 ac_res_t *res; in ac_res_set()
337 ac_res_t *tmp; in ac_res_set()
347 bufsz > sizeof (ac_res_t) * (AC_MAX_RES + 1) || in ac_res_set()
348 (bufsz / sizeof (ac_res_t)) * sizeof (ac_res_t) != bufsz) in ac_res_set()
387 ac_res_t *res; in ac_res_get()
388 ac_res_t *tmp; in ac_res_get()
389 size_t ressz = sizeof (ac_res_t) * (maxres + 1); in ac_res_get()
/illumos-gate/usr/src/uts/common/sys/
H A Dacctctl.h155 } ac_res_t; typedef
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c518 ac_res_t res[6]; in zsd_enable_cpu_stats()
565 ac_res_t res[6]; in zsd_disable_cpu_stats()