Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 19 of 19) sorted by relevance

/bionic/libc/kernel/common/linux/
Dcpumask.h21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) argument
22 #define cpu_clear(cpu, dst) __cpu_clear((cpu), &(dst)) argument
25 #define cpu_isset(cpu, cpumask) test_bit((cpu), (cpumask).bits) argument
26 #define cpu_test_and_set(cpu, cpumask) __cpu_test_and_set((cpu), &(cpumask)) argument
42cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0]… argument
59 #define for_each_cpu_mask(cpu, mask) for ((cpu) = first_cpu(mask); (cpu) < NR_CPUS; (cpu) = n… argument
61 #define for_each_cpu_mask(cpu, mask) for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask) argument
68 #define cpu_online(cpu) cpu_isset((cpu), cpu_online_map) argument
69 #define cpu_possible(cpu) cpu_isset((cpu), cpu_possible_map) argument
70 #define cpu_present(cpu) cpu_isset((cpu), cpu_present_map) argument
[all …]
Dirq_cpustat.h17 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) argument
22 #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) argument
Dpercpu.h27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); }) argument
Dkernel_stat.h38 #define kstat_cpu(cpu) per_cpu(kstat, cpu) argument
Dcpu.h21 struct cpu { struct
Drelay.h45 unsigned int cpu; member
/bionic/libc/bionic/
Dsched_getcpu.c31 extern int __getcpu(unsigned *cpu, unsigned *node, void* unused);
35 unsigned cpu; in sched_getcpu() local
36 if (__getcpu(&cpu, NULL, NULL) < 0) in sched_getcpu()
39 return (int)cpu; in sched_getcpu()
/bionic/libc/kernel/arch-x86/asm/
Dirq_32.h20 #define irq_ctx_init(cpu) do { } while (0) argument
21 #define irq_ctx_exit(cpu) do { } while (0) argument
Dhardirq_32.h32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member) argument
Dsmp_32.h24 #define cpu_physical_id(cpu) boot_cpu_physical_apicid argument
Ddesc_32.h53 #define load_TLS(t, cpu) native_load_tls(t, cpu) argument
58 #define set_tss_desc(cpu,addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr) argument
Dgenapic_32.h42 int (*cpu_to_logical_apicid)(int cpu);
Dprocessor_32.h78 #define cpu_data(cpu) boot_cpu_data argument
/bionic/libc/kernel/arch-sh/asm/
Dirq.h24 #define irq_ctx_init(cpu) do { } while (0) argument
25 #define irq_ctx_exit(cpu) do { } while (0) argument
/bionic/libc/kernel/common/asm-generic/
Dpercpu.h20 #define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var)) argument
Dtopology.h16 #define cpu_to_node(cpu) (0) argument
/bionic/libc/kernel/arch-arm/asm/
Dsmp.h23 #define raw_smp_processor_id() (current_thread_info()->cpu)
/bionic/libc/include/sys/
Dlinux-unistd.h190 int __getcpu (unsigned *cpu, unsigned *node, void *unused);
/bionic/libc/
DSYSCALLS.TXT238 int __getcpu:getcpu(unsigned *cpu, unsigned *node, void *unused) 345,318,318