Lines Matching defs:cpu
306 #define CPU_IDX(cpu) ((cpu) / CPUS_PER_LONG) argument
307 #define CPU_BIT(cpu) ((cpu) & (CPUS_PER_LONG - 1)) argument
321 static void resize_cpu_info(struct per_dev_info *pdi, int cpu) in resize_cpu_info()
357 static struct per_cpu_info *get_cpu_info(struct per_dev_info *pdi, int cpu) in get_cpu_info()
485 int cpu; in collect_pdi_skips() local
504 static void cpu_mark_online(struct per_dev_info *pdi, unsigned int cpu) in cpu_mark_online()
524 static inline void cpu_mark_offline(struct per_dev_info *pdi, int cpu) in cpu_mark_offline()
529 static inline int cpu_is_online(struct per_dev_info *pdi, int cpu) in cpu_is_online()
1959 int ret, cpu; in check_cpu_map() local
2246 unsigned int cpu; member
2393 static struct ms_stream *ms_alloc(struct per_dev_info *pdi, int cpu) in ms_alloc()
2408 static int setup_file(struct per_dev_info *pdi, int cpu) in setup_file()
2507 int i, cpu, ret; in do_file() local