Home
last modified time | relevance | path

Searched refs:CTL_KERN (Results 1 – 25 of 69) 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/cronet/base/process/
Dprocess_handle_freebsd.cc19 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; in GetParentProcessId()
30 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, process }; in GetProcessExecutablePath()
Dprocess_handle_openbsd.cc17 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process, in GetParentProcessId()
34 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process, in GetProcessExecutablePath()
Dprocess_iterator_openbsd.cc19 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid(), in ProcessIterator()
73 int mib[] = { CTL_KERN, KERN_PROC_ARGS, kinfo.p_pid }; in CheckForNextProcess()
Dprocess_iterator_freebsd.cc21 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid() }; in ProcessIterator()
71 int mib[] = { CTL_KERN, KERN_PROC_ARGS, kinfo.ki_pid }; in CheckForNextProcess()
Dprocess_iterator_mac.cc25 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, in ProcessIterator()
81 int mib[] = { CTL_KERN, KERN_PROCARGS, kinfo.kp_proc.p_pid }; in CheckForNextProcess()
Dprocess_handle_mac.cc26 int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; in GetParentProcessId()
Dprocess_metrics_freebsd.cc29 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, process_}; in GetPlatformIndependentCPUUsage()
Dprocess_metrics_openbsd.cc30 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, in GetProcessCPU()
Dprocess_mac.cc63 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, Pid()}; in CreationTime()
/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/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/cronet/base/system/
Dsys_info_openbsd.cc55 int mib[] = {CTL_KERN, KERN_SHMINFO, KERN_SHMINFO_SHMMAX}; in MaxSharedMemorySize()
/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/cronet/base/
Dbase_paths_posix.cc50 int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; in PathProviderPosix()
/external/libchrome/base/debug/
Ddebugger_posix.cc83 CTL_KERN, in BeingDebugged()
/external/mbedtls/library/
Dentropy_poll.c141 name[0] = CTL_KERN; in sysctl_arnd_wrapper()
/external/swiftshader/src/Reactor/
DDebug.cpp78 CTL_KERN, in IsUnderDebugger()

123