Searched refs:AC_BUFSIZE (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/acctadm/ |
H A D | aconf.c | 78 if ((buf = malloc(AC_BUFSIZE)) == NULL) in aconf_init() 95 (void) memset(buf, 0, AC_BUFSIZE); in aconf_init() 96 if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1) in aconf_init() 99 tracked = buf2str(buf, AC_BUFSIZE, AC_ON, type); in aconf_init() 100 untracked = buf2str(buf, AC_BUFSIZE, AC_OFF, type); in aconf_init() 180 if ((buf = malloc(AC_BUFSIZE)) == NULL) { in aconf_setup() 185 (void) memset(buf, 0, AC_BUFSIZE); in aconf_setup() 190 if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) { in aconf_setup()
|
H A D | main.c | 351 if ((buf = malloc(AC_BUFSIZE)) == NULL) in main() 353 (void) memset(buf, 0, AC_BUFSIZE); in main() 354 if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1) { in main() 382 if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) { in main() 388 tracked = buf2str(buf, AC_BUFSIZE, AC_ON, type); in main() 389 untracked = buf2str(buf, AC_BUFSIZE, AC_OFF, type); in main()
|
H A D | res.h | 50 #define AC_BUFSIZE (sizeof (ac_res_t) * (AC_MAX_RES + 1)) macro
|