/include/linux/ |
D | topology.h | 82 static inline int cpu_to_node(int cpu) in cpu_to_node() 96 static inline void set_cpu_numa_node(int cpu, int node) in set_cpu_numa_node() 148 static inline int cpu_to_mem(int cpu) in cpu_to_mem() 155 static inline void set_cpu_numa_mem(int cpu, int node) in set_cpu_numa_mem() 180 static inline int cpu_to_mem(int cpu) in cpu_to_mem() 189 #define topology_physical_package_id(cpu) ((void)(cpu), -1) argument 192 #define topology_core_id(cpu) ((void)(cpu), 0) argument 195 #define topology_thread_cpumask(cpu) cpumask_of(cpu) argument 198 #define topology_core_cpumask(cpu) cpumask_of(cpu) argument 202 static inline const struct cpumask *cpu_smt_mask(int cpu) in cpu_smt_mask() [all …]
|
D | cpumask.h | 97 #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask) argument 98 #define cpu_possible(cpu) cpumask_test_cpu((cpu), cpu_possible_mask) argument 99 #define cpu_present(cpu) cpumask_test_cpu((cpu), cpu_present_mask) argument 100 #define cpu_active(cpu) cpumask_test_cpu((cpu), cpu_active_mask) argument 106 #define cpu_online(cpu) ((cpu) == 0) argument 107 #define cpu_possible(cpu) ((cpu) == 0) argument 108 #define cpu_present(cpu) ((cpu) == 0) argument 109 #define cpu_active(cpu) ((cpu) == 0) argument 113 static inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check() 147 static inline unsigned int cpumask_any_but(const struct cpumask *mask, in cpumask_any_but() [all …]
|
D | kernel_stat.h | 49 #define kstat_cpu(cpu) per_cpu(kstat, cpu) argument 50 #define kcpustat_cpu(cpu) per_cpu(kernel_cpustat, cpu) argument 62 static inline unsigned int kstat_softirqs_cpu(unsigned int irq, int cpu) in kstat_softirqs_cpu() 76 static inline unsigned int kstat_cpu_irqs_sum(unsigned int cpu) in kstat_cpu_irqs_sum()
|
D | tick.h | 91 static inline void tick_cancel_sched_timer(int cpu) { } in tick_cancel_sched_timer() 122 static inline void tick_cancel_sched_timer(int cpu) { } in tick_cancel_sched_timer() 159 static inline u64 get_cpu_idle_time_us(int cpu, u64 *unused) { return -1; } in get_cpu_idle_time_us() 160 static inline u64 get_cpu_iowait_time_us(int cpu, u64 *unused) { return -1; } in get_cpu_iowait_time_us() 176 static inline bool tick_nohz_full_cpu(int cpu) in tick_nohz_full_cpu() 191 static inline bool tick_nohz_full_cpu(int cpu) { return false; } in tick_nohz_full_cpu() 193 static inline void tick_nohz_full_kick_cpu(int cpu) { } in tick_nohz_full_kick_cpu() 199 static inline bool is_housekeeping_cpu(int cpu) in is_housekeeping_cpu()
|
D | irq_cpustat.h | 21 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) argument 29 #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) /* i386 */ argument
|
D | cpu_rmap.h | 45 static inline u16 cpu_rmap_lookup_index(struct cpu_rmap *rmap, unsigned int cpu) in cpu_rmap_lookup_index() 50 static inline void *cpu_rmap_lookup_obj(struct cpu_rmap *rmap, unsigned int cpu) in cpu_rmap_lookup_obj()
|
D | node.h | 57 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 61 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
|
D | of_device.h | 47 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get() 89 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get()
|
D | lglock.h | 70 #define lg_local_lock_cpu(lg, cpu) spin_lock(lg) argument 71 #define lg_local_unlock_cpu(lg, cpu) spin_unlock(lg) argument
|
D | mvebu-pmsu.h | 17 static inline int mvebu_pmsu_dfs_request(int cpu) { return -ENODEV; } in mvebu_pmsu_dfs_request()
|
D | rcutree.h | 44 static inline void rcu_virt_note_context_switch(int cpu) in rcu_virt_note_context_switch()
|
D | cpu.h | 23 struct cpu { struct 29 extern int register_cpu(struct cpu *cpu, int num); argument
|
D | rcutiny.h | 81 static inline void rcu_note_context_switch(int cpu) in rcu_note_context_switch() 90 static inline void rcu_virt_note_context_switch(int cpu) in rcu_virt_note_context_switch()
|
D | vmstat.h | 76 static inline void vm_events_fold_cpu(int cpu) in vm_events_fold_cpu() 153 int cpu; in zone_page_state_snapshot() local 273 static inline void refresh_cpu_vm_stats(int cpu) { } in refresh_cpu_vm_stats() 275 static inline void cpu_vm_stats_fold(int cpu) { } in cpu_vm_stats_fold()
|
D | stop_machine.h | 47 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 66 static inline void stop_one_cpu_nowait(unsigned int cpu, in stop_one_cpu_nowait()
|
D | cpu_cooling.h | 82 unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq) in cpufreq_cooling_get_level()
|
D | cpufreq.h | 42 unsigned int cpu; /* cpu nr */ member 70 unsigned int cpu; /* cpu nr of CPU managing this policy */ member 132 static inline struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu) in cpufreq_cpu_get() 164 static inline unsigned int cpufreq_get(unsigned int cpu) in cpufreq_get() 168 static inline unsigned int cpufreq_quick_get(unsigned int cpu) in cpufreq_quick_get() 172 static inline unsigned int cpufreq_quick_get_max(unsigned int cpu) in cpufreq_quick_get_max()
|
D | ring_buffer.h | 151 struct ring_buffer *buffer_b, int cpu) in ring_buffer_swap_cpu()
|
D | workqueue.h | 119 int cpu; member 517 static inline bool schedule_work_on(int cpu, struct work_struct *work) in schedule_work_on() 547 static inline bool schedule_delayed_work_on(int cpu, struct delayed_work *dwork, in schedule_delayed_work_on() 576 static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg) in work_on_cpu()
|
/include/linux/clk/ |
D | tegra.h | 57 static inline void tegra_wait_cpu_in_reset(u32 cpu) in tegra_wait_cpu_in_reset() 65 static inline void tegra_put_cpu_in_reset(u32 cpu) in tegra_put_cpu_in_reset() 73 static inline void tegra_cpu_out_of_reset(u32 cpu) in tegra_cpu_out_of_reset() 81 static inline void tegra_enable_cpu_clock(u32 cpu) in tegra_enable_cpu_clock() 89 static inline void tegra_disable_cpu_clock(u32 cpu) in tegra_disable_cpu_clock()
|
/include/asm-generic/ |
D | topology.h | 35 #define cpu_to_node(cpu) ((void)(cpu),0) argument 41 #define set_cpu_numa_node(cpu, node) argument 44 #define cpu_to_mem(cpu) ((void)(cpu),0) argument 75 #define set_cpu_numa_mem(cpu, node) argument
|
D | preempt.h | 33 #define init_idle_preempt_count(p, cpu) do { \ argument
|
/include/uapi/linux/netfilter/ |
D | xt_cpu.h | 7 __u32 cpu; member
|
/include/trace/events/ |
D | rcu.h | 713 #define trace_rcu_nocb_wake(rcuname, cpu, reason) do { } while (0) argument 719 #define trace_rcu_fqs(rcuname, gpnum, cpu, qsevent) do { } while (0) argument 733 #define trace_rcu_barrier(name, s, cpu, cnt, done) do { } while (0) argument
|
/include/crypto/ |
D | mcryptd.h | 53 int cpu; member 86 int cpu; member
|