/linux-2.4.37.9/include/linux/ |
D | irq_cpustat.h | 23 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) argument 25 #define __IRQ_STAT(cpu, member) (irq_stat[((void)(cpu), 0)].member) argument 29 #define softirq_pending(cpu) __IRQ_STAT((cpu), __softirq_pending) argument 30 #define local_irq_count(cpu) __IRQ_STAT((cpu), __local_irq_count) argument 31 #define local_bh_count(cpu) __IRQ_STAT((cpu), __local_bh_count) argument 32 #define syscall_count(cpu) __IRQ_STAT((cpu), __syscall_count) argument 33 #define ksoftirqd_task(cpu) __IRQ_STAT((cpu), __ksoftirqd_task) argument 35 #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) /* i386, ia64 */ argument
|
/linux-2.4.37.9/include/asm-ppc/ |
D | hardirq.h | 27 #define last_jiffy_stamp(cpu) __IRQ_STAT((cpu), __last_jiffy_stamp) argument 28 #define heartbeat_count(cpu) __IRQ_STAT((cpu), __heartbeat_count) argument 29 #define heartbeat_reset(cpu) __IRQ_STAT((cpu), __heartbeat_reset) argument 41 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 42 #define hardirq_endlock(cpu) do { } while (0) argument 44 #define hardirq_enter(cpu) (local_irq_count(cpu)++) argument 45 #define hardirq_exit(cpu) (local_irq_count(cpu)--) argument 57 static inline void release_irqlock(int cpu) in release_irqlock() 66 static inline void hardirq_enter(int cpu) in hardirq_enter() 89 static inline void hardirq_exit(int cpu) in hardirq_exit() [all …]
|
/linux-2.4.37.9/include/asm-alpha/ |
D | hardirq.h | 34 #define irq_attempt(cpu, irq) (__irq_attempt[irq]) argument 36 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 37 #define hardirq_endlock(cpu) ((void) 0) argument 39 #define irq_enter(cpu, irq) (local_irq_count(cpu)++) argument 40 #define irq_exit(cpu, irq) (local_irq_count(cpu)--) argument 46 #define irq_attempt(cpu, irq) (cpu_data[cpu].irq_attempt[irq]) argument 65 static inline void release_irqlock(int cpu) in release_irqlock() 74 static inline void irq_enter(int cpu, int irq) in irq_enter() 82 static inline void irq_exit(int cpu, int irq) in irq_exit() 87 static inline int hardirq_trylock(int cpu) in hardirq_trylock() [all …]
|
/linux-2.4.37.9/include/asm-s390/ |
D | hardirq.h | 42 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 43 #define hardirq_endlock(cpu) do { } while (0) argument 45 #define hardirq_enter(cpu) (local_irq_count(cpu)++) argument 46 #define hardirq_exit(cpu) (local_irq_count(cpu)--) argument 59 static inline void release_irqlock(int cpu) in release_irqlock() 68 static inline void hardirq_enter(int cpu) in hardirq_enter() 74 static inline void hardirq_exit(int cpu) in hardirq_exit() 80 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 86 #define hardirq_endlock(cpu) do { } while (0) argument
|
/linux-2.4.37.9/include/asm-s390x/ |
D | hardirq.h | 42 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 43 #define hardirq_endlock(cpu) do { } while (0) argument 45 #define hardirq_enter(cpu) (local_irq_count(cpu)++) argument 46 #define hardirq_exit(cpu) (local_irq_count(cpu)--) argument 59 static inline void release_irqlock(int cpu) in release_irqlock() 68 static inline void hardirq_enter(int cpu) in hardirq_enter() 74 static inline void hardirq_exit(int cpu) in hardirq_exit() 80 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 86 #define hardirq_endlock(cpu) do { } while (0) argument
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | hardirq.h | 37 #define irq_enter(cpu) (local_irq_count(cpu)++) argument 38 #define irq_exit(cpu) (local_irq_count(cpu)--) argument 41 #define local_irq_count(cpu) (__brlock_array[cpu][BR_GLOBALIRQ_LOCK]) argument 42 #define irq_enter(cpu) br_read_lock(BR_GLOBALIRQ_LOCK) argument 43 #define irq_exit(cpu) br_read_unlock(BR_GLOBALIRQ_LOCK) argument 58 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 59 #define hardirq_endlock(cpu) do { } while (0) argument 77 static inline void release_irqlock(int cpu) in release_irqlock() 86 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 93 #define hardirq_endlock(cpu) do { (void)(cpu); } while (0) argument
|
D | smp.h | 50 #define cpu_possible(cpu) paca[cpu].active argument 51 #define cpu_available(cpu) paca[cpu].available argument 57 #define cpu_logical_map(cpu) (cpu) argument 79 #define cpu_possible(cpu) ((cpu) == 0) argument 80 #define cpu_available(cpu) ((cpu) == 0) argument
|
/linux-2.4.37.9/include/asm-sparc/ |
D | hardirq.h | 33 #define irq_enter(cpu, irq) ((void)(irq), local_irq_count(cpu)++) argument 34 #define irq_exit(cpu, irq) ((void)(irq), local_irq_count(cpu)--) argument 37 #define local_irq_count(cpu) (__brlock_array[cpu][BR_GLOBALIRQ_LOCK]) argument 38 #define irq_enter(cpu, irq) br_read_lock(BR_GLOBALIRQ_LOCK) argument 39 #define irq_exit(cpu, irq) br_read_unlock(BR_GLOBALIRQ_LOCK) argument 54 #define hardirq_trylock(cpu) ((void)(cpu), local_irq_count(smp_processor_id()) == 0) argument 55 #define hardirq_endlock(cpu) do { (void)(cpu); } while(0) argument 73 static inline void release_irqlock(int cpu) in release_irqlock() 82 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 89 #define hardirq_endlock(cpu) do { (void)(cpu); } while (0) argument
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | hardirq.h | 33 #define irq_enter(cpu, irq) ((void)(irq), local_irq_count(cpu)++) argument 34 #define irq_exit(cpu, irq) ((void)(irq), local_irq_count(cpu)--) argument 37 #define local_irq_count(cpu) (__brlock_array[cpu][BR_GLOBALIRQ_LOCK]) argument 38 #define irq_enter(cpu, irq) br_read_lock(BR_GLOBALIRQ_LOCK) argument 39 #define irq_exit(cpu, irq) br_read_unlock(BR_GLOBALIRQ_LOCK) argument 54 #define hardirq_trylock(cpu) ((void)(cpu), local_irq_count(smp_processor_id()) == 0) argument 55 #define hardirq_endlock(cpu) do { (void)(cpu); } while(0) argument 73 static inline void release_irqlock(int cpu) in release_irqlock() 82 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 89 #define hardirq_endlock(cpu) do { (void)(cpu); } while (0) argument
|
/linux-2.4.37.9/include/asm-parisc/ |
D | hardirq.h | 43 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 44 #define hardirq_endlock(cpu) do { } while (0) argument 46 #define irq_enter(cpu, irq) (local_irq_count(cpu)++) argument 47 #define irq_exit(cpu, irq) (local_irq_count(cpu)--) argument 72 static inline void release_irqlock(int cpu) in release_irqlock() 81 static inline void irq_enter(int cpu, int irq) in irq_enter() 89 static inline void irq_exit(int cpu, int irq) in irq_exit() 94 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 99 #define hardirq_endlock(cpu) do { } while (0) argument
|
/linux-2.4.37.9/include/asm-mips/ |
D | hardirq.h | 38 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 39 #define hardirq_endlock(cpu) do { } while (0) argument 41 #define irq_enter(cpu, irq) (local_irq_count(cpu)++) argument 42 #define irq_exit(cpu, irq) (local_irq_count(cpu)--) argument 65 static inline void release_irqlock(int cpu) in release_irqlock() 74 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 79 #define hardirq_endlock(cpu) do { } while (0) argument 81 static inline void irq_enter(int cpu, int irq) in irq_enter() 89 static inline void irq_exit(int cpu, int irq) in irq_exit()
|
D | mmu_context.h | 34 #define cpu_context(cpu, mm) ((mm)->context[cpu]) argument 35 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK) argument 36 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) argument 55 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb() 67 get_new_mmu_context(struct mm_struct *mm, unsigned long cpu) in get_new_mmu_context() 95 struct task_struct *tsk, unsigned cpu) in switch_mm() 134 int cpu = smp_processor_id(); in activate_mm() local 156 drop_mmu_context(struct mm_struct *mm, unsigned cpu) in drop_mmu_context()
|
/linux-2.4.37.9/include/asm-mips64/ |
D | hardirq.h | 37 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 38 #define hardirq_endlock(cpu) do { } while (0) argument 40 #define irq_enter(cpu, irq) (local_irq_count(cpu)++) argument 41 #define irq_exit(cpu, irq) (local_irq_count(cpu)--) argument 64 static inline void release_irqlock(int cpu) in release_irqlock() 73 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 78 #define hardirq_endlock(cpu) do { } while (0) argument 80 static inline void irq_enter(int cpu, int irq) in irq_enter() 88 static inline void irq_exit(int cpu, int irq) in irq_exit()
|
D | mmu_context.h | 34 #define cpu_context(cpu, mm) ((mm)->context[cpu]) argument 35 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK) argument 36 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) argument 55 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb() 67 get_new_mmu_context(struct mm_struct *mm, unsigned long cpu) in get_new_mmu_context() 95 struct task_struct *tsk, unsigned cpu) in switch_mm() 134 int cpu = smp_processor_id(); in activate_mm() local 156 drop_mmu_context(struct mm_struct *mm, unsigned cpu) in drop_mmu_context()
|
/linux-2.4.37.9/include/asm-i386/ |
D | hardirq.h | 31 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 32 #define hardirq_endlock(cpu) do { } while (0) argument 34 #define irq_enter(cpu, irq) (local_irq_count(cpu)++) argument 35 #define irq_exit(cpu, irq) (local_irq_count(cpu)--) argument 57 static inline void release_irqlock(int cpu) in release_irqlock() 66 static inline void irq_enter(int cpu, int irq) in irq_enter() 77 static inline void irq_exit(int cpu, int irq) in irq_exit() 82 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 87 #define hardirq_endlock(cpu) do { } while (0) argument
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | hardirq.h | 31 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) argument 32 #define hardirq_endlock(cpu) do { } while (0) argument 34 #define irq_enter(cpu, irq) (local_irq_count(cpu)++) argument 35 #define irq_exit(cpu, irq) (local_irq_count(cpu)--) argument 57 static inline void release_irqlock(int cpu) in release_irqlock() 66 static inline void irq_enter(int cpu, int irq) in irq_enter() 77 static inline void irq_exit(int cpu, int irq) in irq_exit() 82 static inline int hardirq_trylock(int cpu) in hardirq_trylock() 87 #define hardirq_endlock(cpu) do { } while (0) argument
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | temp.c | 54 void set_thresholds(unsigned long cpu) in set_thresholds() 74 void TAUupdate(int cpu) in TAUupdate() 127 unsigned long cpu = smp_processor_id(); in TAUException() local 141 unsigned long cpu = smp_processor_id(); in tau_timeout() local 214 unsigned long cpu = smp_processor_id(); in TAU_init_smp() local 265 u32 cpu_temp_both(unsigned long cpu) in cpu_temp_both() 270 int cpu_temp(unsigned long cpu) in cpu_temp() 275 int tau_interrupts(unsigned long cpu) in tau_interrupts()
|
/linux-2.4.37.9/kernel/ |
D | softirq.c | 53 static inline void wakeup_softirqd(unsigned cpu) in wakeup_softirqd() 63 int cpu = smp_processor_id(); in do_softirq() local 114 inline fastcall void cpu_raise_softirq(unsigned int cpu, unsigned int nr) in cpu_raise_softirq() 154 int cpu = smp_processor_id(); in __tasklet_schedule() local 166 int cpu = smp_processor_id(); in __tasklet_hi_schedule() local 178 int cpu = smp_processor_id(); in tasklet_action() local 212 int cpu = smp_processor_id(); in tasklet_hi_action() local 290 int cpu = smp_processor_id(); in bh_action() local 364 int cpu = cpu_logical_map(bind_cpu); in ksoftirqd() local 400 int cpu; in spawn_ksoftirqd() local
|
/linux-2.4.37.9/include/asm-ia64/ |
D | hardirq.h | 19 #define softirq_pending(cpu) (cpu_data(cpu)->softirq_pending) argument 20 #define ksoftirqd_task(cpu) (cpu_data(cpu)->ksoftirqd) argument 21 #define irq_count(cpu) (cpu_data(cpu)->irq_stat.f.irq_count) argument 22 #define bh_count(cpu) (cpu_data(cpu)->irq_stat.f.bh_count) argument 23 #define syscall_count(cpu) /* unused on IA-64 */ argument 24 #define nmi_count(cpu) 0 argument 68 release_irqlock (int cpu) in release_irqlock()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | proto.h | 188 #define mcheck_expected(cpu) (cpu_data[cpu].mcheck_expected) argument 189 #define mcheck_taken(cpu) (cpu_data[cpu].mcheck_taken) argument 190 #define mcheck_extra(cpu) (cpu_data[cpu].mcheck_extra) argument 199 #define mcheck_expected(cpu) (__mcheck_info.expected) argument 200 #define mcheck_taken(cpu) (__mcheck_info.taken) argument 201 #define mcheck_extra(cpu) (__mcheck_info.extra) argument
|
D | irq_smp.c | 38 int cpu = smp_processor_id(); in show() local 63 wait_on_irq(int cpu, void *where) in wait_on_irq() 106 get_irqlock(int cpu, void* where) in get_irqlock() 138 int cpu = smp_processor_id(); in __global_cli() local 152 int cpu = smp_processor_id(); in __global_sti() local 172 int cpu = smp_processor_id(); in __global_save_flags() local
|
/linux-2.4.37.9/arch/sparc/lib/ |
D | debuglocks.c | 31 int cpu = smp_processor_id(); in show() local 39 int cpu = smp_processor_id(); in show_read() local 47 int cpu = smp_processor_id(); in show_write() local 66 int cpu = smp_processor_id(); in _do_spin_lock() local 90 int cpu = smp_processor_id(); in _spin_trylock() local 113 int cpu = smp_processor_id(); in _do_read_lock() local 140 int cpu = smp_processor_id(); in _do_read_unlock() local 167 int cpu = smp_processor_id(); in _do_write_lock() local
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | irq_smp.c | 36 int cpu = smp_processor_id(); in show() local 51 wait_on_irq(int cpu, void *where) in wait_on_irq() 94 get_irqlock(int cpu, void* where) in get_irqlock() 142 int cpu = smp_processor_id(); in __global_cli() local 154 int cpu = smp_processor_id(); in __global_sti() local 174 int cpu = smp_processor_id(); in __global_save_flags() local
|
/linux-2.4.37.9/arch/sparc64/lib/ |
D | debuglocks.c | 19 int cpu = smp_processor_id(); in show() local 28 int cpu = smp_processor_id(); in show_read() local 37 int cpu = smp_processor_id(); in show_write() local 55 int cpu = smp_processor_id(); in _do_spin_lock() local 85 int cpu = smp_processor_id(); in _spin_trylock() local 117 int cpu = smp_processor_id(); in _do_read_lock() local 154 int cpu = smp_processor_id(); in _do_read_unlock() local 188 int cpu = smp_processor_id(); in _do_write_lock() local
|
/linux-2.4.37.9/arch/ia64/sn/io/sn2/ |
D | ml_SN_intr.c | 59 cpuid_t cpu; in intr_init_vecblk() local 156 do_intr_reserve_level(cpuid_t cpu, in do_intr_reserve_level() 219 intr_reserve_level(cpuid_t cpu, in intr_reserve_level() 229 intr_unreserve_level(cpuid_t cpu, in intr_unreserve_level() 238 do_intr_connect_level(cpuid_t cpu, in do_intr_connect_level() 267 intr_connect_level(cpuid_t cpu, in intr_connect_level() 276 intr_disconnect_level(cpuid_t cpu, in intr_disconnect_level() 287 cpuid_t cpu, best_cpu = CPU_NONE; in do_intr_cpu_choose() local 328 intr_bit_reserve_test(cpuid_t cpu, in intr_bit_reserve_test()
|