Home
last modified time | relevance | path

Searched refs:__percpu (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/linux-6.6.21/include/net/
Dgen_stats.h50 struct gnet_stats_basic_sync __percpu *cpu,
53 struct gnet_stats_basic_sync __percpu *cpu,
56 struct gnet_stats_basic_sync __percpu *cpu,
61 struct gnet_stats_queue __percpu *cpu_q,
64 const struct gnet_stats_queue __percpu *cpu_q,
71 struct gnet_stats_basic_sync __percpu *cpu_bstats,
77 struct gnet_stats_basic_sync __percpu *cpu_bstats,
Dmacsec.h137 struct macsec_rx_sa_stats __percpu *stats;
164 struct pcpu_rx_sc_stats __percpu *stats;
188 struct macsec_tx_sa_stats __percpu *stats;
212 struct pcpu_tx_sc_stats __percpu *stats;
Dseg6_hmac.h38 struct crypto_shash * __percpu *tfms;
39 struct shash_desc * __percpu *shashs;
/linux-6.6.21/include/linux/
Dpercpu.h124 extern void __percpu *__alloc_reserved_percpu(size_t size, size_t align) __alloc_size(1);
132 extern void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) __alloc_size(1);
133 extern void __percpu *__alloc_percpu(size_t size, size_t align) __alloc_size(1);
134 extern void free_percpu(void __percpu *__pdata);
136 DEFINE_FREE(free_percpu, void __percpu *, free_percpu(_T))
141 (typeof(type) __percpu *)__alloc_percpu_gfp(sizeof(type), \
144 (typeof(type) __percpu *)__alloc_percpu(sizeof(type), \
Dpercpu-refcount.h159 unsigned long __percpu **percpu_countp) in __ref_is_percpu()
185 *percpu_countp = (unsigned long __percpu *)percpu_ptr; in __ref_is_percpu()
200 unsigned long __percpu *percpu_count; in percpu_ref_get_many()
238 unsigned long __percpu *percpu_count; in percpu_ref_tryget_many()
277 unsigned long __percpu *percpu_count; in percpu_ref_tryget_live_rcu()
328 unsigned long __percpu *percpu_count; in percpu_ref_put_many()
Dkmemleak.h20 extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size,
26 extern void kmemleak_free_percpu(const void __percpu *ptr) __ref;
70 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu()
87 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu()
Dhw_breakpoint.h79 extern struct perf_event * __percpu *
86 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
122 static inline struct perf_event * __percpu *
130 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { } in unregister_wide_hw_breakpoint()
Dbpf_mem_alloc.h12 struct bpf_mem_caches __percpu *caches;
13 struct bpf_mem_cache __percpu *cache;
Dinterrupt.h121 void __percpu *percpu_dev_id;
178 void __percpu *percpu_dev_id);
186 const char *devname, void __percpu *percpu_dev_id) in request_percpu_irq()
194 const char *devname, void __percpu *dev);
197 extern void free_percpu_irq(unsigned int, void __percpu *);
200 extern void free_percpu_nmi(unsigned int irq, void __percpu *percpu_dev_id);
/linux-6.6.21/fs/squashfs/
Ddecompressor_multi_percpu.c31 struct squashfs_stream __percpu *percpu; in squashfs_decompressor_create()
63 struct squashfs_stream __percpu *percpu = in squashfs_decompressor_destroy()
64 (struct squashfs_stream __percpu *) msblk->stream; in squashfs_decompressor_destroy()
81 struct squashfs_stream __percpu *percpu = in squashfs_decompress()
82 (struct squashfs_stream __percpu *) msblk->stream; in squashfs_decompress()
/linux-6.6.21/lib/
Dpercpu-refcount.c42 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
44 return (unsigned long __percpu *) in percpu_count_ptr()
78 free_percpu((void __percpu *)ref->percpu_count_ptr); in percpu_ref_init()
110 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in __percpu_ref_exit()
172 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in percpu_ref_switch_to_atomic_rcu()
239 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in __percpu_ref_switch_to_percpu()
412 unsigned long __percpu *percpu_count; in percpu_ref_is_zero()
465 unsigned long __percpu *percpu_count; in percpu_ref_resurrect()
/linux-6.6.21/net/core/
Dgen_stats.c127 struct gnet_stats_basic_sync __percpu *cpu) in gnet_stats_add_basic_cpu()
150 struct gnet_stats_basic_sync __percpu *cpu, in gnet_stats_add_basic()
175 struct gnet_stats_basic_sync __percpu *cpu, in gnet_stats_read_basic()
212 struct gnet_stats_basic_sync __percpu *cpu, in ___gnet_stats_copy_basic()
261 struct gnet_stats_basic_sync __percpu *cpu, in gnet_stats_copy_basic()
288 struct gnet_stats_basic_sync __percpu *cpu, in gnet_stats_copy_basic_hw()
341 const struct gnet_stats_queue __percpu *q) in gnet_stats_add_queue_cpu()
357 const struct gnet_stats_queue __percpu *cpu, in gnet_stats_add_queue()
388 struct gnet_stats_queue __percpu *cpu_q, in gnet_stats_copy_queue()
/linux-6.6.21/net/xfrm/
Dxfrm_ipcomp.c29 struct crypto_comp * __percpu *tfms;
34 static void * __percpu *ipcomp_scratches;
190 void * __percpu *scratches; in ipcomp_free_scratches()
206 static void * __percpu *ipcomp_alloc_scratches(void) in ipcomp_alloc_scratches()
208 void * __percpu *scratches; in ipcomp_alloc_scratches()
232 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms()
260 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms()
263 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms()
/linux-6.6.21/include/trace/events/
Dpercpu.h16 void __percpu *ptr, size_t bytes_alloc, gfp_t gfp_flags),
29 __field( void __percpu *, ptr )
56 TP_PROTO(void *base_addr, int off, void __percpu *ptr),
63 __field( void __percpu *, ptr )
/linux-6.6.21/include/linux/sched/
Dtopology.h189 struct sched_domain *__percpu *sd;
190 struct sched_domain_shared *__percpu *sds;
191 struct sched_group *__percpu *sg;
192 struct sched_group_capacity *__percpu *sgc;
/linux-6.6.21/arch/arm64/kernel/
Dsdei.c53 static void _free_sdei_stack(unsigned long * __percpu *ptr, int cpu) in _free_sdei_stack()
77 static int _init_sdei_stack(unsigned long * __percpu *ptr, int cpu) in _init_sdei_stack()
112 static void _free_sdei_scs(unsigned long * __percpu *ptr, int cpu) in _free_sdei_scs()
133 static int _init_sdei_scs(unsigned long * __percpu *ptr, int cpu) in _init_sdei_scs()
/linux-6.6.21/drivers/perf/
Darm_pmu_platform.c48 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_parse_percpu_irq()
99 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_parse_irqs()
158 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_request_irqs()
177 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_free_irqs()
/linux-6.6.21/mm/
Dvmstat.c345 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __mod_zone_page_state()
346 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state()
376 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __mod_node_page_state()
377 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __mod_node_page_state()
434 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __inc_zone_state()
435 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()
455 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __inc_node_state()
456 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __inc_node_state()
490 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __dec_zone_state()
491 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state()
[all …]
/linux-6.6.21/net/smc/
Dsmc_stats.h112 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
127 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
158 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
176 struct smc_stats __percpu *_smc_stats = net->smc.smc_stats; \
222 struct smc_stats __percpu *smc_stats = net->smc.smc_stats; \
235 struct smc_stats __percpu *smc_stats = (net)->smc.smc_stats; \
/linux-6.6.21/fs/nfs/
Diostat.h49 static inline struct nfs_iostats __percpu *nfs_alloc_iostats(void) in nfs_alloc_iostats()
54 static inline void nfs_free_iostats(struct nfs_iostats __percpu *stats) in nfs_free_iostats()
/linux-6.6.21/arch/csky/include/asm/
Dasid.h15 atomic64_t __percpu *active;
16 u64 __percpu *reserved;
/linux-6.6.21/fs/xfs/
Dxfs_stats.c10 static int counter_val(struct xfsstats __percpu *stats, int idx) in counter_val()
19 int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) in xfs_stats_format()
91 void xfs_stats_clearall(struct xfsstats __percpu *stats) in xfs_stats_clearall()
/linux-6.6.21/kernel/bpf/
Dbpf_lru_list.h48 struct bpf_lru_locallist __percpu *local_list;
56 struct bpf_lru_list __percpu *percpu_lru;
/linux-6.6.21/kernel/trace/
Dtrace_event_perf.c15 static char __percpu *perf_trace_buf[PERF_NR_CONTEXTS];
99 struct hlist_head __percpu *list; in perf_trace_event_reg()
117 char __percpu *buf; in perf_trace_event_reg()
121 buf = (char __percpu *)alloc_percpu(perf_trace_t); in perf_trace_event_reg()
365 struct hlist_head __percpu *pcpu_list; in perf_trace_add()
/linux-6.6.21/drivers/infiniband/ulp/rtrs/
Drtrs-clt.h66 struct rtrs_clt_stats_pcpu __percpu *pcpu_stats;
153 struct list_head __percpu
161 __rcu * __percpu *pcpu_path;

12345678910>>...13