Lines Matching refs:new_value
1902 int new_value, changed;
1903 int error = sysctl_io_number(req, aio_max_requests, sizeof(int), &new_value, &changed);
1906 if (new_value >= aio_max_requests_per_process)
1907 aio_max_requests = new_value;
1922 int new_value, changed;
1923 int error = sysctl_io_number(req, aio_max_requests_per_process, sizeof(int), &new_value, &changed);
1926 if (new_value <= aio_max_requests && new_value >= AIO_LISTIO_MAX)
1927 aio_max_requests_per_process = new_value;
1942 int new_value, changed;
1943 int error = sysctl_io_number(req, aio_worker_threads, sizeof(int), &new_value, &changed);
1946 if (new_value > aio_worker_threads ) {
1947 _aio_create_worker_threads((new_value - aio_worker_threads));
1948 aio_worker_threads = new_value;
1964 int new_value, changed;
1965 int error = sysctl_io_number(req, maxproc, sizeof(int), &new_value, &changed);
1967 AUDIT_ARG(value, new_value);
1970 if (new_value <= hard_maxproc && new_value > 0)
1971 maxproc = new_value;
2089 int new_value, changed;
2090 int error = sysctl_io_number(req, securelevel, sizeof(int), &new_value, &changed);
2092 if (!(new_value < securelevel && req->p->p_pid != 1)) {
2094 securelevel = new_value;
2240 int new_value, changed;
2241 int error = sysctl_io_number(req, do_coredump, sizeof(int), &new_value, &changed);
2243 if ((new_value == 0) || (new_value == 1))
2244 do_coredump = new_value;
2262 int new_value, changed;
2263 int error = sysctl_io_number(req, sugid_coredump, sizeof(int), &new_value, &changed);
2265 if ((new_value == 0) || (new_value == 1))
2266 sugid_coredump = new_value;
2282 int new_value, changed;
2283 int error = sysctl_io_number(req, (req->p->p_lflag & P_LDELAYTERM)? 1: 0, sizeof(int), &new_value, &changed);
2286 if (new_value)
2304 int new_value, old_value, changed;
2326 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
2329 if (new_value & 0x01)
2331 else if (new_value & 0x02)
2333 else if (new_value == 0)
2350 int new_value, old_value, changed;
2362 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
2365 switch (new_value) {
2399 int new_value, old_value, changed;
2408 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
2411 switch (new_value) {
2439 int new_value, changed;
2442 error = sysctl_io_number(req, nx_enabled, sizeof(nx_enabled), &new_value, &changed);
2454 nx_enabled = new_value;