Lines Matching defs:sysctl
73 #include <sys/sysctl.h>
150 /* Initialise the geometry lock for reading/modifying the sysctl tree
155 lck_grp_t* lck_grp = lck_grp_alloc_init("sysctl", NULL);
259 * If the sysctl caller (user mode or kernel mode) is interested in the
333 * of some library routines implemented via sysctl, which truncate
391 * used by the sysctl program to walk the tree, and get the type
1171 * Kernel versions of the userland sysctl helper functions.
1173 * These allow sysctl to be used in the same fashion in both
1176 * Note that some sysctl handlers use copyin/copyout, which
1181 sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, size_t newlen)
1199 error = sysctl(oid, 2, mibp, sizep, (void *)name, strlen(name));
1217 error = sysctl(oid, oidlen, oldp, oldlenp, newp, newlen);