HomeSort by relevance Sort by last modified time
    Searched refs:sysctl (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/chromium/base/
sys_info_openbsd.cc 8 #include <sys/sysctl.h>
18 if (sysctl(mib, 2, &ncpu, &size, NULL, 0) == -1) {
sys_info_freebsd.cc 7 #include <sys/sysctl.h>
base_paths_linux.cc 21 #include <sys/sysctl.h>
53 int error = sysctl(name, 4, bin_dir, &length, NULL, 0);
  /external/oprofile/module/
op_init.c 23 sysctl.cpu_type = get_cpu_type();
oprofile.c 30 /* sysctl settables */
35 struct oprof_sysctl sysctl; variable in typeref:struct:oprof_sysctl
166 if (likely(note_pos < (sysctl.note_size - OP_PRE_NOTE_WATERMARK(sysctl.note_size)) && !is_ready()))
172 if (unlikely(note_pos == sysctl.note_size)) {
179 sysctl.nr_note_buffer_overflow++;
180 note_pos = sysctl.note_size - 1;
212 max = sizeof(struct op_note) * sysctl.note_size;
318 max = sizeof(struct op_buffer_head) + sizeof(struct op_sample) * sysctl.buf_size;
437 sysctl.nr_note_buffer_overflow = 0
    [all...]
oprofile.h 24 #include <linux/sysctl.h>
73 /* sysctl dump */
126 /* oprof_start() copy here the sysctl settable parameters */
127 extern struct oprof_sysctl sysctl;
  /external/webkit/Source/JavaScriptCore/gyp/
generate-derived-sources.sh 9 make -f "JavaScriptCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.ncpu`
  /external/webkit/Tools/DumpRenderTree/mac/PerlSupport/
DumpRenderTreeSupport.c 26 #include <sys/sysctl.h>
33 if (sysctl(mib, sizeof(mib) / sizeof(mib[0]), &info, &bufferSize, 0, 0)) {
34 perror("sysctl");
  /external/dhcpcd/
platform-bsd.c 30 #include <sys/sysctl.h>
50 if (sysctl(mib, sizeof(mib) / sizeof(mib[0]),
65 if (sysctl(mib, sizeof(mib)/sizeof(mib[0]), &val, &size, NULL, 0) == -1)
  /external/webkit/Source/WebCore/gyp/
generate-derived-sources.sh 10 make -f "WebCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.availcpu`
  /external/oprofile/module/x86/
op_model_athlon.c 68 if (sysctl.ctr[i].enabled) {
70 CTR_WRITE(sysctl.ctr[i].count, msrs, i);
75 CTRL_SET_USR(low, sysctl.ctr[i].user);
76 CTRL_SET_KERN(low, sysctl.ctr[i].kernel);
77 CTRL_SET_UM(low, sysctl.ctr[i].unit_mask);
78 CTRL_SET_EVENT(low, sysctl.ctr[i].event);
92 if (sysctl.ctr[i].enabled) {
108 if (sysctl.ctr[i].enabled) {
122 if (sysctl.ctr[i].enabled) {
op_rtc.c 37 if ((sysctl.ctr[0].kernel && usermode)
38 || (sysctl.ctr[0].user && !usermode))
75 target = sysctl.ctr[0].count;
87 sysctl_parms.ctr[0].count = sysctl.ctr[0].count = 1 << exp;
139 int target = sysctl.ctr[0].count;
op_apic.c 194 if (sysctl.cpu_type != CPU_PPRO &&
195 sysctl.cpu_type != CPU_PII &&
196 sysctl.cpu_type != CPU_PIII &&
197 sysctl.cpu_type != CPU_ATHLON &&
198 sysctl.cpu_type != CPU_HAMMER &&
199 sysctl.cpu_type != CPU_P4 &&
200 sysctl.cpu_type != CPU_P4_HT2)
op_model_ppro.c 64 if (sysctl.ctr[i].enabled) {
66 CTR_WRITE(sysctl.ctr[i].count, msrs, i);
71 CTRL_SET_USR(low, sysctl.ctr[i].user);
72 CTRL_SET_KERN(low, sysctl.ctr[i].kernel);
73 CTRL_SET_UM(low, sysctl.ctr[i].unit_mask);
74 CTRL_SET_EVENT(low, sysctl.ctr[i].event);
op_model_p4.c 499 if (sysctl.ctr[ctr].event <= 0 || sysctl.ctr[ctr].event > NUM_EVENTS) {
502 sysctl.ctr[ctr].event);
506 ev = &(p4_events[sysctl.ctr[ctr].event - 1]);
515 ESCR_SET_USR_0(escr, sysctl.ctr[ctr].user);
516 ESCR_SET_OS_0(escr, sysctl.ctr[ctr].kernel);
518 ESCR_SET_USR_1(escr, sysctl.ctr[ctr].user);
519 ESCR_SET_OS_1(escr, sysctl.ctr[ctr].kernel);
522 ESCR_SET_EVENT_MASK(escr, sysctl.ctr[ctr].unit_mask);
542 sysctl.ctr[ctr].event, ctr)
    [all...]
  /external/qemu/
android-rebuild.sh 14 HOST_NUM_CPUS=`sysctl -n hw.ncpu`
cache-utils.c 42 #include <sys/sysctl.h>
51 if (sysctl(name, 2, &cacheline, &len, NULL, 0)) {
52 perror("sysctl CTL_HW HW_CACHELINE failed");
66 #include <sys/sysctl.h>
  /external/webrtc/src/system_wrappers/source/
cpu_info.cc 17 #include <sys/sysctl.h>
52 if(0 == sysctl(name, 2, &ncpu, &size, NULL, 0))
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/
sysctl.h 44 #include <linux/sysctl.h>
67 extern int sysctl (int *__name, int __nlen, void *__oldval,
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/
sysctl.h 44 #include <linux/sysctl.h>
67 extern int sysctl (int *__name, int __nlen, void *__oldval,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/
sysctl.h 44 #include <linux/sysctl.h>
67 extern int sysctl (int *__name, int __nlen, void *__oldval,
  /external/webkit/Source/WebKit/mac/Misc/
WebKitSystemBits.m 35 #import <sys/sysctl.h>
75 sysctl(mib, 2, &numCPUs, &len, NULL, 0);
  /external/oprofile/module/ia64/
op_pmu.c 191 if (sysctl.ctr[ii].enabled) {
194 set_pmd_neg(sysctl.ctr[ii].count, ii);
195 pmc_fill_in(&pmc_val, sysctl.ctr[ii].kernel,
196 sysctl.ctr[ii].user, sysctl.ctr[ii].event,
197 sysctl.ctr[ii].unit_mask);
417 if (sysctl.ctr[i].enabled) {
418 data->ctr_count[i] = sysctl.ctr[i].count;
449 if (!sysctl.ctr[i].enabled)
454 if (!sysctl.ctr[i].user && !sysctl.ctr[i].kernel)
    [all...]
  /external/chromium/base/debug/
debugger_posix.cc 16 #include <sys/sysctl.h>
59 // If the process is sandboxed then we can't use the sysctl, so cache the
68 // Initialize mib, which tells sysctl what info we want. In this case,
82 int sysctl_result = sysctl(mib, arraysize(mib), &info, &info_size, NULL, 0);
  /external/wpa_supplicant_8/wpa_supplicant/examples/
p2p-action-udhcp.sh 58 sysctl net.ipv4.ip_forward=1
65 sysctl net.ipv4.ip_forward=0

Completed in 572 milliseconds

1 2 3 4 5