/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 | 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 | 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 | 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 | of_device.h | 4 #include <linux/cpu.h> 47 static inline struct device_node *of_cpu_device_node_get(int cpu) argument 50 cpu_dev = get_cpu_device(cpu); 89 static inline struct device_node *of_cpu_device_node_get(int cpu) argument
|
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 | vtime.h | 93 extern void vtime_init_idle(struct task_struct *tsk, int cpu); 104 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } argument
|
H A D | hw_breakpoint.h | 63 int cpu); 103 int cpu) { return NULL; } 100 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context, int cpu) argument
|
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 | smp.h | 47 void on_each_cpu_cond(bool (*cond_func)(int cpu, void *info), 51 int smp_call_function_single_async(int cpu, struct call_single_data *csd); 74 extern void smp_send_reschedule(int cpu); 114 * Mark the boot cpu "online" so that it can call console drivers in 115 * printk() and can access its per-cpu storage. 138 static inline void smp_send_reschedule(int cpu) { } 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 | 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 | 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.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 | posix-timers.h | 33 * Bit 2 indicates whether a cpu clock refers to a thread or a process. 84 struct cpu_timer_list cpu; member in union:k_itimer::__anon912
|
H A D | relay.h | 29 * Per-cpu relay channel buffer 50 unsigned int cpu; /* this buf's cpu */ member in struct:rchan_buf 66 struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */ 128 * Called during relay_open(), once for each per-cpu buffer, 139 * than the default set of per-cpu buffers. 153 * Called during relay_close(), once for each per-cpu buffer, 178 unsigned int cpu, 192 * Writes data into the current cpu's channel buffer. 221 * Writes data into the current cpu' [all...] |
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 | virtio_config.h | 72 int (*set_vq_affinity)(struct virtqueue *vq, int cpu); 140 * @cpu: the cpu no. 147 int virtqueue_set_affinity(struct virtqueue *vq, int cpu) argument 151 return vdev->config->set_vq_affinity(vq, cpu);
|
H A D | vmstat.h | 15 * Light weight per cpu counter implementation. 56 extern void vm_events_fold_cpu(int cpu); 76 static inline void vm_events_fold_cpu(int cpu) argument 109 * Zone based page accounting with per cpu differentials. 153 int cpu; local 154 for_each_online_cpu(cpu) 155 x += per_cpu_ptr(zone->pageset, cpu)->vm_stat_diff[item]; 214 void cpu_vm_stats_fold(int cpu); 272 static inline void refresh_cpu_vm_stats(int cpu) { } argument 274 static inline void cpu_vm_stats_fold(int cpu) { } argument [all...] |
/include/uapi/linux/netfilter/ |
H A D | xt_cpu.h | 7 __u32 cpu; member in struct:xt_cpu_info
|
/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/crypto/ |
H A D | mcryptd.h | 52 int cpu; member in struct:mcryptd_tag 85 int cpu; member in struct:mcryptd_alg_cstate
|
/include/net/netfilter/ |
H A D | nf_conntrack.h | 86 u16 cpu; member in struct:nf_conn
|
/include/uapi/linux/ |
H A D | cn_proc.h | 64 __u32 cpu; member in struct:proc_event
|