HomeSort by relevance Sort by last modified time
    Searched refs:cpu (Results 101 - 125 of 237) sorted by null

1 2 3 45 6 7 8 910

  /external/kernel-headers/original/asm-x86/
desc_32.h 27 static inline struct desc_struct *get_cpu_gdt_table(unsigned int cpu)
29 return per_cpu(gdt_page, cpu).gdt;
73 #define load_TLS(t, cpu) native_load_tls(t, cpu)
93 unsigned cpu = smp_processor_id(); local
99 write_gdt_entry(get_cpu_gdt_table(cpu), GDT_ENTRY_LDT, a, b);
137 static inline void native_load_tls(struct thread_struct *t, unsigned int cpu)
140 struct desc_struct *gdt = get_cpu_gdt_table(cpu);
153 static inline void __set_tss_desc(unsigned int cpu, unsigned int entry, const void *addr)
159 write_gdt_entry(get_cpu_gdt_table(cpu), entry, a, b)
    [all...]
tsc.h 35 /* Like get_cycles, but make sure the CPU is synchronized. */
73 extern void check_tsc_sync_source(int cpu);
  /external/blktrace/
blktrace.c 7 * Rewrite to have a single thread per CPU (managing all devices on that CPU)
138 int cpu, len; member in struct:trace_buf
168 int cpu, nios; member in struct:tracer
177 * 0 - Indicates an "open" - allowing the server to set up for a dev/cpu
180 * The cpu field is overloaded on close: it will contain the number of drops.
185 u32 cpu; /* for which cpu */ member in struct:blktrace_net_hdr
188 u32 cl_id; /* id for set of client per-cpu connections */
484 static inline void pdc_dr_update(struct devpath *dpp, int cpu, int data_read
1007 int cpu; local
1027 int cpu, *fdp; local
1133 int cpu; local
1154 int cpu; local
1389 int cpu; local
1849 int cpu; local
1958 int cpu; local
2240 int cpu; local
2300 int cpu; local
    [all...]
blkparse.c 306 #define CPU_IDX(cpu) ((cpu) / CPUS_PER_LONG)
307 #define CPU_BIT(cpu) ((cpu) & (CPUS_PER_LONG - 1))
321 static void resize_cpu_info(struct per_dev_info *pdi, int cpu)
325 int new_count = cpu + 1;
333 fprintf(stderr, "Out of memory, CPU info for device %s (%d)\n",
357 static struct per_cpu_info *get_cpu_info(struct per_dev_info *pdi, int cpu)
361 if (cpu >= pdi->ncpus)
362 resize_cpu_info(pdi, cpu);
485 int cpu; local
1959 int ret, cpu; local
2246 unsigned int cpu; member in struct:ms_stream
2507 int i, cpu, ret; local
    [all...]
blktrace.h 42 unsigned int cpu; member in struct:per_cpu_info
117 t->cpu = be16_to_cpu(t->cpu);
  /bionic/libc/arch-arm/bionic/
strlen.c 30 #include <machine/cpu-features.h>
  /bionic/libc/kernel/arch-sh/asm/
processor.h 15 #include <asm/cpu-features.h>
  /bionic/libc/kernel/arch-x86/asm/
desc_32.h 53 #define load_TLS(t, cpu) native_load_tls(t, cpu)
58 #define set_tss_desc(cpu,addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr)
  /cts/tests/jni/
android_os_cts_CpuFeatures.cpp 17 #include <cpu-features.h>
  /development/ndk/platforms/android-5/arch-x86/include/asm/
desc_32.h 53 #define load_TLS(t, cpu) native_load_tls(t, cpu)
58 #define set_tss_desc(cpu,addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr)
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/
desc_32.h 53 #define load_TLS(t, cpu) native_load_tls(t, cpu)
58 #define set_tss_desc(cpu,addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr)
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/
desc_32.h 53 #define load_TLS(t, cpu) native_load_tls(t, cpu)
58 #define set_tss_desc(cpu,addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr)
  /external/kernel-headers/original/linux/
dmaengine.h 68 * struct dma_chan_percpu - the per-CPU part of struct dma_chan
93 * @local: per-cpu pointer to a struct dma_chan_percpu
226 int cpu = get_cpu(); local
227 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len;
228 per_cpu_ptr(chan->local, cpu)->memcpy_count++;
250 int cpu = get_cpu(); local
251 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len;
252 per_cpu_ptr(chan->local, cpu)->memcpy_count++;
277 int cpu = get_cpu(); local
278 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len
    [all...]
smp.h 21 * main cross-CPU interfaces, handles INIT, TLB flush, STOP, etc.
31 * sends a 'reschedule' event to another CPU:
33 extern void smp_send_reschedule(int cpu);
42 * Bring a CPU up
61 #define MSG_ALL_BUT_SELF 0x8000 /* Assume <32768 CPU's */
65 #define MSG_STOP_CPU 0x0002 /* Sent to shut down slave CPU's
68 #define MSG_RESCHEDULE 0x0003 /* Reschedule request from master CPU*/
72 * Mark the boot cpu "online" so that it can call console drivers in
73 * printk() and can access its per-cpu storage.
80 * These macros fold the SMP functionality into a single CPU syste
    [all...]
workqueue.h 66 extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq,
73 extern int schedule_delayed_work_on(int cpu, struct work_struct *work, unsigned long delay);
  /external/oprofile/daemon/
opd_spu.c 65 * the SPU number. For SPU profiling, 'cpu' = 'spu'.
67 trans->cpu = pop_buffer_value(trans);
93 int i = trans->cpu;
103 int i = trans->cpu;
117 if (trans->cpu != spu_number) {
118 trans->cpu = spu_number;
opd_perfmon.c 54 #define CPU_SET(cpu, cpusetp) \
55 ((cpusetp)->__bits[(cpu)/__NCPUBITS] |= (1UL << ((cpu) % __NCPUBITS)))
149 static void set_affinity(size_t cpu)
154 CPU_SET(cpu, &set);
205 /** create the per-cpu context */
299 static void notify_parent(struct child * self, size_t cpu)
303 ret = write(self->up_pipe[1], &cpu, sizeof(size_t));
315 static void run_child(size_t cpu)
317 struct child * self = &children[cpu];
    [all...]
opd_sfile.h 48 /** CPU number */
49 unsigned int cpu; member in struct:sfile
  /sdk/emulator/qtools/
gtrace.cpp 70 int cpu = 0; local
78 //fh->common.usec_cpu = (start_usec << 8) | (cpu & 0xff);
79 fh->common.usec_cpu = cpu & 0xff;
96 int cpu = 0; local
103 //bh.usec_cpu = (start_usec << 8) | (cpu & 0xff);
104 bh.usec_cpu = cpu & 0xff;
  /external/blktrace/btreplay/
btrecord.c 50 * @cpu: CPU that this file was collected on
57 int cpu, ifd; member in struct:ifile_info
303 * @cpu: CPU for this file
307 static void __add_input_file(int cpu, char *devnm, char *file_name)
311 iip->cpu = cpu;
332 int cpu, found = 0; local
340 for (cpu = 0; ; cpu++)
    [all...]
  /external/netperf/
netcpu_kstat.c 42 with a previous calibrarion to arrive at a CPU utilization
48 need to pull the cpu info from
149 fprintf(stderr,"number of CPU's mismatch!");
188 /* return the value of the idle tick counter for the specified CPU */
190 get_kstat_idle(cpu)
191 int cpu;
200 cpu_ks[cpu]);
203 nkcid = kstat_read(kc, cpu_ks[cpu], &cpu_stat);
207 return(cpu_stat.cpu_sysinfo.cpu[CPU_IDLE]);
353 /* the one that the user want for the cpu utilization *
    [all...]
  /system/core/init/
bootchart.c 129 char* cpu; local
143 cpu = strchr( cpuinfo, ':' );
144 if (cpu) {
145 char* p = strchr(cpu, '\n');
146 cpu += 2;
155 fprintf(out, "system.cpu = %s\n", cpu);
  /system/extras/tests/sdcard/
sysutil.cpp 52 const char *kScalingGovernorFormat = "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_governor";
267 for (int cpu = 0; cpu < 16; ++cpu) // 16 cores mobile phones, abestos pockets recommended.
270 sprintf(governor, kScalingGovernorFormat, cpu);
274 if (cpu > 0 && errno == ENOENT)
278 fprintf(stderr, "Failed to write to scaling governor file for cpu %d: %d %s",
279 cpu, errno, strerror(errno));
  /external/blktrace/btt/
mmap.c 67 tp->cpu = be16_to_cpu(t->cpu);
  /external/chromium/base/
trace_event.cc 86 std::string cpu = StringPrintf("%.0f", process_metrics_->GetCPUUsage()); local
87 TRACE_EVENT_INSTANT("heartbeat.cpu", 0, cpu);

Completed in 754 milliseconds

1 2 3 45 6 7 8 910