Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/node/deps/uv/src/unix/
Dopenbsd.c78 mib[0] = CTL_KERN; in uv_exepath()
148 mib[0] = CTL_KERN; in uv_resident_set_memory()
167 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime()
186 int percpu[] = {CTL_KERN,KERN_CPTIME2,0}; in uv_cpu_info()
Dnetbsd.c78 mib[0] = CTL_KERN; in uv_exepath()
168 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime()
239 static int name[] = {CTL_KERN, KERN_ARND}; in uv__random_sysctl()
Dfreebsd.c67 mib[0] = CTL_KERN; in uv_exepath()
138 mib[0] = CTL_KERN; in uv_resident_set_memory()
Ddarwin.c175 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime()
/third_party/libuv/src/unix/
Dopenbsd.c78 mib[0] = CTL_KERN; in uv_exepath()
148 mib[0] = CTL_KERN; in uv_resident_set_memory()
167 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime()
186 int percpu[] = {CTL_KERN,KERN_CPTIME2,0}; in uv_cpu_info()
Dnetbsd.c78 mib[0] = CTL_KERN; in uv_exepath()
168 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime()
239 static int name[] = {CTL_KERN, KERN_ARND}; in uv__random_sysctl()
Dfreebsd.c67 mib[0] = CTL_KERN; in uv_exepath()
138 mib[0] = CTL_KERN; in uv_resident_set_memory()
Ddarwin.c175 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime()
/third_party/libunwind/src/
Dos-freebsd.c62 mib[0] = CTL_KERN; in get_pid_by_tid()
101 mib[0] = CTL_KERN; in tdep_get_elf_image()
156 mib[0] = CTL_KERN; in tdep_get_exe_image_path()
/third_party/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()
/third_party/gn/src/util/
Dexe_path.cc63 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1}; in GetExePath()
75 int mib[] = {CTL_KERN, KERN_PROC_ARGS, getpid(), KERN_PROC_PATHNAME}; in GetExePath()
/third_party/pulseaudio/src/pulse/
Dutil.c248 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; in pa_get_binary_name()
291 int mib[] = { CTL_KERN, KERN_PROCARGS, getpid(), 0 }; in pa_get_binary_name()
/third_party/node/deps/v8/src/base/platform/
Dplatform-freebsd.cc52 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, getpid()}; in GetSharedLibraryAddresses()
/third_party/libunwind/tests/
Dcrasher.c58 mib[0] = CTL_KERN; in write_maps()
/third_party/mesa3d/src/util/
Du_process.c211 int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; in util_get_process_exec_path()
/third_party/mbedtls/library/
Dentropy_poll.c140 name[0] = CTL_KERN; in sysctl_arnd_wrapper()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DDebug.cpp78 CTL_KERN, in IsUnderDebugger()
/third_party/vulkan-loader/loader/
Dvk_loader_platform.h266 CTL_KERN, in loader_platform_executable_path()
/third_party/mesa3d/src/gtest/src/
Dgtest-port.cc163 CTL_KERN, in GetThreadCount()
186 CTL_KERN, in GetThreadCount()
/third_party/node/deps/googletest/src/
Dgtest-port.cc161 CTL_KERN,
184 CTL_KERN,
/third_party/googletest/googletest/src/
Dgtest-port.cc155 CTL_KERN,
178 CTL_KERN,
/third_party/openssl/providers/implementations/rands/seeding/
Drand_unix.c256 mib[0] = CTL_KERN; in sysctl_random()

12