Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Droute.h100 struct ip_rt_acct { struct
118 extern struct ip_rt_acct __percpu *ip_rt_acct; argument
/linux-6.6.21/net/ipv4/
Dip_input.c378 struct ip_rt_acct *st = this_cpu_ptr(ip_rt_acct); in ip_rcv_finish_core()
Droute.c312 struct ip_rt_acct *dst, *src; in rt_acct_proc_show()
315 dst = kcalloc(256, sizeof(struct ip_rt_acct), GFP_KERNEL); in rt_acct_proc_show()
320 src = (struct ip_rt_acct *)per_cpu_ptr(ip_rt_acct, i); in rt_acct_proc_show()
329 seq_write(m, dst, 256 * sizeof(struct ip_rt_acct)); in rt_acct_proc_show()
3706 struct ip_rt_acct __percpu *ip_rt_acct __read_mostly;
3739 ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct), __alignof__(struct ip_rt_acct)); in ip_rt_init()
3740 if (!ip_rt_acct) in ip_rt_init()