Lines Matching refs:AC_PROC
539 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) { in zsd_enable_cpu_stats()
544 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_enable_cpu_stats()
548 if (acctctl(AC_PROC | AC_FILE_SET, path, strlen(path) + 1) in zsd_enable_cpu_stats()
554 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) { in zsd_enable_cpu_stats()
571 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_disable_cpu_stats()
587 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) { in zsd_disable_cpu_stats()
591 if (acctctl(AC_PROC | AC_FILE_SET, NULL, 0) == -1) { in zsd_disable_cpu_stats()
595 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) { in zsd_disable_cpu_stats()
620 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_roll_exacct()
628 if (acctctl(AC_PROC | AC_FILE_SET, path, strlen(path) + 1) == -1) { in zsd_roll_exacct()
2553 ret = acctctl(AC_STATE_GET | AC_PROC, &state, sizeof (state)); in zsd_open_exacct()
2569 ret = acctctl(AC_FILE_GET | AC_PROC, path, sizeof (path)); in zsd_open_exacct()