Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
smp.c File Reference
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/profile.h>
#include <linux/cpu.h>
#include <asm/cacheflush.h>
#include <asm/pgalloc.h>
#include <linux/atomic.h>
#include <asm/io.h>
#include <asm/mmu_context.h>
#include <asm/m32r.h>
#include <asm/tlbflush.h>

Go to the source code of this file.


#define FLUSH_ALL   0xffffffff


 DECLARE_PER_CPU (int, prof_multiplier)
 DECLARE_PER_CPU (int, prof_old_multiplier)
 DECLARE_PER_CPU (int, prof_counter)
void smp_reschedule_interrupt (void)
void smp_flush_cache_all_interrupt (void)
void smp_invalidate_interrupt (void)
void smp_ipi_timer_interrupt (struct pt_regs *)
void smp_local_timer_interrupt (void)
void smp_send_reschedule (int cpu_id)
void smp_flush_cache_all (void)
void smp_flush_tlb_all (void)
void smp_flush_tlb_mm (struct mm_struct *mm)
void smp_flush_tlb_range (struct vm_area_struct *vma, unsigned long start, unsigned long end)
void smp_flush_tlb_page (struct vm_area_struct *vma, unsigned long va)
void smp_send_stop (void)
void arch_send_call_function_ipi_mask (const struct cpumask *mask)
void arch_send_call_function_single_ipi (int cpu)
void smp_call_function_interrupt (void)
void smp_call_function_single_interrupt (void)
void smp_send_timer (void)
unsigned long send_IPI_mask_phys (const cpumask_t *physid_mask, int ipi_num, int try)


spinlock_t ipi_lock []

Macro Definition Documentation

#define FLUSH_ALL   0xffffffff

Definition at line 53 of file smp.c.

Function Documentation

void arch_send_call_function_ipi_mask ( const struct cpumask mask)

Definition at line 538 of file smp.c.

void arch_send_call_function_single_ipi ( int  cpu)

Definition at line 543 of file smp.c.

unsigned long send_IPI_mask_phys ( const cpumask_t physid_mask,
int  ipi_num,
int  try 

Definition at line 785 of file smp.c.

void smp_call_function_interrupt ( void  )

Definition at line 565 of file smp.c.

void smp_call_function_single_interrupt ( void  )

Definition at line 572 of file smp.c.

void smp_flush_cache_all ( void  )

Definition at line 149 of file smp.c.

void smp_flush_cache_all_interrupt ( void  )

Definition at line 168 of file smp.c.

void smp_flush_tlb_all ( void  )

Definition at line 196 of file smp.c.

void smp_flush_tlb_mm ( struct mm_struct mm)

Definition at line 246 of file smp.c.

void smp_flush_tlb_page ( struct vm_area_struct vma,
unsigned long  va 

Definition at line 315 of file smp.c.

void smp_flush_tlb_range ( struct vm_area_struct vma,
unsigned long  start,
unsigned long  end 

Definition at line 292 of file smp.c.

void smp_invalidate_interrupt ( void  )

Definition at line 448 of file smp.c.

void smp_ipi_timer_interrupt ( struct pt_regs regs)

Definition at line 622 of file smp.c.

void smp_local_timer_interrupt ( void  )

Definition at line 655 of file smp.c.

void smp_reschedule_interrupt ( void  )

Definition at line 127 of file smp.c.

void smp_send_reschedule ( int  cpu_id)

Definition at line 104 of file smp.c.

void smp_send_stop ( void  )

Definition at line 495 of file smp.c.

void smp_send_timer ( void  )

Definition at line 600 of file smp.c.

Variable Documentation

spinlock_t ipi_lock[]

Definition at line 104 of file smpboot.c.