Go to the documentation of this file. 1 #ifndef __LINUX_CPU_RMAP_H
2 #define __LINUX_CPU_RMAP_H
15 #include <linux/slab.h>
33 #define CPU_RMAP_DIST_INF 0xffff
41 static inline void free_cpu_rmap(
struct cpu_rmap *rmap)
50 static inline u16 cpu_rmap_lookup_index(
struct cpu_rmap *rmap,
unsigned int cpu)
55 static inline void *cpu_rmap_lookup_obj(
struct cpu_rmap *rmap,
unsigned int cpu)
60 #ifdef CONFIG_GENERIC_HARDIRQS
68 static inline struct cpu_rmap *alloc_irq_cpu_rmap(
unsigned int size)
72 extern void free_irq_cpu_rmap(
struct cpu_rmap *rmap);
74 extern int irq_cpu_rmap_add(
struct cpu_rmap *rmap,
int irq);