Home
last modified time | relevance | path

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

1234

/linux-2.6.39/net/ipv6/
Dproc.c144 static void snmp6_seq_show_icmpv6msg(struct seq_file *seq, void __percpu **mib) in snmp6_seq_show_icmpv6msg()
177 static void snmp6_seq_show_item(struct seq_file *seq, void __percpu **mib, in snmp6_seq_show_item()
187 static void snmp6_seq_show_item64(struct seq_file *seq, void __percpu **mib, in snmp6_seq_show_item64()
201 snmp6_seq_show_item64(seq, (void __percpu **)net->mib.ipv6_statistics, in snmp6_seq_show()
203 snmp6_seq_show_item(seq, (void __percpu **)net->mib.icmpv6_statistics, in snmp6_seq_show()
206 (void __percpu **)net->mib.icmpv6msg_statistics); in snmp6_seq_show()
207 snmp6_seq_show_item(seq, (void __percpu **)net->mib.udp_stats_in6, in snmp6_seq_show()
209 snmp6_seq_show_item(seq, (void __percpu **)net->mib.udplite_stats_in6, in snmp6_seq_show()
232 snmp6_seq_show_item(seq, (void __percpu **)idev->stats.ipv6, in snmp6_dev_seq_show()
234 snmp6_seq_show_item(seq, (void __percpu **)idev->stats.icmpv6, in snmp6_dev_seq_show()
[all …]
Daf_inet6.c967 if (snmp_mib_init((void __percpu **)net->mib.udp_stats_in6, in ipv6_init_mibs()
971 if (snmp_mib_init((void __percpu **)net->mib.udplite_stats_in6, in ipv6_init_mibs()
975 if (snmp_mib_init((void __percpu **)net->mib.ipv6_statistics, in ipv6_init_mibs()
979 if (snmp_mib_init((void __percpu **)net->mib.icmpv6_statistics, in ipv6_init_mibs()
983 if (snmp_mib_init((void __percpu **)net->mib.icmpv6msg_statistics, in ipv6_init_mibs()
990 snmp_mib_free((void __percpu **)net->mib.icmpv6_statistics); in ipv6_init_mibs()
992 snmp_mib_free((void __percpu **)net->mib.ipv6_statistics); in ipv6_init_mibs()
994 snmp_mib_free((void __percpu **)net->mib.udplite_stats_in6); in ipv6_init_mibs()
996 snmp_mib_free((void __percpu **)net->mib.udp_stats_in6); in ipv6_init_mibs()
1002 snmp_mib_free((void __percpu **)net->mib.udp_stats_in6); in ipv6_cleanup_mibs()
[all …]
/linux-2.6.39/net/ipv4/
Dproc.c288 val = snmp_fold_field((void __percpu **) net->mib.icmpmsg_statistics, i); in icmpmsg_put()
315 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_INMSGS), in icmp_put()
316 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_INERRORS)); in icmp_put()
319 snmp_fold_field((void __percpu **) net->mib.icmpmsg_statistics, in icmp_put()
322 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_OUTMSGS), in icmp_put()
323 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_OUTERRORS)); in icmp_put()
326 snmp_fold_field((void __percpu **) net->mib.icmpmsg_statistics, in icmp_put()
350 snmp_fold_field64((void __percpu **)net->mib.ip_statistics, in snmp_seq_show()
366 snmp_fold_field((void __percpu **)net->mib.tcp_statistics, in snmp_seq_show()
370 snmp_fold_field((void __percpu **)net->mib.tcp_statistics, in snmp_seq_show()
[all …]
Daf_inet.c1414 unsigned long snmp_fold_field(void __percpu *mib[], int offt) in snmp_fold_field()
1429 u64 snmp_fold_field64(void __percpu *mib[], int offt, size_t syncp_offset) in snmp_fold_field64()
1463 int snmp_mib_init(void __percpu *ptr[2], size_t mibsize, size_t align) in snmp_mib_init()
1481 void snmp_mib_free(void __percpu *ptr[2]) in snmp_mib_free()
1525 if (snmp_mib_init((void __percpu **)net->mib.tcp_statistics, in ipv4_mib_init_net()
1529 if (snmp_mib_init((void __percpu **)net->mib.ip_statistics, in ipv4_mib_init_net()
1533 if (snmp_mib_init((void __percpu **)net->mib.net_statistics, in ipv4_mib_init_net()
1537 if (snmp_mib_init((void __percpu **)net->mib.udp_statistics, in ipv4_mib_init_net()
1541 if (snmp_mib_init((void __percpu **)net->mib.udplite_statistics, in ipv4_mib_init_net()
1545 if (snmp_mib_init((void __percpu **)net->mib.icmp_statistics, in ipv4_mib_init_net()
[all …]
/linux-2.6.39/net/xfrm/
Dxfrm_ipcomp.c33 struct crypto_comp * __percpu *tfms;
38 static void * __percpu *ipcomp_scratches;
203 void * __percpu *scratches; in ipcomp_free_scratches()
218 static void * __percpu *ipcomp_alloc_scratches(void) in ipcomp_alloc_scratches()
221 void * __percpu *scratches; in ipcomp_alloc_scratches()
242 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms()
270 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms()
273 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms()
Dxfrm_proc.c54 snmp_fold_field((void __percpu **) in xfrm_statistics_seq_show()
/linux-2.6.39/kernel/trace/
Dtrace_event_perf.c12 static char __percpu *perf_trace_buf[PERF_NR_CONTEXTS];
50 struct hlist_head __percpu *list; in perf_trace_event_init()
74 char __percpu *buf; in perf_trace_event_init()
78 buf = (char __percpu *)alloc_percpu(perf_trace_t); in perf_trace_event_init()
136 struct hlist_head __percpu *pcpu_list; in perf_trace_add()
/linux-2.6.39/include/linux/
Dhw_breakpoint.h90 extern struct perf_event * __percpu *
97 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
126 static inline struct perf_event * __percpu *
135 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { } in unregister_wide_hw_breakpoint()
Dpadata.h130 struct padata_parallel_queue __percpu *pqueue;
131 struct padata_serial_queue __percpu *squeue;
Dpercpu-defs.h15 __percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \
27 const void __percpu *__vpp_verify = (typeof(ptr))NULL; \
Dcompiler.h18 # define __percpu __attribute__((noderef, address_space(3))) macro
41 # define __percpu macro
Dblktrace_api.h154 unsigned long __percpu *sequence;
155 unsigned char __percpu *msg_data;
Dsrcu.h38 struct srcu_struct_array __percpu *per_cpu_ref;
Dmount.h62 struct mnt_pcp __percpu *mnt_pcp;
Dif_macvlan.h61 struct macvlan_pcpu_stats __percpu *pcpu_stats;
/linux-2.6.39/fs/nfs/
Diostat.h60 static inline struct nfs_iostats __percpu *nfs_alloc_iostats(void) in nfs_alloc_iostats()
65 static inline void nfs_free_iostats(struct nfs_iostats __percpu *stats) in nfs_free_iostats()
/linux-2.6.39/kernel/
Dhw_breakpoint.c503 struct perf_event * __percpu *
507 struct perf_event * __percpu *cpu_events, **pevent, *bp; in register_wide_hw_breakpoint()
513 return (void __percpu __force *)ERR_PTR(-ENOMEM); in register_wide_hw_breakpoint()
541 return (void __percpu __force *)ERR_PTR(err); in register_wide_hw_breakpoint()
549 void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) in unregister_wide_hw_breakpoint()
/linux-2.6.39/include/net/
Dip.h196 extern unsigned long snmp_fold_field(void __percpu *mib[], int offt);
198 extern u64 snmp_fold_field64(void __percpu *mib[], int offt, size_t sync_off);
200 static inline u64 snmp_fold_field64(void __percpu *mib[], int offt, size_t syncp_off) in snmp_fold_field64()
205 extern int snmp_mib_init(void __percpu *ptr[2], size_t mibsize, size_t align);
206 extern void snmp_mib_free(void __percpu *ptr[2]);
Dipcomp.h12 struct crypto_comp * __percpu *tfms;
Dsnmp.h116 __typeof__(type) __percpu *name[2]
118 extern __typeof__(type) __percpu *name[2]
/linux-2.6.39/include/net/netns/
Dcore.h13 struct prot_inuse __percpu *inuse;
Dconntrack.h20 struct ip_conntrack_stat __percpu *stat;
/linux-2.6.39/mm/
Dvmstat.c214 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __mod_zone_page_state()
215 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state()
256 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __inc_zone_state()
257 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()
278 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __dec_zone_state()
279 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state()
314 struct per_cpu_pageset __percpu *pcp = zone->pageset; in mod_state()
315 s8 __percpu *p = pcp->vm_stat_diff + item; in mod_state()
Dpercpu.c83 (void __percpu *)((unsigned long)(addr) - \
95 #define __addr_to_pcpu_ptr(addr) (void __percpu *)(addr)
705 static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved) in pcpu_alloc()
834 void __percpu *__alloc_percpu(size_t size, size_t align) in __alloc_percpu()
856 void __percpu *__alloc_reserved_percpu(size_t size, size_t align) in __alloc_reserved_percpu()
908 void free_percpu(void __percpu *ptr) in free_percpu()
957 void __percpu *base = __addr_to_pcpu_ptr(pcpu_base_addr); in is_kernel_percpu_address()
985 void __percpu *base = __addr_to_pcpu_ptr(pcpu_base_addr); in per_cpu_ptr_to_phys()
/linux-2.6.39/samples/hw_breakpoint/
Ddata_breakpoint.c37 struct perf_event * __percpu *sample_hbp;

1234