Lines Matching defs:new_value
2106 int new_value, changed;
2107 int error = sysctl_io_number(req, aio_max_requests, sizeof(int), &new_value, &changed);
2110 if (new_value >= aio_max_requests_per_process && new_value <= AIO_MAX_REQUESTS)
2111 aio_max_requests = new_value;
2126 int new_value, changed;
2127 int error = sysctl_io_number(req, aio_max_requests_per_process, sizeof(int), &new_value, &changed);
2130 if (new_value <= aio_max_requests && new_value >= AIO_LISTIO_MAX)
2131 aio_max_requests_per_process = new_value;
2146 int new_value, changed;
2147 int error = sysctl_io_number(req, aio_worker_threads, sizeof(int), &new_value, &changed);
2150 if (new_value > aio_worker_threads ) {
2151 _aio_create_worker_threads((new_value - aio_worker_threads));
2152 aio_worker_threads = new_value;
2168 int new_value, changed;
2169 int error = sysctl_io_number(req, maxproc, sizeof(int), &new_value, &changed);
2171 AUDIT_ARG(value32, new_value);
2174 if (new_value <= hard_maxproc && new_value > 0)
2175 maxproc = new_value;
2360 int new_value, changed;
2361 int error = sysctl_io_number(req, securelevel, sizeof(int), &new_value, &changed);
2363 if (!(new_value < securelevel && req->p->p_pid != 1)) {
2365 securelevel = new_value;
2678 int new_value, changed;
2679 int error = sysctl_io_number(req, do_coredump, sizeof(int), &new_value, &changed);
2681 if ((new_value == 0) || (new_value == 1))
2682 do_coredump = new_value;
2700 int new_value, changed;
2701 int error = sysctl_io_number(req, sugid_coredump, sizeof(int), &new_value, &changed);
2703 if ((new_value == 0) || (new_value == 1))
2704 sugid_coredump = new_value;
2720 int new_value, changed;
2721 int error = sysctl_io_number(req, (req->p->p_lflag & P_LDELAYTERM)? 1: 0, sizeof(int), &new_value, &changed);
2724 if (new_value)
2744 int new_value, old_value, changed;
2756 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
2759 switch (new_value) {
2792 int new_value, old_value;
2800 if ((error = sysctl_io_number(req, old_value, sizeof(old_value), &new_value, NULL)) != 0)
2803 percent = new_value & 0xff; /* low 8 bytes for perent */
2804 ms_refill = (new_value >> 8) & 0xffffff; /* upper 24bytes represent ms refill value */
2827 int new_value, old_value, changed;
2836 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
2839 switch (new_value) {
2867 int new_value, changed;
2870 error = sysctl_io_number(req, nx_enabled, sizeof(nx_enabled), &new_value, &changed);
2882 nx_enabled = new_value;
2919 int old_value=0, new_value=0, error=0;
2923 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, NULL);
2925 return (vm_toggle_entry_reuse(new_value, NULL));