Lines Matching full:sysctl
2 * FreeBSD sysctl() and sysarch() system call emulation
24 #include <sys/sysctl.h>
112 * sysctl, see /sys/kern/kern_sysctl.c:sysctl_sysctl_oidfmt() (compare to
113 * src/sbin/sysctl/sysctl.c)
127 i = sysctl(qoid, len + 2, buf, &j, 0, 0); in oidfmt()
155 * For opaque data, per sysctl OID converts take care of it.
164 * Although rare, we can have arrays of sysctl. Both sysctl_old_ddb in in h2g_old_sysctl()
165 * kern_sysctl.c and show_var in sbin/sysctl/sysctl.c have code that loops in h2g_old_sysctl()
234 * Convert the undocmented name2oid sysctl data for the target.
265 /* Handle some arch/emulator dependent sysctl()'s here. */ in do_freebsd_sysctl_oid()
340 if (sysctl(mib, 2, &lvalue, &len, NULL, 0) == -1) { in do_freebsd_sysctl_oid()
422 ret = get_errno(sysctl(snamep, namelen, holdp, &holdlen, hnewp, newlen)); in do_freebsd_sysctl_oid()
477 * independently since some sysctl values have to be faked for the target