newp 620 arch/i386/i386/bios.c bios_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 638 arch/i386/i386/bios.c return sysctl_rdint(oldp, oldlenp, newp, biosdev);
newp 644 arch/i386/i386/bios.c return sysctl_rdstruct(oldp, oldlenp, newp, pdi, sizeof(*pdi));
newp 646 arch/i386/i386/bios.c return sysctl_rdint(oldp, oldlenp, newp, bios_cksumlen);
newp 3270 arch/i386/i386/machdep.c cpu_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 3284 arch/i386/i386/machdep.c return sysctl_rdstruct(oldp, oldlenp, newp, &dev, sizeof(dev));
newp 3288 arch/i386/i386/machdep.c newp, newlen, p);
newp 3294 arch/i386/i386/machdep.c return sysctl_rdstruct(oldp, oldlenp, newp, &dev, sizeof(dev));
newp 3299 arch/i386/i386/machdep.c return sysctl_rdstruct(oldp, oldlenp, newp, &dev, sizeof(dev));
newp 3303 arch/i386/i386/machdep.c return (sysctl_int_lower(oldp, oldlenp, newp, newlen,
newp 3306 arch/i386/i386/machdep.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 3309 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp, 0));
newp 3312 arch/i386/i386/machdep.c return (sysctl_rdstring(oldp, oldlenp, newp, cpu_vendor));
newp 3314 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp, cpu_id));
newp 3316 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp, curcpu()->ci_feature_flags));
newp 3319 arch/i386/i386/machdep.c return (sysctl_int(oldp, oldlenp, newp, newlen, &cpu_apmwarn));
newp 3321 arch/i386/i386/machdep.c return (sysctl_int(oldp, oldlenp, newp, newlen, &cpu_apmhalt));
newp 3325 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp,
newp 3328 arch/i386/i386/machdep.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 3332 arch/i386/i386/machdep.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 3336 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp, i386_use_fxsave));
newp 3338 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp, i386_has_sse));
newp 3340 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp, i386_has_sse2));
newp 3342 arch/i386/i386/machdep.c return (sysctl_rdint(oldp, oldlenp, newp, i386_has_xcrypt));
newp 39 ddb/db_usrreq.c ddb_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 51 ddb/db_usrreq.c return sysctl_int(oldp, oldlenp, newp, newlen, &db_radix);
newp 53 ddb/db_usrreq.c return sysctl_int(oldp, oldlenp, newp, newlen, &db_max_width);
newp 55 ddb/db_usrreq.c return sysctl_int(oldp, oldlenp, newp, newlen, &db_tab_stop_width);
newp 57 ddb/db_usrreq.c return sysctl_int(oldp, oldlenp, newp, newlen, &db_max_line);
newp 60 ddb/db_usrreq.c return (sysctl_int_lower(oldp, oldlenp, newp, newlen,
newp 64 ddb/db_usrreq.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen,
newp 65 ddb/db_usrreq.c &ctlval)) || newp == NULL)
newp 75 ddb/db_usrreq.c return (sysctl_int_lower(oldp, oldlenp, newp, newlen,
newp 79 ddb/db_usrreq.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen,
newp 80 ddb/db_usrreq.c &ctlval)) || newp == NULL)
newp 89 ddb/db_usrreq.c return (sysctl_int(oldp, oldlenp, newp, newlen, &db_log));
newp 668 isofs/udf/udf_vfsops.c udf_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 547 kern/kern_malloc.c sysctl_malloc(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 573 kern/kern_malloc.c return (sysctl_rdstring(oldp, oldlenp, newp, buckstring));
newp 578 kern/kern_malloc.c return (sysctl_rdstruct(oldp, oldlenp, newp, &kb, sizeof(kb)));
newp 583 kern/kern_malloc.c return (sysctl_rdstruct(oldp, oldlenp, newp,
newp 621 kern/kern_malloc.c return (sysctl_rdstring(oldp, oldlenp, newp, memall));
newp 238 kern/kern_sysctl.c kern_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 282 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, ostype));
newp 284 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, osrelease));
newp 286 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, OpenBSD));
newp 288 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, osversion));
newp 290 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, version));
newp 292 kern/kern_sysctl.c return(sysctl_int(oldp, oldlenp, newp, newlen, &maxvnodes));
newp 294 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &maxproc));
newp 296 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &maxfiles));
newp 298 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, nfiles));
newp 300 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, tty_count));
newp 302 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, numvnodes));
newp 304 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, ARG_MAX));
newp 306 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, nselcoll));
newp 309 kern/kern_sysctl.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &level)) ||
newp 310 kern/kern_sysctl.c newp == NULL)
newp 318 kern/kern_sysctl.c error = sysctl_tstring(oldp, oldlenp, newp, newlen,
newp 320 kern/kern_sysctl.c if (newp && !error)
newp 324 kern/kern_sysctl.c error = sysctl_tstring(oldp, oldlenp, newp, newlen,
newp 326 kern/kern_sysctl.c if (newp && !error)
newp 331 kern/kern_sysctl.c error = sysctl_int(oldp, oldlenp, newp, newlen, &inthostid);
newp 337 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, &boottime,
newp 352 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, &mbstat,
newp 357 kern/kern_sysctl.c newp, newlen));
newp 360 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, _POSIX_VERSION));
newp 362 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, NGROUPS_MAX));
newp 364 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 1));
newp 367 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 1));
newp 369 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 0));
newp 372 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, MAXPARTITIONS));
newp 374 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, RAW_PART));
newp 376 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &somaxconn));
newp 378 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &sominconn));
newp 380 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &usermount));
newp 382 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, &rndstats,
newp 397 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &nosuidcoredump));
newp 399 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 1));
newp 402 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 1));
newp 404 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 0));
newp 408 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 1));
newp 410 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 0));
newp 414 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 1));
newp 416 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, 0));
newp 425 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, msgbufp->msg_bufs));
newp 430 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, msgbufp,
newp 434 kern/kern_sysctl.c newp, newlen, p));
newp 448 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, &cp_time,
newp 452 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, &nchstats,
newp 455 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, &forkstat,
newp 459 kern/kern_sysctl.c newp, newlen));
newp 461 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, fscale));
newp 463 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, ccpu));
newp 465 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, nprocs));
newp 470 kern/kern_sysctl.c error = sysctl_int(oldp, oldlenp, newp, newlen, &stackgap);
newp 487 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &usercrypto));
newp 489 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 492 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 496 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 501 kern/kern_sysctl.c newp, newlen));
newp 506 kern/kern_sysctl.c newp, newlen));
newp 513 kern/kern_sysctl.c newp, newlen));
newp 516 kern/kern_sysctl.c newp, newlen));
newp 519 kern/kern_sysctl.c error = sysctl_int(oldp, oldlenp, newp, newlen, &nmbclust);
newp 526 kern/kern_sysctl.c newp, newlen));
newp 531 kern/kern_sysctl.c newp, newlen));
newp 534 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, &maxlocksperuid));
newp 537 kern/kern_sysctl.c newp, newlen));
newp 550 kern/kern_sysctl.c hw_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 562 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, machine));
newp 564 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, cpu_model));
newp 566 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, ncpus));
newp 568 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, BYTE_ORDER));
newp 570 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, ctob(physmem)));
newp 572 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp,
newp 575 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, PAGE_SIZE));
newp 581 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp,
newp 584 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, ""));
newp 589 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp, diskstats,
newp 592 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, disk_count));
newp 596 kern/kern_sysctl.c newp, newlen));
newp 604 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, cpuspeed));
newp 608 kern/kern_sysctl.c err = sysctl_int(oldp, oldlenp, newp, newlen, &perflevel);
newp 615 kern/kern_sysctl.c if (newp)
newp 620 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp,
newp 626 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, hw_prod));
newp 631 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, hw_ver));
newp 636 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp,
newp 642 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, hw_uuid));
newp 667 kern/kern_sysctl.c debug_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 680 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, cdp->debugname));
newp 682 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, cdp->debugvar));
newp 694 kern/kern_sysctl.c sysctl_int_lower(void *oldp, size_t *oldlenp, void *newp, size_t newlen, int *valp)
newp 699 kern/kern_sysctl.c if (newp == NULL)
newp 700 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, *valp));
newp 702 kern/kern_sysctl.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)))
newp 715 kern/kern_sysctl.c sysctl_int(void *oldp, size_t *oldlenp, void *newp, size_t newlen, int *valp)
newp 721 kern/kern_sysctl.c if (newp && newlen != sizeof(int))
newp 726 kern/kern_sysctl.c if (error == 0 && newp)
newp 727 kern/kern_sysctl.c error = copyin(newp, valp, sizeof(int));
newp 735 kern/kern_sysctl.c sysctl_rdint(void *oldp, size_t *oldlenp, void *newp, int val)
newp 741 kern/kern_sysctl.c if (newp)
newp 754 kern/kern_sysctl.c size_t *oldlenp, void *newp, size_t newlen)
newp 760 kern/kern_sysctl.c return (sysctl_int(oldp, oldlenp, newp, newlen, valpp[name[0]]));
newp 768 kern/kern_sysctl.c sysctl_quad(void *oldp, size_t *oldlenp, void *newp, size_t newlen,
newp 775 kern/kern_sysctl.c if (newp && newlen != sizeof(int64_t))
newp 780 kern/kern_sysctl.c if (error == 0 && newp)
newp 781 kern/kern_sysctl.c error = copyin(newp, valp, sizeof(int64_t));
newp 789 kern/kern_sysctl.c sysctl_rdquad(void *oldp, size_t *oldlenp, void *newp, int64_t val)
newp 795 kern/kern_sysctl.c if (newp)
newp 808 kern/kern_sysctl.c sysctl_string(void *oldp, size_t *oldlenp, void *newp, size_t newlen, char *str,
newp 811 kern/kern_sysctl.c return sysctl__string(oldp, oldlenp, newp, newlen, str, maxlen, 0);
newp 815 kern/kern_sysctl.c sysctl_tstring(void *oldp, size_t *oldlenp, void *newp, size_t newlen,
newp 818 kern/kern_sysctl.c return sysctl__string(oldp, oldlenp, newp, newlen, str, maxlen, 1);
newp 822 kern/kern_sysctl.c sysctl__string(void *oldp, size_t *oldlenp, void *newp, size_t newlen,
newp 833 kern/kern_sysctl.c if (newp && newlen >= maxlen)
newp 847 kern/kern_sysctl.c if (error == 0 && newp) {
newp 848 kern/kern_sysctl.c error = copyin(newp, str, newlen);
newp 858 kern/kern_sysctl.c sysctl_rdstring(void *oldp, size_t *oldlenp, void *newp, const char *str)
newp 865 kern/kern_sysctl.c if (newp)
newp 878 kern/kern_sysctl.c sysctl_struct(void *oldp, size_t *oldlenp, void *newp, size_t newlen, void *sp,
newp 885 kern/kern_sysctl.c if (newp && newlen > len)
newp 891 kern/kern_sysctl.c if (error == 0 && newp)
newp 892 kern/kern_sysctl.c error = copyin(newp, sp, len);
newp 901 kern/kern_sysctl.c sysctl_rdstruct(void *oldp, size_t *oldlenp, void *newp, const void *sp,
newp 908 kern/kern_sysctl.c if (newp)
newp 1775 kern/kern_sysctl.c void *newp, size_t newlen)
newp 1801 kern/kern_sysctl.c ret = sysctl_rdstruct(oldp, oldlenp, newp, usd,
newp 1826 kern/kern_sysctl.c ret = sysctl_rdstruct(oldp, oldlenp, newp, us,
newp 1834 kern/kern_sysctl.c void *newp, size_t newlen)
newp 1842 kern/kern_sysctl.c return (sysctl_rdint(oldp, oldlenp, newp, nexecs));
newp 1855 kern/kern_sysctl.c return (sysctl_rdstring(oldp, oldlenp, newp, e->e_name));
newp 1858 kern/kern_sysctl.c error = sysctl_int(oldp, oldlenp, newp, newlen,
newp 1871 kern/kern_sysctl.c void *newp, size_t newlen)
newp 1889 kern/kern_sysctl.c return (sysctl_rdstruct(oldp, oldlenp, newp,
newp 436 kern/kern_tc.c sysctl_tc_hardware(void *oldp, size_t *oldlenp, void *newp, size_t newlen)
newp 445 kern/kern_tc.c error = sysctl_string(oldp, oldlenp, newp, newlen, newname, sizeof(newname));
newp 464 kern/kern_tc.c sysctl_tc_choice(void *oldp, size_t *oldlenp, void *newp, size_t newlen)
newp 483 kern/kern_tc.c error = sysctl_rdstring(oldp, oldlenp, newp, choices);
newp 539 kern/kern_tc.c void *newp, size_t newlen)
newp 546 kern/kern_tc.c return (sysctl_rdint(oldp, oldlenp, newp, tc_tick));
newp 548 kern/kern_tc.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 551 kern/kern_tc.c return (sysctl_tc_hardware(oldp, oldlenp, newp, newlen));
newp 553 kern/kern_tc.c return (sysctl_tc_choice(oldp, oldlenp, newp, newlen));
newp 75 kern/kern_watchdog.c sysctl_wdog(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 86 kern/kern_watchdog.c error = sysctl_int(oldp, oldlenp, newp, newlen, &period);
newp 89 kern/kern_watchdog.c if (newp) {
newp 95 kern/kern_watchdog.c error = sysctl_int(oldp, oldlenp, newp, newlen, &wdog_auto);
newp 342 kern/sched_bsd.c preempt(struct proc *newp)
newp 350 kern/sched_bsd.c if (newp != NULL)
newp 82 kern/subr_evcount.c void *newp, size_t newlen)
newp 88 kern/subr_evcount.c if (newp != NULL)
newp 100 kern/subr_prof.c sysctl_doprof(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 112 kern/subr_prof.c error = sysctl_int(oldp, oldlenp, newp, newlen, &gp->state);
newp 121 kern/subr_prof.c return (sysctl_struct(oldp, oldlenp, newp, newlen,
newp 124 kern/subr_prof.c return (sysctl_struct(oldp, oldlenp, newp, newlen,
newp 127 kern/subr_prof.c return (sysctl_struct(oldp, oldlenp, newp, newlen,
newp 130 kern/subr_prof.c return (sysctl_rdstruct(oldp, oldlenp, newp, gp, sizeof *gp));
newp 819 kern/sysv_sem.c void *newp, size_t newlen)
newp 845 kern/sysv_sem.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 872 kern/sysv_sem.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 881 kern/sysv_sem.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 890 kern/sysv_sem.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 899 kern/sysv_sem.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 907 kern/sysv_sem.c return (sysctl_rdint(oldp, oldlenp, newp, seminfo.semume));
newp 909 kern/sysv_sem.c return (sysctl_rdint(oldp, oldlenp, newp, seminfo.semusz));
newp 911 kern/sysv_sem.c return (sysctl_rdint(oldp, oldlenp, newp, seminfo.semvmx));
newp 913 kern/sysv_sem.c return (sysctl_rdint(oldp, oldlenp, newp, seminfo.semaem));
newp 555 kern/sysv_shm.c void *newp, size_t newlen)
newp 576 kern/sysv_shm.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen,
newp 577 kern/sysv_shm.c &shminfo.shmmax)) || newp == NULL)
newp 586 kern/sysv_shm.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 595 kern/sysv_shm.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 622 kern/sysv_shm.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 631 kern/sysv_shm.c if ((error = sysctl_int(oldp, oldlenp, newp, newlen, &val)) ||
newp 2308 kern/tty.c sysctl_tty(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 2318 kern/tty.c return (sysctl_rdquad(oldp, oldlenp, newp, tk_nin));
newp 2320 kern/tty.c return (sysctl_rdquad(oldp, oldlenp, newp, tk_nout));
newp 2322 kern/tty.c return (sysctl_rdquad(oldp, oldlenp, newp, tk_rawcc));
newp 2324 kern/tty.c return (sysctl_rdquad(oldp, oldlenp, newp, tk_cancc));
newp 2329 kern/tty.c err = sysctl_rdstruct(oldp, oldlenp, newp, ttystats,
newp 2335 kern/tty.c return (sysctl_pty(name, namelen, oldp, oldlenp, newp, newlen));
newp 930 kern/tty_pty.c sysctl_pty(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 940 kern/tty_pty.c if (!newp)
newp 941 kern/tty_pty.c return (sysctl_rdint(oldp, oldlenp, newp, maxptys));
newp 944 kern/tty_pty.c error = sysctl_int(oldp, oldlenp, newp, newlen, &maxptys);
newp 956 kern/tty_pty.c return (sysctl_rdint(oldp, oldlenp, newp, npty));
newp 959 kern/tty_pty.c return (sysctl_int(oldp, oldlenp, newp, newlen, &tty_gid));
newp 179 kern/uipc_domain.c net_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 200 kern/uipc_domain.c newp, newlen));
newp 212 kern/uipc_domain.c oldp, oldlenp, newp, newlen));
newp 1252 kern/vfs_subr.c vfs_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 1271 kern/vfs_subr.c oldp, oldlenp, newp, newlen, p));
newp 1276 kern/vfs_subr.c return (sysctl_rdint(oldp, oldlenp, newp, maxvfsconf));
newp 1296 kern/vfs_subr.c ret = sysctl_rdstruct(oldp, oldlenp, newp, tmpvfsp,
newp 1731 kern/vfs_subr.c void *newp, size_t newlen, struct proc *p)
newp 1739 kern/vfs_subr.c if (newp && securelevel > 0)
newp 1741 kern/vfs_subr.c return(sysctl_int(oldp, oldlenp, newp, newlen, &suid_clear));
newp 1752 kern/vfs_subr.c fs_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 1764 kern/vfs_subr.c return (*fn)(name + 1, namelen - 1, oldp, oldlenp, newp, newlen, p);
newp 1436 net/bpf.c bpf_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 1448 net/bpf.c error = sysctl_int(oldp, oldlenp, newp, newlen, &newval);
newp 1457 net/bpf.c error = sysctl_int(oldp, oldlenp, newp, newlen, &newval);
newp 1948 net/if.c void *newp, size_t newlen, struct ifqueue *ifq)
newp 1956 net/if.c return (sysctl_rdint(oldp, oldlenp, newp, ifq->ifq_len));
newp 1958 net/if.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 1961 net/if.c return (sysctl_rdint(oldp, oldlenp, newp, ifq->ifq_drops));
newp 799 netinet/ip_carp.c carp_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 809 netinet/ip_carp.c return sysctl_int(oldp, oldlenp, newp, newlen, &carp_opts[name[0]]);
newp 414 netinet/ip_ether.c etherip_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 417 netinet/ip_ether.c void *oldp, *newp;
newp 426 netinet/ip_ether.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 353 netinet/ip_gre.c gre_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 358 netinet/ip_gre.c void *newp;
newp 367 netinet/ip_gre.c return (sysctl_int(oldp, oldlenp, newp, newlen, &gre_allow));
newp 369 netinet/ip_gre.c return (sysctl_int(oldp, oldlenp, newp, newlen, &gre_wccp));
newp 377 netinet/ip_gre.c ipmobile_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 382 netinet/ip_gre.c void *newp;
newp 391 netinet/ip_gre.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 815 netinet/ip_icmp.c icmp_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 827 netinet/ip_icmp.c error = sysctl_int(oldp, oldlenp, newp, newlen,
newp 848 netinet/ip_icmp.c oldp, oldlenp, newp, newlen));
newp 1608 netinet/ip_input.c ip_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 1613 netinet/ip_input.c void *newp;
newp 1625 netinet/ip_input.c return (sysctl_int(oldp, oldlenp, newp, newlen, &ip_mtu));
newp 1631 netinet/ip_input.c if (newp && securelevel > 0)
newp 1633 netinet/ip_input.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 1636 netinet/ip_input.c error = sysctl_int(oldp, oldlenp, newp, newlen,
newp 1648 netinet/ip_input.c error = sysctl_int(oldp, oldlenp, newp, newlen,
newp 1655 netinet/ip_input.c return (sysctl_tstring(oldp, oldlenp, newp, newlen,
newp 1658 netinet/ip_input.c return (sysctl_tstring(oldp, oldlenp, newp, newlen,
newp 1662 netinet/ip_input.c return (sysctl_tstring(oldp, oldlenp, newp, newlen,
newp 1667 netinet/ip_input.c oldp, oldlenp, newp, newlen, &ipintrq));
newp 1671 netinet/ip_input.c oldp, oldlenp, newp, newlen));
newp 626 netinet/ip_ipip.c ipip_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 635 netinet/ip_ipip.c return (sysctl_int(oldp, oldlenp, newp, newlen, &ipip_allow));
newp 644 netinet/ipsec_input.c esp_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 649 netinet/ipsec_input.c oldp, oldlenp, newp, newlen));
newp 654 netinet/ipsec_input.c ah_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 659 netinet/ipsec_input.c oldp, oldlenp, newp, newlen));
newp 664 netinet/ipsec_input.c ipcomp_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 669 netinet/ipsec_input.c oldp, oldlenp, newp, newlen));
newp 780 netinet/tcp_usrreq.c tcp_ident(oldp, oldlenp, newp, newlen, dodrop)
newp 783 netinet/tcp_usrreq.c void *newp;
newp 799 netinet/tcp_usrreq.c if (newp == NULL)
newp 803 netinet/tcp_usrreq.c if ((error = copyin(newp, &tir, sizeof (tir))) != 0 )
newp 810 netinet/tcp_usrreq.c if (newp != NULL || newlen != 0)
newp 894 netinet/tcp_usrreq.c tcp_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 899 netinet/tcp_usrreq.c void *newp;
newp 911 netinet/tcp_usrreq.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 915 netinet/tcp_usrreq.c return (sysctl_rdint(oldp, oldlenp, newp, PR_SLOWHZ));
newp 918 netinet/tcp_usrreq.c return (sysctl_struct(oldp, oldlenp, newp, newlen,
newp 922 netinet/tcp_usrreq.c return (tcp_ident(oldp, oldlenp, newp, newlen, 0));
newp 925 netinet/tcp_usrreq.c return (tcp_ident(oldp, oldlenp, newp, newlen, 1));
newp 929 netinet/tcp_usrreq.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 934 netinet/tcp_usrreq.c error = sysctl_int(oldp, oldlenp, newp, newlen, &nval);
newp 947 netinet/tcp_usrreq.c error = sysctl_int(oldp, oldlenp, newp, newlen, &nval);
newp 961 netinet/tcp_usrreq.c oldp, oldlenp, newp, newlen));
newp 1223 netinet/udp_usrreq.c udp_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 1228 netinet/udp_usrreq.c void *newp;
newp 1237 netinet/udp_usrreq.c return (sysctl_struct(oldp, oldlenp, newp, newlen,
newp 1242 netinet/udp_usrreq.c oldp, oldlenp, newp, newlen));
newp 2848 netinet6/icmp6.c icmp6_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 2853 netinet6/icmp6.c void *newp;
newp 2864 netinet6/icmp6.c return sysctl_rdstruct(oldp, oldlenp, newp,
newp 2868 netinet6/icmp6.c return nd6_sysctl(name[0], oldp, oldlenp, newp, newlen);
newp 2872 netinet6/icmp6.c oldp, oldlenp, newp, newlen));
newp 1465 netinet6/ip6_input.c ip6_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 1470 netinet6/ip6_input.c void *newp;
newp 1479 netinet6/ip6_input.c return sysctl_rdstring(oldp, oldlenp, newp, __KAME_VERSION);
newp 1481 netinet6/ip6_input.c return sysctl_rdint(oldp, oldlenp, newp, ip6_v6only);
newp 1485 netinet6/ip6_input.c oldp, oldlenp, newp, newlen));
newp 1983 netinet6/nd6.c nd6_sysctl(name, oldp, oldlenp, newp, newlen)
newp 1987 netinet6/nd6.c void *newp; /* syscall arg, need copyin */
newp 1997 netinet6/nd6.c if (newp)
newp 879 netinet6/nd6_rtr.c nd6_prelist_add(pr, dr, newp)
newp 880 netinet6/nd6_rtr.c struct nd_prefix *pr, **newp;
newp 891 netinet6/nd6_rtr.c if (newp != NULL)
newp 892 netinet6/nd6_rtr.c *newp = new;
newp 417 netnatm/natm.c int natm0_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 423 netnatm/natm.c void *newp;
newp 438 netnatm/natm.c int natm5_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
newp 444 netnatm/natm.c void *newp;
newp 839 nfs/nfs_vfsops.c nfs_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 865 nfs/nfs_vfsops.c if(newp && newlen != sizeof nfsstats)
newp 868 nfs/nfs_vfsops.c if(newp) {
newp 869 nfs/nfs_vfsops.c return copyin(newp, &nfsstats, sizeof nfsstats);
newp 876 nfs/nfs_vfsops.c rv = sysctl_int(oldp, oldlenp, newp, newlen, &nfs_niothreads);
newp 877 nfs/nfs_vfsops.c if (newp)
newp 173 ntfs/ntfs_vfsops.c ntfs_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
newp 178 ntfs/ntfs_vfsops.c void *newp;
newp 996 ufs/ext2fs/ext2fs_vfsops.c void *newp, size_t newlen, struct proc *p)
newp 1510 ufs/ffs/ffs_vfsops.c ffs_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
newp 1527 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 1530 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 1533 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 1536 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen, &doasyncfree));
newp 1539 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen, &max_softdeps));
newp 1541 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen, &tickdelay));
newp 1543 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_worklist_push));
newp 1545 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_blk_limit_push));
newp 1547 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_ino_limit_push));
newp 1549 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_blk_limit_hit));
newp 1551 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_ino_limit_hit));
newp 1553 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_sync_limit_hit));
newp 1555 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_indir_blk_ptrs));
newp 1557 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_inode_bitmap));
newp 1559 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_direct_blk_ptrs));
newp 1561 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, stat_dir_entry));
newp 1565 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 1568 ufs/ffs/ffs_vfsops.c return (sysctl_int(oldp, oldlenp, newp, newlen,
newp 1571 ufs/ffs/ffs_vfsops.c return (sysctl_rdint(oldp, oldlenp, newp, ufs_dirhashmem));
newp 126 uvm/uvm_meter.c uvm_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
newp 131 uvm/uvm_meter.c void *newp;
newp 143 uvm/uvm_meter.c newp, newlen, p));
newp 156 uvm/uvm_meter.c return (sysctl_rdstruct(oldp, oldlenp, newp, &averunnable,
newp 161 uvm/uvm_meter.c return (sysctl_rdstruct(oldp, oldlenp, newp, &vmtotals,
newp 165 uvm/uvm_meter.c return (sysctl_rdstruct(oldp, oldlenp, newp, &uvmexp,
newp 169 uvm/uvm_meter.c return (sysctl_rdint(oldp, oldlenp, newp, nkmempages));
newp 172 uvm/uvm_meter.c return (sysctl_rdstruct(oldp, oldlenp, newp, &_ps,
newp 176 uvm/uvm_meter.c rv = sysctl_int(oldp, oldlenp, newp, newlen, &t);
newp 189 uvm/uvm_meter.c rv = sysctl_int(oldp, oldlenp, newp, newlen, &t);
newp 202 uvm/uvm_meter.c rv = sysctl_int(oldp, oldlenp, newp, newlen, &t);
newp 214 uvm/uvm_meter.c return (sysctl_rdint(oldp, oldlenp, newp, maxslp));
newp 217 uvm/uvm_meter.c return (sysctl_rdint(oldp, oldlenp, newp, USPACE));
newp 56 uvm/uvm_swap_encrypt.c void *newp, size_t newlen, struct proc *p)
newp 67 uvm/uvm_swap_encrypt.c result = sysctl_int(oldp, oldlenp, newp, newlen, &doencrypt);
newp 82 uvm/uvm_swap_encrypt.c return (sysctl_rdint(oldp, oldlenp, newp, uvm_swpkeyscreated));
newp 84 uvm/uvm_swap_encrypt.c return (sysctl_rdint(oldp, oldlenp, newp, uvm_swpkeysdeleted));