Searched refs:this_cpu (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/kernel/ |
D | sched.c | 144 static inline int goodness(struct task_struct * p, int this_cpu, struct mm_struct *this_mm) in goodness() argument 175 if (p->processor == this_cpu) in goodness() 215 int this_cpu = smp_processor_id(); in reschedule_idle() local 237 if ((best_cpu != this_cpu) && !need_resched) in reschedule_idle() 302 if (tsk->processor != this_cpu) in reschedule_idle() 309 int this_cpu = smp_processor_id(); in reschedule_idle() 312 tsk = cpu_curr(this_cpu); in reschedule_idle() 313 if (preemption_goodness(tsk, p, this_cpu) > 0) in reschedule_idle() 552 int this_cpu, c; in schedule() local 560 this_cpu = prev->processor; in schedule() [all …]
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | smp.c | 135 cpu_data[this_cpu].state = STATE_STOPPED; in halt_processor() 151 int this_cpu = smp_processor_id(); in ipi_interrupt() local 152 struct cpuinfo_parisc *p = &cpu_data[this_cpu]; in ipi_interrupt() 178 printk(KERN_DEBUG "CPU%d IPI_RESCHEDULE\n",this_cpu); in ipi_interrupt() 189 printk(KERN_DEBUG "CPU%d IPI_CALL_FUNC\n",this_cpu); in ipi_interrupt() 223 printk(KERN_DEBUG "CPU%d IPI_CPU_START\n",this_cpu); in ipi_interrupt() 233 printk(KERN_DEBUG "CPU%d IPI_CPU_STOP\n",this_cpu); in ipi_interrupt() 244 printk(KERN_DEBUG "CPU%d is alive!\n",this_cpu); in ipi_interrupt() 251 this_cpu, which); in ipi_interrupt()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | smp.c | 738 int this_cpu = smp_processor_id(); in handle_ipi() local 739 unsigned long *pending_ipis = &ipi_data[this_cpu].bits; in handle_ipi() 744 this_cpu, *pending_ipis, regs->pc)); in handle_ipi() 790 this_cpu, which); in handle_ipi() 797 cpu_data[this_cpu].ipi_count++; in handle_ipi() 970 int i, cpu, this_cpu = smp_processor_id(); in flush_tlb_mm() local 973 if (cpu == this_cpu) in flush_tlb_mm() 1014 int i, cpu, this_cpu = smp_processor_id(); in flush_tlb_page() local 1017 if (cpu == this_cpu) in flush_tlb_page() 1064 int i, cpu, this_cpu = smp_processor_id(); in flush_icache_user_range() local [all …]
|
/linux-2.4.37.9/arch/ia64/kernel/ |
D | smp.c | 92 int this_cpu = smp_processor_id(); in handle_IPI() local 140 printk(KERN_CRIT "Unknown IPI on CPU %d: %lu\n", this_cpu, which); in handle_IPI()
|
/linux-2.4.37.9/net/core/ |
D | dev.c | 1277 int this_cpu = smp_processor_id(); in netif_rx() local 1287 queue = &softnet_data[this_cpu]; in netif_rx() 1291 netdev_rx_stat[this_cpu].total++; in netif_rx() 1302 get_sample_stats(this_cpu); in netif_rx() 1321 netdev_rx_stat[this_cpu].throttled++; in netif_rx() 1328 netdev_rx_stat[this_cpu].dropped++; in netif_rx() 1547 int this_cpu = smp_processor_id(); in process_backlog() local 1548 struct softnet_data *queue = &softnet_data[this_cpu]; in process_backlog() 1608 int this_cpu = smp_processor_id(); in net_rx_action() local 1609 struct softnet_data *queue = &softnet_data[this_cpu]; in net_rx_action() [all …]
|
/linux-2.4.37.9/drivers/char/rio/ |
D | riointr.c | 302 if ( this_cpu < RIO_CPU_LIMIT )
|