Home
last modified time | relevance | path

Searched refs:raw_smp_processor_id (Results 1 – 159 of 159) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_tools.h74 raw_smp_processor_id(), __func__, \
80 raw_smp_processor_id(), __func__, ## arg)
84 raw_smp_processor_id(), __func__, ## arg)
88 raw_smp_processor_id(), __func__, ## arg)
95 raw_smp_processor_id(), __func__, ## arg); \
100 raw_smp_processor_id(), __func__, ## arg)
104 raw_smp_processor_id(), __func__, ## arg)
/linux-4.1.27/kernel/locking/
Dspinlock_debug.c59 msg, raw_smp_processor_id(), in spin_dump()
85 SPIN_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_spin_lock_before()
91 lock->owner_cpu = raw_smp_processor_id(); in debug_spin_lock_after()
100 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_spin_unlock()
168 msg, raw_smp_processor_id(), current->comm, in rwlock_bug()
193 raw_smp_processor_id(), current->comm,
230 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before()
236 lock->owner_cpu = raw_smp_processor_id(); in debug_write_lock_after()
244 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
268 raw_smp_processor_id(), current->comm,
Dlockdep.c2976 lock->cpu = raw_smp_processor_id(); in lockdep_init_map()
/linux-4.1.27/arch/mn10300/include/asm/
Dsmp.h68 #define raw_smp_processor_id() (arch_smp_processor_id())
70 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
104 #define raw_smp_processor_id() 0 macro
Dirqflags.h70 int cpu = raw_smp_processor_id(); in arch_local_irq_enable()
/linux-4.1.27/arch/mips/mm/
Dfault.c53 printk("Cpu%d[%s:%d:%0*lx:%ld:%0*lx]\n", raw_smp_processor_id(), in __do_page_fault()
129 raw_smp_processor_id(), in __do_page_fault()
139 raw_smp_processor_id(), in __do_page_fault()
249 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault()
308 pgd = (pgd_t *) pgd_current[raw_smp_processor_id()] + offset; in __do_page_fault()
/linux-4.1.27/arch/tile/include/asm/
Dprocessor.h351 #define raw_smp_processor_id() \ macro
358 unsigned long __cpu = (long)raw_smp_processor_id() << CPU_SHIFT; \
364 #define raw_smp_processor_id() \ macro
370 int __cpu = raw_smp_processor_id(); \
/linux-4.1.27/arch/x86/kernel/
Dkgdb.c213 int cpu = raw_smp_processor_id(); in kgdb_correct_hw_break()
314 int cpu = raw_smp_processor_id(); in kgdb_remove_all_hw_break()
400 int cpu = raw_smp_processor_id(); in kgdb_disable_hw_debug()
484 raw_smp_processor_id()); in kgdb_arch_handle_exception()
522 kgdb_nmicallback(raw_smp_processor_id(), regs); in kgdb_nmi_handler()
523 was_in_debug_nmi[raw_smp_processor_id()] = 1; in kgdb_nmi_handler()
530 if (was_in_debug_nmi[raw_smp_processor_id()]) { in kgdb_nmi_handler()
531 was_in_debug_nmi[raw_smp_processor_id()] = 0; in kgdb_nmi_handler()
Dnmi_selftest.c56 int cpu = raw_smp_processor_id(); in test_nmi_ipi_callback()
Dsmp.c159 if (raw_smp_processor_id() == atomic_read(&stopping_cpu)) in smp_stop_nmi_callback()
Dreboot.c734 cpu = raw_smp_processor_id(); in crash_nmi_callback()
Dsmpboot.c199 set_cpu_sibling_map(raw_smp_processor_id()); in smp_callin()
1381 amd_e400_remove_cpu(raw_smp_processor_id()); in play_dead_common()
/linux-4.1.27/include/linux/
Dsmp.h130 #define raw_smp_processor_id() 0 macro
182 # define smp_processor_id() raw_smp_processor_id()
Dstop_machine.h81 if (cpumask_test_cpu(raw_smp_processor_id(), cpumask)) in stop_cpus()
82 return stop_one_cpu(raw_smp_processor_id(), fn, arg); in stop_cpus()
Dtracepoint.h333 cpu_online(raw_smp_processor_id()), \
338 cpu_online(raw_smp_processor_id()), \
344 cpu_online(raw_smp_processor_id()) && (PARAMS(cond)), \
Dtopology.h108 return cpu_to_node(raw_smp_processor_id()); in numa_node_id()
Dkgdb.h320 (raw_smp_processor_id() == atomic_read(&kgdb_active))
Dnetdevice.h674 val |= raw_smp_processor_id(); in rps_record_sock_flow()
/linux-4.1.27/arch/powerpc/include/asm/
Dsmp.h73 #define raw_smp_processor_id() (local_paca->paca_index) macro
79 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/x86/include/asm/
Dsmp.h191 #define raw_smp_processor_id() (this_cpu_read(cpu_number)) macro
195 #define raw_smp_processor_id() (this_cpu_read(cpu_number)) macro
/linux-4.1.27/arch/sparc/kernel/
Dcpumap.h12 return raw_smp_processor_id(); in map_to_cpu()
Dkgdb_64.c128 kgdb_nmicallback(raw_smp_processor_id(), regs); in smp_kgdb_capture_client()
Dprocess_64.c254 this_cpu = raw_smp_processor_id(); in arch_trigger_all_cpu_backtrace()
352 this_cpu = raw_smp_processor_id(); in pmu_snapshot_all_cpus()
Dsmp_64.c838 struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id()]; in tsb_sync()
/linux-4.1.27/arch/metag/include/asm/
Dsmp.h6 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/sh/lib64/
Dudelay.c38 __delay(xloops * (HZ * cpu_data[raw_smp_processor_id()].loops_per_jiffy)); in __const_udelay()
/linux-4.1.27/arch/hexagon/include/asm/
Dsmp.h26 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/sh/lib/
Ddelay.c39 "r" (cpu_data[raw_smp_processor_id()].loops_per_jiffy * (HZ/4)) in __const_udelay()
/linux-4.1.27/arch/parisc/include/asm/
Dsmp.h35 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/xtensa/include/asm/
Dsmp.h14 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/arm64/include/asm/
Dsmp.h27 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/blackfin/include/asm/
Dsmp.h18 #define raw_smp_processor_id() blackfin_core_id() macro
/linux-4.1.27/arch/sh/kernel/cpu/
Dinit.c325 if (raw_smp_processor_id() == 0) { in cpu_init()
349 if (raw_smp_processor_id() == 0) { in cpu_init()
/linux-4.1.27/arch/sparc/include/asm/
Dsmp_64.h44 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
Dsmp_32.h106 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/alpha/include/asm/
Dsmp.h43 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/include/trace/events/
Dkmem.h158 TP_CONDITION(cpu_online(raw_smp_processor_id()))
177 TP_CONDITION(cpu_online(raw_smp_processor_id())),
294 TP_CONDITION(cpu_online(raw_smp_processor_id())),
/linux-4.1.27/lib/
Dsmp_processor_id.c13 int this_cpu = raw_smp_processor_id(); in check_preemption_disabled()
/linux-4.1.27/arch/sh/include/asm/
Dsmp.h15 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
Dprocessor.h96 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()]
/linux-4.1.27/arch/sh/kernel/
Dtopology.c77 register_cpu_under_node(raw_smp_processor_id(), i); in topology_init()
Dkgdb.c279 raw_smp_processor_id()); in kgdb_arch_handle_exception()
317 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); in kgdb_call_nmi_hook()
Dsmp.c111 irq_ctx_exit(raw_smp_processor_id()); in play_dead_common()
/linux-4.1.27/arch/metag/kernel/
Dtopology.c73 register_cpu_under_node(raw_smp_processor_id(), i); in topology_init()
/linux-4.1.27/arch/blackfin/kernel/
Dkgdb.c335 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); in kgdb_passive_cpu_callback()
404 kgdb_arch_imask = cpu_pda[raw_smp_processor_id()].ex_imask; in kgdb_arch_handle_exception()
405 cpu_pda[raw_smp_processor_id()].ex_imask = 0; in kgdb_arch_handle_exception()
437 int cpu = raw_smp_processor_id(); in kgdb_validate_break_address()
Dtrace.c655 unsigned int cpu = raw_smp_processor_id(); in dump_bfin_trace_buffer()
852 unsigned int cpu = raw_smp_processor_id(); in show_regs()
882 (long)fp->seqstat, fp->ipend, cpu_pda[raw_smp_processor_id()].ex_imask, fp->syscfg); in show_regs()
885 if (!(cpu_pda[raw_smp_processor_id()].ex_imask & (EVT_IVG13 | EVT_IVG12 | EVT_IVG11 | in show_regs()
888 if (!(cpu_pda[raw_smp_processor_id()].ex_imask & (EVT_IVG15 | EVT_IVG14))) in show_regs()
Dtraps.c77 unsigned int cpu = raw_smp_processor_id(); in trap_c()
515 unsigned int cpu = raw_smp_processor_id(); in double_fault_c()
Dprocess.c308 int cpu = raw_smp_processor_id(); in bfin_mem_access_type()
/linux-4.1.27/kernel/trace/
Dtrace_clock.c98 this_cpu = raw_smp_processor_id(); in trace_clock_global()
Dtrace_irqsoff.c114 cpu = raw_smp_processor_id(); in func_prolog_dec()
373 cpu = raw_smp_processor_id(); in start_critical_timing()
406 cpu = raw_smp_processor_id(); in stop_critical_timing()
Dtrace_sched_wakeup.c90 cpu = raw_smp_processor_id(); in func_prolog_preempt_disable()
453 cpu = raw_smp_processor_id(); in probe_wakeup_sched_switch()
Dtrace_stack.c190 cpu = raw_smp_processor_id(); in stack_trace_call()
Dtrace_functions.c175 cpu = raw_smp_processor_id(); in function_stack_trace_call()
Dtrace_functions_graph.c339 cpu = raw_smp_processor_id(); in trace_graph_entry()
424 cpu = raw_smp_processor_id(); in trace_graph_return()
Dring_buffer.c2749 cpu = raw_smp_processor_id(); in ring_buffer_lock_reserve()
2855 int cpu = raw_smp_processor_id(); in ring_buffer_unlock_commit()
3012 cpu = raw_smp_processor_id(); in ring_buffer_write()
Dtrace_uprobe.c753 cpu = raw_smp_processor_id(); in uprobe_buffer_get()
Dblktrace.c228 cpu = raw_smp_processor_id(); in __blk_add_trace()
Dftrace.c2850 start = ftrace_now(raw_smp_processor_id()); in ftrace_update_code()
2892 stop = ftrace_now(raw_smp_processor_id()); in ftrace_update_code()
Dtrace_events.c2889 cpu = raw_smp_processor_id(); in function_test_events_call()
Dtrace.c7008 iter.cpu_file = raw_smp_processor_id(); in ftrace_dump()
/linux-4.1.27/arch/arm64/kernel/
Dkgdb.c200 atomic_set(&kgdb_cpu_doing_single_step, raw_smp_processor_id()); in kgdb_arch_handle_exception()
254 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); in kgdb_call_nmi_hook()
/linux-4.1.27/drivers/net/ethernet/sfc/
Defx.h227 channel->channel, raw_smp_processor_id()); in efx_schedule_channel()
234 channel->event_test_cpu = raw_smp_processor_id(); in efx_schedule_channel_irq()
Dfarch.c1171 channel->event_test_cpu = raw_smp_processor_id(); in efx_farch_handle_generated_event()
1559 efx->last_irq_cpu = raw_smp_processor_id(); in efx_farch_legacy_interrupt()
1601 irq, raw_smp_processor_id(), EFX_DWORD_VAL(reg)); in efx_farch_legacy_interrupt()
1622 irq, raw_smp_processor_id(), EFX_OWORD_VAL(*int_ker)); in efx_farch_msi_interrupt()
1632 efx->last_irq_cpu = raw_smp_processor_id(); in efx_farch_msi_interrupt()
Def10.c1150 "IRQ %d on CPU %d\n", irq, raw_smp_processor_id()); in efx_ef10_msi_interrupt()
1155 efx->last_irq_cpu = raw_smp_processor_id(); in efx_ef10_msi_interrupt()
1182 efx->last_irq_cpu = raw_smp_processor_id(); in efx_ef10_legacy_interrupt()
1193 irq, raw_smp_processor_id(), EFX_DWORD_VAL(reg)); in efx_ef10_legacy_interrupt()
1952 channel->event_test_cpu = raw_smp_processor_id(); in efx_ef10_handle_driver_generated_event()
Defx.c280 channel->channel, raw_smp_processor_id()); in efx_poll()
1916 raw_smp_processor_id()); in efx_monitor()
2068 raw_smp_processor_id()); in efx_net_open()
2096 raw_smp_processor_id()); in efx_net_stop()
Dfalcon.c442 raw_smp_processor_id()); in falcon_legacy_interrupt_a1()
445 efx->last_irq_cpu = raw_smp_processor_id(); in falcon_legacy_interrupt_a1()
448 irq, raw_smp_processor_id(), EFX_OWORD_VAL(*int_ker)); in falcon_legacy_interrupt_a1()
/linux-4.1.27/arch/s390/include/asm/
Dsmp.h16 #define raw_smp_processor_id() (S390_lowcore.cpu_nr) macro
/linux-4.1.27/arch/arc/include/asm/
Dsmp.h18 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/mips/include/asm/
Dsmp.h28 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
Dcpu-info.h98 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()]
/linux-4.1.27/arch/arm/include/asm/
Dsmp.h21 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/blackfin/mm/
Dinit.c69 unsigned int cpu = raw_smp_processor_id(); in init_pda()
/linux-4.1.27/drivers/cpufreq/
Dpowernv-cpufreq.c245 raw_smp_processor_id(), pmspr_val, freq_data->pstate_id, in powernv_read_cpu_freq()
288 raw_smp_processor_id(), val); in set_pstate()
Dcpufreq_governor.c188 __gov_queue_work(raw_smp_processor_id(), dbs_data, delay); in gov_queue_work()
/linux-4.1.27/arch/ia64/include/asm/
Dsmp.h51 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/arch/tile/kernel/
Dsys.c43 homecache_evict(cpumask_of(raw_smp_processor_id())); in SYSCALL_DEFINE3()
Dkgdb.c149 kgdb_nmicallback(raw_smp_processor_id(), NULL); in kgdb_call_nmi_hook()
423 raw_smp_processor_id()); in kgdb_arch_handle_exception()
Dstack.c200 int cpu = raw_smp_processor_id(); in validate_stack()
393 raw_smp_processor_id(), get_cycles()); in tile_show_stack()
Dsysfs.c257 int cpu = raw_smp_processor_id(); in create_sysfs_entries()
Dhardwall.c662 task->pid, task->comm, hwt->name, raw_smp_processor_id()); in hardwall_deactivate()
Dunaligned.c1589 raw_smp_processor_id(), current->pid, in do_unaligned()
/linux-4.1.27/arch/x86/lib/
Dmsr-smp.c10 int this_cpu = raw_smp_processor_id(); in __rdmsr_on_cpu()
24 int this_cpu = raw_smp_processor_id(); in __wrmsr_on_cpu()
/linux-4.1.27/fs/pstore/
Dftrace.c45 pstore_ftrace_encode_cpu(&rec, raw_smp_processor_id()); in pstore_ftrace_call()
/linux-4.1.27/drivers/lguest/
Dpage_tables.c1184 if (pgdir->last_host_cpu == raw_smp_processor_id()) in map_switcher_in_guest()
1207 + raw_smp_processor_id() * sizeof(struct lguest_pages); in map_switcher_in_guest()
1220 = lg_switcher_pages[1 + raw_smp_processor_id()*2 + 1]; in map_switcher_in_guest()
1225 pgdir->last_host_cpu = raw_smp_processor_id(); in map_switcher_in_guest()
/linux-4.1.27/kernel/bpf/
Dhelpers.c106 return raw_smp_processor_id(); in bpf_get_smp_processor_id()
/linux-4.1.27/net/ipv4/netfilter/
Darp_tables.c777 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user()
875 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info()
1040 loc_cpu_old_entry = oldinfo->entries[raw_smp_processor_id()]; in __do_replace()
1088 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace()
1399 entry1 = newinfo->entries[raw_smp_processor_id()]; in translate_compat_table()
1515 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in compat_do_replace()
1621 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in compat_copy_entries_to_user()
1794 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in arpt_register_table()
1825 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in arpt_unregister_table()
Dip_tables.c946 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user()
1063 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info()
1227 loc_cpu_old_entry = oldinfo->entries[raw_smp_processor_id()]; in __do_replace()
1275 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace()
1721 entry1 = newinfo->entries[raw_smp_processor_id()]; in translate_compat_table()
1825 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in compat_do_replace()
1908 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in compat_copy_entries_to_user()
2087 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in ipt_register_table()
2118 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in ipt_unregister_table()
/linux-4.1.27/arch/ia64/sn/kernel/
Dbte.c90 int my_nasid = cpuid_to_nasid(raw_smp_processor_id()); in bte_copy()
109 bte_first = raw_smp_processor_id() % btes_per_node; in bte_copy()
/linux-4.1.27/arch/powerpc/kernel/
Dkgdb.c121 kgdb_nmicallback(raw_smp_processor_id(), regs); in kgdb_call_nmi_hook()
436 raw_smp_processor_id()); in kgdb_arch_handle_exception()
Dirq.c517 irqtp = hardirq_ctx[raw_smp_processor_id()]; in do_IRQ()
518 sirqtp = softirq_ctx[raw_smp_processor_id()]; in do_IRQ()
Drtasd.c463 cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in rtas_event_scan()
Dsmp.c311 int me = raw_smp_processor_id(); in smp_send_debugger_break()
/linux-4.1.27/drivers/tty/hvc/
Dhvc_tile.c84 int cpu = raw_smp_processor_id(); /* Choose an arbitrary cpu */ in hvc_tile_notifier_add_irq()
/linux-4.1.27/arch/m32r/include/asm/
Dsmp.h63 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux-4.1.27/drivers/oprofile/
Dbuffer_sync.c75 sync_buffer(raw_smp_processor_id()); in task_exit_notify()
100 sync_buffer(raw_smp_processor_id()); in munmap_notify()
/linux-4.1.27/kernel/debug/kdb/
Dkdb_main.c1176 kdb_curr_task(raw_smp_processor_id()); in kdb_local()
1186 kdb_printf("on processor %d ", raw_smp_processor_id()); in kdb_local()
1202 kdb_printf("on processor %d ", raw_smp_processor_id()); in kdb_local()
1292 raw_smp_processor_id()); in kdb_local()
1355 text, raw_smp_processor_id(), value, kdb_initial_cpu, in kdb_print_state()
1787 if (raw_smp_processor_id() != kdb_initial_cpu) { in kdb_go()
2199 kdb_printf("Currently on cpu %d\n", raw_smp_processor_id()); in kdb_cpu_status()
2321 p == kdb_curr_task(raw_smp_processor_id()) ? '*' : ' ', in kdb_ps1()
/linux-4.1.27/net/ipv6/netfilter/
Dip6_tables.c959 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user()
1076 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info()
1240 loc_cpu_old_entry = oldinfo->entries[raw_smp_processor_id()]; in __do_replace()
1288 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace()
1734 entry1 = newinfo->entries[raw_smp_processor_id()]; in translate_compat_table()
1838 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in compat_do_replace()
1921 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in compat_copy_entries_to_user()
2100 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in ip6t_register_table()
2130 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in ip6t_unregister_table()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dsched.c146 ctx->last_ran = raw_smp_processor_id(); in __spu_update_sched_info()
314 node = cpu_to_node(raw_smp_processor_id()); in aff_ref_location()
597 node = cpu_to_node(raw_smp_processor_id()); in spu_get_idle()
645 node = cpu_to_node(raw_smp_processor_id()); in find_victim()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_hv_builtin.c210 cpu_first_thread_sibling(raw_smp_processor_id())) { in kvmhv_rm_send_ipi()
/linux-4.1.27/kernel/time/
Dtimer.c243 return round_jiffies_common(j, raw_smp_processor_id(), false); in round_jiffies()
264 return __round_jiffies_relative(j, raw_smp_processor_id()); in round_jiffies_relative()
314 return round_jiffies_common(j, raw_smp_processor_id(), true); in round_jiffies_up()
329 return __round_jiffies_up_relative(j, raw_smp_processor_id()); in round_jiffies_up_relative()
Dtimer_stats.c248 lock = &per_cpu(tstats_lookup_lock, raw_smp_processor_id()); in timer_stats_update_stats()
Dclocksource.c269 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in clocksource_watchdog()
/linux-4.1.27/arch/blackfin/kernel/cplb-nompu/
Dcplbmgr.c218 unsigned int cpu = raw_smp_processor_id(); in cplb_hdr()
/linux-4.1.27/arch/arc/kernel/
Dkgdb.c196 kgdb_nmicallback(raw_smp_processor_id(), NULL); in kgdb_call_nmi_hook()
/linux-4.1.27/kernel/sched/
Dclock.c389 return sched_clock_cpu(raw_smp_processor_id()); in local_clock()
Ddebug.c657 unsigned int this_cpu = raw_smp_processor_id(); in proc_sched_show_task()
Dcore.c2135 notifier->ops->sched_in(notifier, raw_smp_processor_id()); in fire_sched_in_preempt_notifiers()
4941 __migrate_task(arg->task, raw_smp_processor_id(), arg->dest_cpu); in migration_cpu_stop()
/linux-4.1.27/arch/hexagon/kernel/
Dkgdb.c138 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); in hexagon_kgdb_nmi_hook()
Dtraps.c108 raw_smp_processor_id(), task->comm, in do_show_stack()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c140 int cpu = raw_smp_processor_id(); in bts_config_buffer()
191 int cpu = raw_smp_processor_id(); in bts_update()
Dperf_event_intel_pt.c806 cpu = raw_smp_processor_id(); in pt_buffer_setup_aux()
Dperf_event.c1816 int cpu = raw_smp_processor_id(); in allocate_fake_cpuc()
/linux-4.1.27/arch/arm/kernel/
Dkgdb.c181 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); in kgdb_call_nmi_hook()
/linux-4.1.27/arch/powerpc/mm/
Dslb.c326 if (raw_smp_processor_id() != boot_cpuid && in slb_initialize()
Dnuma.c1457 cpumask_of(raw_smp_processor_id())); in arch_update_cpu_topology()
/linux-4.1.27/arch/x86/kernel/cpu/microcode/
Dintel.c135 int cpu_num = raw_smp_processor_id(); in apply_microcode_intel()
Damd.c202 BUG_ON(raw_smp_processor_id() != cpu); in apply_microcode_amd()
/linux-4.1.27/drivers/crypto/
Dpadlock-aes.c169 int cpu = raw_smp_processor_id(); in padlock_reset_key()
181 per_cpu(paes_last_cword, raw_smp_processor_id()) = cword; in padlock_store_cword()
/linux-4.1.27/kernel/
Dpanic.c441 raw_smp_processor_id(), current->pid, file, line, caller); in warn_slowpath_common()
Dstop_machine.c626 BUG_ON(cpu_active(raw_smp_processor_id())); in stop_machine_from_inactive_cpu()
Dworkqueue.c905 if (WARN_ON_ONCE(cpu != raw_smp_processor_id() || pool->cpu != cpu)) in wq_worker_sleeping()
1366 cpu = raw_smp_processor_id(); in __queue_work()
2020 raw_smp_processor_id() != pool->cpu); in process_one_work()
Dsys.c2257 int cpu = raw_smp_processor_id(); in SYSCALL_DEFINE3()
/linux-4.1.27/kernel/debug/
Ddebug_core.c418 if (atomic_read(&kgdb_active) != raw_smp_processor_id()) in kgdb_reenter_check()
709 ks->cpu = raw_smp_processor_id(); in kgdb_handle_exception()
Dgdbstub.c469 return -raw_smp_processor_id() - 2; in shadow_pid()
/linux-4.1.27/fs/xfs/
Dxfs_linux.h134 #define current_cpu() (raw_smp_processor_id())
/linux-4.1.27/net/netfilter/
Dnft_meta.c157 *dest = raw_smp_processor_id(); in nft_meta_get_eval()
/linux-4.1.27/arch/mips/kernel/
Dkgdb.c217 kgdb_nmicallback(raw_smp_processor_id(), NULL); in kgdb_call_nmi_hook()
/linux-4.1.27/arch/blackfin/kernel/cplb-mpu/
Dcplbmgr.c303 unsigned int cpu = raw_smp_processor_id(); in cplb_hdr()
/linux-4.1.27/drivers/lguest/x86/
Dcore.c272 run_guest_once(cpu, lguest_pages(raw_smp_processor_id())); in lguest_arch_run_guest()
/linux-4.1.27/arch/mn10300/kernel/
Dkgdb.c438 raw_smp_processor_id()); in kgdb_arch_handle_exception()
/linux-4.1.27/net/core/
Dflow_dissector.c480 skb->sender_cpu = raw_smp_processor_id() + 1; in netdev_pick_tx()
Dfilter.c144 return raw_smp_processor_id(); in __get_raw_cpu_id()
Dsock.c1555 newsk->sk_incoming_cpu = raw_smp_processor_id(); in sk_clone_lock()
/linux-4.1.27/include/asm-generic/
Dpercpu.h30 #define __my_cpu_offset per_cpu_offset(raw_smp_processor_id())
/linux-4.1.27/arch/ia64/kernel/
Dmca_drv.c161 raw_smp_processor_id(), current->pid, in mca_handler_bh()
/linux-4.1.27/drivers/tty/serial/
Dtilegx.c334 int cpu = raw_smp_processor_id(); /* pick an arbitrary cpu */ in tilegx_startup()
/linux-4.1.27/drivers/block/
Dnull_blk.c308 index = raw_smp_processor_id() / ((nr_cpu_ids + nullb->nr_queues - 1) / nullb->nr_queues); in nullb_to_queue()
/linux-4.1.27/drivers/misc/sgi-gru/
Dgrufault.c542 raw_smp_processor_id(), chiplet); in gru_intr()
/linux-4.1.27/arch/x86/kvm/
Dsvm.c645 int me = raw_smp_processor_id(); in svm_hardware_enable()
717 struct svm_cpu_data *sd = per_cpu(svm_data, raw_smp_processor_id()); in svm_cpu_uninit()
722 per_cpu(svm_data, raw_smp_processor_id()) = NULL; in svm_cpu_uninit()
3578 int cpu = raw_smp_processor_id(); in reload_tss()
3587 int cpu = raw_smp_processor_id(); in pre_svm_run()
Dvmx.c1292 int cpu = raw_smp_processor_id(); in crash_vmclear_local_loaded_vmcss()
1310 int cpu = raw_smp_processor_id(); in __loaded_vmcs_clear()
2894 int cpu = raw_smp_processor_id(); in hardware_enable()
2939 int cpu = raw_smp_processor_id(); in vmclear_local_loaded_vmcss()
3189 return alloc_vmcs_cpu(raw_smp_processor_id()); in alloc_vmcs()
8425 kvm_cpu_vmxon(__pa(per_cpu(vmxarea, raw_smp_processor_id()))); in vmx_create_vcpu()
Dx86.c5525 khz = cpufreq_quick_get(raw_smp_processor_id()); in tsc_khz_changed()
/linux-4.1.27/arch/x86/kernel/apic/
Dx2apic_uv_x.c750 if (idle_cpu(raw_smp_processor_id())) in uv_heartbeat()
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1591 raw_smp_processor_id() % instance->msix_vectors : 0; in megasas_build_ldio_fusion()
1697 raw_smp_processor_id() % in megasas_build_dcdb_fusion()
/linux-4.1.27/virt/kvm/
Dkvm_main.c2802 int cpu = raw_smp_processor_id(); in hardware_enable_nolock()
2829 int cpu = raw_smp_processor_id(); in hardware_disable_nolock()
/linux-4.1.27/kernel/rcu/
Dtree.c3307 WARN_ON_ONCE(cpu_is_offline(raw_smp_processor_id())); in synchronize_sched_expedited()
3313 cpumask_clear_cpu(raw_smp_processor_id(), cm); in synchronize_sched_expedited()
/linux-4.1.27/mm/
Dpercpu.c856 addr += pcpu_unit_offsets[raw_smp_processor_id()]; in pcpu_chunk_addr_search()
Dmempolicy.c2256 int thiscpu = raw_smp_processor_id(); in mpol_misplaced()
/linux-4.1.27/include/net/
Dsock.h857 sk->sk_incoming_cpu = raw_smp_processor_id(); in sk_incoming_cpu_update()
/linux-4.1.27/drivers/block/mtip32xx/
Dmtip32xx.c4286 cpu_to_node(raw_smp_processor_id()), raw_smp_processor_id()); in mtip_pci_probe()
/linux-4.1.27/drivers/misc/sgi-xp/
Dxpc_sn2.c1264 cpuid = raw_smp_processor_id(); /* any CPU in this partition will do */ in xpc_setup_ch_structures_sn2()
/linux-4.1.27/kernel/printk/
Dprintk.c3070 log_lvl, raw_smp_processor_id(), current->pid, current->comm, in dump_stack_print_info()
/linux-4.1.27/block/
Dblk-mq.c776 WARN_ON(!cpumask_test_cpu(raw_smp_processor_id(), hctx->cpumask)); in __blk_mq_run_hw_queue()
Dblk-core.c1665 req->cpu = raw_smp_processor_id(); in blk_queue_bio()
/linux-4.1.27/drivers/scsi/
Dhpsa.c756 raw_smp_processor_id() % h->nreply_queues; in set_performant_mode()
1756 queue_work_on(raw_smp_processor_id(), h->resubmit_wq, &c->work); in process_ioaccel2_completion()
1832 queue_work_on(raw_smp_processor_id(), in complete_scsi_command()
/linux-4.1.27/Documentation/networking/
Dfilter.txt281 cpu raw_smp_processor_id()
/linux-4.1.27/net/packet/
Daf_packet.c314 return (u16) raw_smp_processor_id() % dev->real_num_tx_queues; in __packet_pick_tx_queue()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_base.c1868 return ioc->cpu_msix_table[raw_smp_processor_id()]; in _base_get_msix_index()
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2146 return ioc->cpu_msix_table[raw_smp_processor_id()]; in _base_get_msix_index()
/linux-4.1.27/kernel/events/
Dcore.c5019 data->cpu_entry.cpu = raw_smp_processor_id(); in __perf_event_header__init_id()