Home
last modified time | relevance | path

Searched refs:CTL_KERN (Results 1 – 25 of 70) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl04.c36 {{CTL_KERN, KERN_OSREV}, 0, osname, &length, ENOTDIR},
37 {{CTL_KERN, KERN_OSREV}, CTL_MAXNAME + 1, osname, &length, ENOTDIR},
38 {{CTL_KERN, KERN_OSRELEASE}, 2, (void *) -1, &length, EFAULT},
39 {{CTL_KERN, KERN_VERSION}, 2, osname, (void *) -1, EFAULT},
Dsysctl01.c33 {"KERN_OSTYPE", {CTL_KERN, KERN_OSTYPE}, buf.sysname},
34 {"KERN_OSRELEASE", {CTL_KERN, KERN_OSRELEASE}, buf.release},
35 {"KERN_VERSION", {CTL_KERN, KERN_VERSION}, buf.version},
Dsysctl03.c47 int name[] = {CTL_KERN, KERN_OSTYPE}; in verify_sysctl()
/external/llvm-project/lldb/source/Host/freebsd/
DHostInfoFreeBSD.cpp34 int mib[2] = {CTL_KERN, KERN_OSREV}; in GetOSBuildString()
66 int exe_path_mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, getpid()}; in GetProgramFileSpec()
DHost.cpp55 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_ARGS, pid}; in GetFreeBSDProcessArgs()
121 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, pid}; in GetFreeBSDProcessUserAndGroup()
161 int mib[3] = {CTL_KERN, KERN_PROC, KERN_PROC_ALL}; in FindProcessesImpl()
/external/llvm-project/lldb/source/Host/netbsd/
DHostInfoNetBSD.cpp46 int mib[2] = {CTL_KERN, KERN_OSREV}; in GetOSBuildString()
80 CTL_KERN, KERN_PROC_ARGS, -1, KERN_PROC_PATHNAME, in GetProgramFileSpec()
DHostNetBSD.cpp57 int mib[4] = {CTL_KERN, KERN_PROC_ARGS, pid, KERN_PROC_ARGV}; in GetNetBSDProcessArgs()
/external/llvm-project/lldb/source/Host/openbsd/
DHost.cpp61 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_ARGS, in GetOpenBSDProcessArgs()
120 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, in GetOpenBSDProcessUserAndGroup()
147 int mib[3] = {CTL_KERN, KERN_PROC, KERN_PROC_ALL}; in FindProcessesImpl()
DHostInfoOpenBSD.cpp33 int mib[2] = {CTL_KERN, KERN_OSREV}; in GetOSBuildString()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_cpu.c114 int mib[] = { CTL_KERN, KERN_CP_TIME }; in get_cpu_stats()
119 int mib[] = { CTL_KERN, KERN_CPTIME }; in get_cpu_stats()
134 int mib[] = { CTL_KERN, KERN_CP_TIME, cpu_index }; in get_cpu_stats()
140 int mib[] = { CTL_KERN, KERN_CPTIME2, cpu_index }; in get_cpu_stats()
/external/strace/
Dsysctl.c81 case CTL_KERN: in SYS_FUNC()
173 && ((name[0] == CTL_KERN in SYS_FUNC()
/external/strace/xlat/
Dsysctl_root.in2 CTL_KERN
Dsysctl_root.h17 XLAT(CTL_KERN),
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dasysctl.cpp13 int mib[] = {CTL_KERN, KERN_OSTYPE}; in test_asysctl()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Dsysctl.cpp21 int mib[] = {CTL_KERN, KERN_OSTYPE}; in test_sysctl()
/external/rust/crates/getrandom/src/
Dbsd_arandom.rs14 static MIB: [libc::c_int; 2] = [libc::CTL_KERN, libc::KERN_ARND]; in kern_arnd()
/external/catch2/include/internal/
Dcatch_debugger.cpp50 mib[0] = CTL_KERN; in isDebuggerActive()
/external/libchrome/base/
Dbase_paths_posix.cc50 int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; in PathProviderPosix()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_freebsd.cc34 const int Mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, getpid() }; in ReadProcMaps()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_bsd.cpp45 CTL_KERN, in ReadProcMaps()
/external/libchrome/base/debug/
Ddebugger_posix.cc83 CTL_KERN, in BeingDebugged()
/external/swiftshader/src/Reactor/
DDebug.cpp78 CTL_KERN, in IsUnderDebugger()
/external/swiftshader/src/System/
DDebug.cpp78 CTL_KERN, in IsUnderDebugger()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeThreadFreeBSD.cpp155 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID | KERN_PROC_INC_THREAD, in GetName()
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeThreadNetBSD.cpp170 int mib[5] = {CTL_KERN, KERN_LWP, static_cast<int>(m_process.GetID()), in GetName()

123