Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/acctadm/
H A Daconf.c78 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 Dmain.c351 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 Dres.h50 #define AC_BUFSIZE (sizeof (ac_res_t) * (AC_MAX_RES + 1)) macro