Home
last modified time | relevance | path

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

12

/bionic/libc/kernel/common/linux/
Dcpumask.h26 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) argument
27 #define cpu_clear(cpu, dst) __cpu_clear((cpu), &(dst)) argument
31 #define cpu_isset(cpu, cpumask) test_bit((cpu), (cpumask).bits) argument
32 #define cpu_test_and_set(cpu, cpumask) __cpu_test_and_set((cpu), &(cpumask)) argument
52cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0]… argument
74 #define for_each_cpu_mask(cpu, mask) for ((cpu) = first_cpu(mask); (cpu) < NR_CPUS; (cpu) = n… argument
76 #define for_each_cpu_mask(cpu, mask) for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask) argument
84 #define cpu_online(cpu) cpu_isset((cpu), cpu_online_map) argument
85 #define cpu_possible(cpu) cpu_isset((cpu), cpu_possible_map) argument
86 #define cpu_present(cpu) cpu_isset((cpu), cpu_present_map) argument
[all …]
Dirq_cpustat.h22 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) argument
26 #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) argument
Dpercpu.h34 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); }) argument
Dkernel_stat.h46 #define kstat_cpu(cpu) per_cpu(kstat, cpu) argument
Dcpu.h27 struct cpu { struct
Drelay.h55 unsigned int cpu; member
/bionic/libc/kernel/arch-mips/asm/
Dsmp.h29 #define raw_smp_processor_id() (current_thread_info()->cpu)
30 #define cpu_number_map(cpu) __cpu_number_map[cpu] argument
31 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] argument
/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()
Dsysconf.cpp75 unsigned cpu; in __matches_cpuN() local
77 return (sscanf(s, "cpu%u%c", &cpu, &dummy) == 1); in __matches_cpuN()
/bionic/libc/kernel/arch-mips/asm/sn/
Darch.h25 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) argument
26 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) argument
39 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)]) argument
/bionic/libc/kernel/arch-x86/asm/
Dirq_32.h25 #define irq_ctx_init(cpu) do { } while (0) argument
26 #define irq_ctx_exit(cpu) do { } while (0) argument
Dhardirq_32.h40 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member) argument
Ddesc_32.h61 #define load_TLS(t, cpu) native_load_tls(t, cpu) argument
67 #define set_tss_desc(cpu,addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr) argument
Dsmp_32.h30 #define cpu_physical_id(cpu) boot_cpu_physical_apicid argument
Dgenapic_32.h50 int (*cpu_to_logical_apicid)(int cpu);
Dprocessor_32.h91 #define cpu_data(cpu) boot_cpu_data argument
/bionic/libc/arch-arm/generic/
Dgeneric.mk1 $(call libc-add-cpu-variant-src,MEMCPY,arch-arm/generic/bionic/memcpy.S)
2 $(call libc-add-cpu-variant-src,MEMSET,arch-arm/generic/bionic/memset.S)
3 $(call libc-add-cpu-variant-src,STRCMP,arch-arm/generic/bionic/strcmp.S)
/bionic/libc/arch-arm/krait/
Dkrait.mk1 $(call libc-add-cpu-variant-src,MEMCPY,arch-arm/krait/bionic/memcpy.S)
2 $(call libc-add-cpu-variant-src,MEMSET,arch-arm/krait/bionic/memset.S)
3 $(call libc-add-cpu-variant-src,STRCMP,arch-arm/krait/bionic/strcmp.S)
/bionic/libc/arch-arm/cortex-a9/
Dcortex-a9.mk1 $(call libc-add-cpu-variant-src,MEMCPY,arch-arm/cortex-a9/bionic/memcpy.S)
2 $(call libc-add-cpu-variant-src,MEMSET,arch-arm/cortex-a9/bionic/memset.S)
3 $(call libc-add-cpu-variant-src,STRCMP,arch-arm/cortex-a9/bionic/strcmp.S)
/bionic/libc/arch-arm/cortex-a15/
Dcortex-a15.mk1 $(call libc-add-cpu-variant-src,MEMCPY,arch-arm/cortex-a15/bionic/memcpy.S)
2 $(call libc-add-cpu-variant-src,MEMSET,arch-arm/cortex-a15/bionic/memset.S)
3 $(call libc-add-cpu-variant-src,STRCMP,arch-arm/cortex-a15/bionic/strcmp.S)
/bionic/libc/kernel/common/asm-generic/
Dpercpu.h25 #define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var)) argument
Dtopology.h22 #define cpu_to_node(cpu) (0) argument
/bionic/libc/kernel/arch-arm/asm/
Dsmp.h27 #define raw_smp_processor_id() (current_thread_info()->cpu)
/bionic/libc/kernel/arch-mips/asm/sn/sn0/
Dhubio.h120 …de, cpu, valid) ( (((widget) & IIO_IGFX_W_NUM_MASK) << IIO_IGFX_W_NUM_SHIFT) | (((node) & IIO_I… argument
/bionic/libc/
DSYSCALLS.TXT281 int __getcpu:getcpu(unsigned *cpu, unsigned *node, void *unused) 1
297 long perf_event_open(struct perf_event_attr *attr_uptr, pid_t pid, int cpu, int group_fd, unsign…

12