/bionic/libc/kernel/common/linux/ |
D | cpumask.h | 21 #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 42 …cpu) ({ 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 …]
|
D | irq_cpustat.h | 17 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) argument 22 #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) argument
|
D | percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); }) argument
|
D | kernel_stat.h | 38 #define kstat_cpu(cpu) per_cpu(kstat, cpu) argument
|
D | cpu.h | 21 struct cpu { struct
|
D | relay.h | 45 unsigned int cpu; member
|
/bionic/libc/bionic/ |
D | sched_getcpu.c | 31 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/ |
D | irq_32.h | 20 #define irq_ctx_init(cpu) do { } while (0) argument 21 #define irq_ctx_exit(cpu) do { } while (0) argument
|
D | hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member) argument
|
D | smp_32.h | 24 #define cpu_physical_id(cpu) boot_cpu_physical_apicid argument
|
D | desc_32.h | 53 #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
|
D | genapic_32.h | 42 int (*cpu_to_logical_apicid)(int cpu);
|
D | processor_32.h | 78 #define cpu_data(cpu) boot_cpu_data argument
|
/bionic/libc/kernel/arch-sh/asm/ |
D | irq.h | 24 #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/ |
D | percpu.h | 20 #define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var)) argument
|
D | topology.h | 16 #define cpu_to_node(cpu) (0) argument
|
/bionic/libc/kernel/arch-arm/asm/ |
D | smp.h | 23 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/bionic/libc/include/sys/ |
D | linux-unistd.h | 190 int __getcpu (unsigned *cpu, unsigned *node, void *unused);
|
/bionic/libc/ |
D | SYSCALLS.TXT | 238 int __getcpu:getcpu(unsigned *cpu, unsigned *node, void *unused) 345,318,318
|