Home
last modified time | relevance | path

Searched refs:softnet_data (Results 1 – 10 of 10) sorted by relevance

/linux/include/net/
H A Drps.h150 static inline u32 rps_input_queue_tail_incr(struct softnet_data *sd) in rps_input_queue_head_incr()
166 static inline void rps_input_queue_head_add(struct softnet_data *sd, int val)
173 static inline void rps_input_queue_head_incr(struct softnet_data *sd)
H A Dxfrm.h2067 void xfrm_dev_backlog(struct softnet_data *sd);
2132 static inline void xfrm_dev_backlog(struct softnet_data *sd) in xfrm_dev_backlog()
/linux/net/core/
H A Dnet-procfs.c85 static u32 softnet_input_pkt_queue_len(struct softnet_data *sd) in softnet_input_pkt_queue_len()
90 static u32 softnet_process_queue_len(struct softnet_data *sd) in softnet_process_queue_len()
95 static struct softnet_data *softnet_get_online(loff_t *pos) in softnet_get_online()
97 struct softnet_data *sd = NULL; in softnet_get_online()
101 sd = &per_cpu(softnet_data, *pos); in softnet_get_online()
125 struct softnet_data *sd = v; in softnet_seq_show()
H A Ddev.h360 void kick_defer_list_purge(struct softnet_data *sd, unsigned int cpu);
367 return unlikely(__this_cpu_read(softnet_data.xmit.recursion) > in dev_xmit_recursion()
373 __this_cpu_inc(softnet_data.xmit.recursion); in dev_xmit_recursion_inc()
378 __this_cpu_dec(softnet_data.xmit.recursion); in dev_xmit_recursion_dec()
H A Ddev.c231 static inline void backlog_lock_irq_save(struct softnet_data *sd, in backlog_lock_irq_save()
240 static inline void backlog_lock_irq_disable(struct softnet_data *sd) in backlog_lock_irq_disable()
248 static inline void backlog_unlock_irq_restore(struct softnet_data *sd, in backlog_unlock_irq_restore()
257 static inline void backlog_unlock_irq_enable(struct softnet_data *sd) in backlog_unlock_irq_enable()
456 DEFINE_PER_CPU_ALIGNED(struct softnet_data, softnet_data) = {
459 EXPORT_PER_CPU_SYMBOL(softnet_data);
3362 struct softnet_data *sd; in __netif_reschedule()
3366 sd = this_cpu_ptr(&softnet_data); in __netif_reschedule()
3430 skb->next = __this_cpu_read(softnet_data.completion_queue); in dev_kfree_skb_irq_reason()
3431 __this_cpu_write(softnet_data.completion_queue, skb); in dev_kfree_skb_irq_reason()
[all …]
H A Dsysctl_net_core.c213 struct softnet_data *sd; in flow_limit_cpu_sysctl()
228 sd = &per_cpu(softnet_data, i); in flow_limit_cpu_sysctl()
252 sd = &per_cpu(softnet_data, i); in flow_limit_cpu_sysctl()
H A Dnetpoll.c249 struct softnet_data *sd = &get_cpu_var(softnet_data); in zap_completion_queue()
271 put_cpu_var(softnet_data); in zap_completion_queue()
H A Dskbuff.c7182 struct softnet_data *sd; in skb_attempt_defer_free()
7196 sd = &per_cpu(softnet_data, cpu); in skb_attempt_defer_free()
/linux/net/xfrm/
H A Dxfrm_device.c120 struct softnet_data *sd; in validate_xmit_xfrm()
149 sd = this_cpu_ptr(&softnet_data); in validate_xmit_xfrm()
472 struct softnet_data *sd; in xfrm_dev_resume()
485 sd = this_cpu_ptr(&softnet_data); in xfrm_dev_resume()
494 void xfrm_dev_backlog(struct softnet_data *sd) in xfrm_dev_backlog()
/linux/include/linux/
H A Dnetdevice.h3465 struct softnet_data { struct
3474 struct softnet_data *rps_ipi_list; argument
3500 struct softnet_data *rps_ipi_next; argument
3517 DECLARE_PER_CPU_ALIGNED(struct softnet_data, softnet_data); argument
3528 return this_cpu_read(softnet_data.xmit.recursion); in dev_recursion_level()
5198 __this_cpu_write(softnet_data.xmit.more, more); in netdev_xmit_set_more()
5203 return __this_cpu_read(softnet_data.xmit.more); in netdev_xmit_more()