Home
last modified time | relevance | path

Searched refs:ip_rt_acct (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/net/
H A Droute.h100 struct ip_rt_acct { struct
118 extern struct ip_rt_acct __percpu *ip_rt_acct; argument
/openbmc/linux/net/ipv4/
H A Dip_input.c378 struct ip_rt_acct *st = this_cpu_ptr(ip_rt_acct); in ip_rcv_finish_core()
H A Droute.c313 struct ip_rt_acct *dst, *src; in rt_acct_proc_show()
316 dst = kcalloc(256, sizeof(struct ip_rt_acct), GFP_KERNEL); in rt_acct_proc_show()
321 src = (struct ip_rt_acct *)per_cpu_ptr(ip_rt_acct, i); in rt_acct_proc_show()
330 seq_write(m, dst, 256 * sizeof(struct ip_rt_acct)); in rt_acct_proc_show()
3727 struct ip_rt_acct __percpu *ip_rt_acct __read_mostly;
3760 ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct), __alignof__(struct ip_rt_acct)); in ip_rt_init()
3761 if (!ip_rt_acct) in ip_rt_init()