/include/linux/ |
H A D | mvebu-pmsu.h | 15 int mvebu_pmsu_dfs_request(int cpu); 17 static inline int mvebu_pmsu_dfs_request(int cpu) { return -ENODEV; } argument
|
H A D | irq_cpustat.h | 6 * architecture. Some arch (like s390) have per cpu hardware pages and 21 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) 29 #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) /* i386 */
|
H A D | smpboot.h | 12 * @store: Pointer to per cpu storage for the task pointers 24 * parked (cpu offline) 26 * unparked (cpu online) 28 * unparked (cpu online). This is not guaranteed to be 29 * called on the target cpu of the thread. Careful! 36 int (*thread_should_run)(unsigned int cpu); 37 void (*thread_fn)(unsigned int cpu); 38 void (*create)(unsigned int cpu); 39 void (*setup)(unsigned int cpu); 40 void (*cleanup)(unsigned int cpu, boo [all...] |
H A D | topology.h | 82 static inline int cpu_to_node(int cpu) argument 84 return per_cpu(numa_node, cpu); 96 static inline void set_cpu_numa_node(int cpu, int node) argument 98 per_cpu(numa_node, cpu) = node; 117 * N.B., Do NOT reference the '_numa_mem_' per cpu variable directly. 148 static inline int cpu_to_mem(int cpu) argument 150 return per_cpu(_numa_mem_, cpu); 155 static inline void set_cpu_numa_mem(int cpu, int node) argument 157 per_cpu(_numa_mem_, cpu) = node; 158 _node_numa_mem_[cpu_to_node(cpu)] 180 cpu_to_mem(int cpu) argument 202 cpu_smt_mask(int cpu) argument 208 cpu_cpu_mask(int cpu) argument [all...] |
H A D | cpumask.h | 43 * cpu_possible_mask- has bit 'cpu' set iff cpu is populatable 44 * cpu_present_mask - has bit 'cpu' set iff cpu is populated 45 * cpu_online_mask - has bit 'cpu' set iff cpu available to scheduler 46 * cpu_active_mask - has bit 'cpu' set iff cpu available to migration 89 #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mas 105 cpumask_check(unsigned int cpu) argument 139 cpumask_any_but(const struct cpumask *mask, unsigned int cpu) argument 263 cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) argument 273 cpumask_clear_cpu(int cpu, struct cpumask *dstp) argument 299 cpumask_test_and_set_cpu(int cpu, struct cpumask *cpumask) argument 313 cpumask_test_and_clear_cpu(int cpu, struct cpumask *cpumask) argument 782 get_cpu_mask(unsigned int cpu) argument 879 __cpu_set(int cpu, volatile cpumask_t *dstp) argument 885 __cpu_clear(int cpu, volatile cpumask_t *dstp) argument 906 __cpu_test_and_set(int cpu, cpumask_t *addr) argument [all...] |
H A D | ring_buffer.h | 100 int ring_buffer_wait(struct ring_buffer *buffer, int cpu, bool full); 101 int ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu, 109 int ring_buffer_resize(struct ring_buffer *buffer, unsigned long size, int cpu); 121 ring_buffer_peek(struct ring_buffer *buffer, int cpu, u64 *ts, 124 ring_buffer_consume(struct ring_buffer *buffer, int cpu, u64 *ts, 128 ring_buffer_read_prepare(struct ring_buffer *buffer, int cpu); 140 unsigned long ring_buffer_size(struct ring_buffer *buffer, int cpu); 142 void ring_buffer_reset_cpu(struct ring_buffer *buffer, int cpu); 147 struct ring_buffer *buffer_b, int cpu); 151 struct ring_buffer *buffer_b, int cpu) 150 ring_buffer_swap_cpu(struct ring_buffer *buffer_a, struct ring_buffer *buffer_b, int cpu) argument [all...] |
H A D | rcutree.h | 33 void rcu_note_context_switch(int cpu); 35 int rcu_needs_cpu(int cpu, unsigned long *delta_jiffies); 44 static inline void rcu_virt_note_context_switch(int cpu) argument 46 rcu_note_context_switch(cpu);
|
H A D | tick.h | 80 extern struct tick_device *tick_get_device(int cpu); 89 extern void tick_cancel_sched_timer(int cpu); 91 static inline void tick_cancel_sched_timer(int cpu) { } argument 107 extern struct tick_sched *tick_get_tick_sched(int cpu); 122 static inline void tick_cancel_sched_timer(int cpu) { } argument 141 extern u64 get_cpu_idle_time_us(int cpu, u64 *last_update_time); 142 extern u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time); 159 static inline u64 get_cpu_idle_time_us(int cpu, u64 *unused) { return -1; } argument 160 static inline u64 get_cpu_iowait_time_us(int cpu, u64 *unused) { return -1; } argument 176 static inline bool tick_nohz_full_cpu(int cpu) argument 191 tick_nohz_full_cpu(int cpu) argument 193 tick_nohz_full_kick_cpu(int cpu) argument 199 is_housekeeping_cpu(int cpu) argument [all...] |
H A D | kernel_stat.h | 49 #define kstat_cpu(cpu) per_cpu(kstat, cpu) 50 #define kcpustat_cpu(cpu) per_cpu(kernel_cpustat, cpu) 54 extern unsigned int kstat_irqs_cpu(unsigned int irq, int cpu); 62 static inline unsigned int kstat_softirqs_cpu(unsigned int irq, int cpu) argument 64 return kstat_cpu(cpu).softirqs[irq]; 73 * Number of interrupts per cpu, since bootup 75 static inline unsigned int kstat_cpu_irqs_sum(unsigned int cpu) argument 77 return kstat_cpu(cpu) [all...] |
H A D | cpu_rmap.h | 45 static inline u16 cpu_rmap_lookup_index(struct cpu_rmap *rmap, unsigned int cpu) argument 47 return rmap->near[cpu].index; 50 static inline void *cpu_rmap_lookup_obj(struct cpu_rmap *rmap, unsigned int cpu) argument 52 return rmap->obj[rmap->near[cpu].index];
|
H A D | node.h | 37 extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); 38 extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); 57 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) argument 61 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) argument
|
H A D | cpu.h | 2 * include/linux/cpu.h - generic cpu definition 5 * basic 'struct cpu' here, which can be embedded in per-arch 8 * Basic handling of the devices is done in drivers/base/cpu.c 10 * CPUs are exported via sysfs in the devices/system/cpu 23 struct cpu { struct 29 extern int register_cpu(struct cpu *cpu, int num); 30 extern struct device *get_cpu_device(unsigned cpu); 31 extern bool cpu_is_hotpluggable(unsigned cpu); [all...] |
H A D | lglock.h | 25 #include <linux/cpu.h> 57 void lg_local_lock_cpu(struct lglock *lg, int cpu); 58 void lg_local_unlock_cpu(struct lglock *lg, int cpu); 70 #define lg_local_lock_cpu(lg, cpu) spin_lock(lg) 71 #define lg_local_unlock_cpu(lg, cpu) spin_unlock(lg)
|
H A D | cpu_cooling.h | 63 unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq); 82 unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq) argument
|
H A D | stop_machine.h | 4 #include <linux/cpu.h> 10 * stop_cpu[s]() is simplistic per-cpu maximum priority cpu 15 * Resources for this mechanism are preallocated when a cpu is brought 30 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 32 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 47 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) argument 51 if (cpu == smp_processor_id()) 66 static inline void stop_one_cpu_nowait(unsigned int cpu, argument 70 if (cpu [all...] |
H A D | kdb.h | 33 * kdb_initial_cpu is initialized to -1, and is set to the cpu 85 extern int kdb_flags; /* Global flags, see kdb_state for per cpu state */ 130 unsigned int cpu = task_thread_info(p)->cpu; local 131 if (cpu > num_possible_cpus()) 132 cpu = 0; 133 return cpu;
|
H A D | cpufreq.h | 42 unsigned int cpu; /* cpu nr */ member in struct:cpufreq_freqs 70 unsigned int cpu; /* cpu nr of CPU managing this policy */ member in struct:cpufreq_policy 71 unsigned int last_cpu; /* cpu nr of previous CPU that managed 129 struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); 132 static inline struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu) argument 144 /* /sys/devices/system/cpu/cpufreq: entry point for global variables */ 152 unsigned int cpufreq_get(unsigned int cpu); 153 unsigned int cpufreq_quick_get(unsigned int cpu); 163 cpufreq_get(unsigned int cpu) argument 167 cpufreq_quick_get(unsigned int cpu) argument 171 cpufreq_quick_get_max(unsigned int cpu) argument [all...] |
H A D | rcutiny.h | 81 static inline void rcu_note_context_switch(int cpu) argument 90 static inline void rcu_virt_note_context_switch(int cpu) argument
|
H A D | cpufeature.h | 23 * - CPU_FEATURE_TYPEFMT format string fragment for printing the cpu type 49 MODULE_DEVICE_TABLE(cpu, cpu_feature_match_ ## x); \
|
/include/linux/clk/ |
H A D | tegra.h | 43 void (*wait_for_reset)(u32 cpu); 44 void (*put_in_reset)(u32 cpu); 45 void (*out_of_reset)(u32 cpu); 46 void (*enable_clock)(u32 cpu); 47 void (*disable_clock)(u32 cpu); 57 static inline void tegra_wait_cpu_in_reset(u32 cpu) argument 62 tegra_cpu_car_ops->wait_for_reset(cpu); 65 static inline void tegra_put_cpu_in_reset(u32 cpu) argument 70 tegra_cpu_car_ops->put_in_reset(cpu); 73 static inline void tegra_cpu_out_of_reset(u32 cpu) argument 81 tegra_enable_cpu_clock(u32 cpu) argument 89 tegra_disable_cpu_clock(u32 cpu) argument [all...] |
/include/asm-generic/ |
H A D | topology.h | 35 #define cpu_to_node(cpu) ((void)(cpu),0) 41 #define set_cpu_numa_node(cpu, node) 44 #define cpu_to_mem(cpu) ((void)(cpu),0) 71 #define set_cpu_numa_mem(cpu, node)
|
/include/uapi/linux/netfilter/ |
H A D | xt_cpu.h | 7 __u32 cpu; member in struct:xt_cpu_info
|
/include/linux/platform_data/ |
H A D | arm-ux500-pm.h | 17 bool prcmu_is_cpu_in_wfi(int cpu);
|
/include/trace/events/ |
H A D | workqueue.h | 29 * @req_cpu: the requested cpu 49 __field( unsigned int, cpu ) 57 __entry->cpu = pwq->pool->cpu; 60 TP_printk("work struct=%p function=%pf workqueue=%p req_cpu=%u cpu=%u", 62 __entry->req_cpu, __entry->cpu)
|
/include/xen/ |
H A D | events.h | 20 int bind_virq_to_irq(unsigned int virq, unsigned int cpu); 21 int bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu, 26 unsigned int cpu, 59 void xen_send_IPI_one(unsigned int cpu, enum ipi_vector vector); 87 int irq_from_virq(unsigned int cpu, unsigned int virq);
|