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

/illumos-gate/usr/src/cmd/acctadm/
H A Dres.h50 #define AC_BUFSIZE (sizeof (ac_res_t) * (AC_MAX_RES + 1)) macro
H A Daconf.c78 if ((buf = malloc(AC_BUFSIZE)) == NULL)
95 (void) memset(buf, 0, AC_BUFSIZE);
96 if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1)
99 tracked = buf2str(buf, AC_BUFSIZE, AC_ON, type);
100 untracked = buf2str(buf, AC_BUFSIZE, AC_OFF, type);
180 if ((buf = malloc(AC_BUFSIZE)) == NULL) {
185 (void) memset(buf, 0, AC_BUFSIZE);
190 if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) {
H A Dmain.c351 if ((buf = malloc(AC_BUFSIZE)) == NULL)
353 (void) memset(buf, 0, AC_BUFSIZE);
354 if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1) {
382 if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) {
388 tracked = buf2str(buf, AC_BUFSIZE, AC_ON, type);
389 untracked = buf2str(buf, AC_BUFSIZE, AC_OFF, type);

Completed in 79 milliseconds