Lines Matching defs:miblen
799 pledge_sysctl(struct proc *p, int miblen, int *mib, void *new)
814 if ((miblen == 6 || miblen == 7) &&
820 if (miblen == 6 &&
827 if (miblen == 7 && /* exposes MACs */
836 if (miblen == 4 &&
843 if (miblen == 2 && /* kern.fscale */
846 if (miblen == 2 && /* kern.boottime */
849 if (miblen == 2 && /* kern.consdev */
852 if (miblen == 2 && /* kern.cptime */
855 if (miblen == 3 && /* kern.cptime2 */
858 if (miblen == 3 && /* kern.cpustats */
864 if (miblen == 4 && /* kern.procargs.* */
868 if (miblen == 6 && /* kern.proc.* */
871 if (miblen == 3 && /* kern.proc_cwd.* */
874 if (miblen == 2 && /* kern.ccpu */
877 if (miblen == 2 && /* vm.maxslp */
883 if (miblen == 2 && /* vm.uvmexp */
886 if (miblen == 3 && /* vfs.generic.bcachestat */
890 if (miblen == 3 && /* for sysconf(3) */
896 if (miblen == 2 && /* kern.somaxconn */
902 if (miblen == 6 && /* getifaddrs() */
911 if (miblen == 2 && /* kern.rawpartition */
915 if (miblen == 2 && /* kern.maxpartitions */
920 if (miblen == 3 && /* machdep.chr2blk */
927 if (miblen >= 3 && /* ntpd(8) to read sensors */
931 if (miblen == 6 && /* if_nameindex() */
936 if (miblen == 2) {
980 if (miblen == 2 && /* i386 libm tests for SSE */
986 if (miblen == 2 && /* arm64 libcrypto inspects CPU features */
991 if (miblen == 2 && /* arm64 libcrypto inspects CPU features */
997 p->p_p->ps_comm, p->p_p->ps_pid, miblen);
998 for (i = 0; i < miblen; i++) {