Home
last modified time | relevance | path

Searched refs:__this_cpu_ptr (Results 1 – 15 of 15) sorted by relevance

/linux-2.6.39/include/asm-generic/
Dpercpu.h59 #ifndef __this_cpu_ptr
60 #define __this_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset) macro
65 #define this_cpu_ptr(ptr) __this_cpu_ptr(ptr)
69 #define __raw_get_cpu_var(var) (*__this_cpu_ptr(&(var)))
86 #define __this_cpu_ptr(ptr) this_cpu_ptr(ptr) macro
/linux-2.6.39/include/net/
Dsnmp.h153 __this_cpu_ptr((mib)[0]); \
163 __typeof__(*mib[0]) *ptr = __this_cpu_ptr((mib)[0]); \
172 ptr = __this_cpu_ptr((mib)[1]); \
182 ptr = __this_cpu_ptr((mib)[!in_softirq()]); \
195 ptr = __this_cpu_ptr((mib)[!in_softirq()]); \
205 ptr = __this_cpu_ptr((mib)[0]); \
/linux-2.6.39/include/linux/
Dpercpu.h348 *__this_cpu_ptr(&(pcp)) op val; \
582 # define __this_cpu_read_1(pcp) (*__this_cpu_ptr(&(pcp)))
585 # define __this_cpu_read_2(pcp) (*__this_cpu_ptr(&(pcp)))
588 # define __this_cpu_read_4(pcp) (*__this_cpu_ptr(&(pcp)))
591 # define __this_cpu_read_8(pcp) (*__this_cpu_ptr(&(pcp)))
598 *__this_cpu_ptr(&(pcp)) op val; \
813 *__this_cpu_ptr(&(pcp)) op val; \
/linux-2.6.39/arch/x86/kernel/cpu/mcheck/
Dmce.c1163 if (mce_available(__this_cpu_ptr(&cpu_info))) { in mce_start_timer()
1771 __mcheck_cpu_init_vendor(__this_cpu_ptr(&cpu_info)); in mce_resume()
1783 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_cpu_restart()
1798 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_disable_ce()
1807 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_enable_ce()
2027 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_disable_cpu()
2045 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
Dmce_intel.c133 if (!mce_available(__this_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
/linux-2.6.39/arch/x86/kernel/
Dprocess.c452 if (cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_CLFLUSH_MONITOR)) in mwait_idle_with_hints()
468 if (cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_CLFLUSH_MONITOR)) in mwait_idle()
Dsmpboot.c1333 struct cpuinfo_x86 *c = __this_cpu_ptr(&cpu_info); in mwait_play_dead()
1337 if (!cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_CLFLSH)) in mwait_play_dead()
/linux-2.6.39/arch/x86/kernel/cpu/
Damd.c711 struct cpuinfo_x86 *cpu = __this_cpu_ptr(&cpu_info); in cpu_has_amd_erratum()
/linux-2.6.39/kernel/
Dtaskstats.c614 listeners = __this_cpu_ptr(&listener_array); in taskstats_exit()
/linux-2.6.39/arch/x86/include/asm/
Dpercpu.h55 #define __this_cpu_ptr(ptr) \ macro
/linux-2.6.39/arch/x86/kernel/apic/
Dapic.c508 if (cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_ARAT)) { in setup_APIC_timer()
/linux-2.6.39/mm/
Dslub.c1850 c = __this_cpu_ptr(s->cpu_slab); in __slab_alloc()
1911 c = __this_cpu_ptr(s->cpu_slab); in slab_alloc()
2137 c = __this_cpu_ptr(s->cpu_slab); in slab_free()
/linux-2.6.39/drivers/md/
Ddm-crypt.c198 return __this_cpu_ptr(cc->cpu)->tfms[0]; in any_tfm()
/linux-2.6.39/fs/
Dbuffer.c1294 memcpy(__this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs)); in bh_lru_install()
/linux-2.6.39/fs/ext4/
Dmballoc.c4017 ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups); in ext4_mb_group_or_file()