Home
last modified time | relevance | path

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

/linux-6.1.9/net/can/
Dproc.c82 struct can_rcv_lists_stats *rcv_lists_stats = net->can.rcv_lists_stats; in can_init_stats() local
91 rcv_lists_stats->stats_reset++; in can_init_stats()
95 rcv_lists_stats->user_reset++; in can_init_stats()
214 struct can_rcv_lists_stats *rcv_lists_stats = net->can.rcv_lists_stats; in can_stats_proc_show() local
256 rcv_lists_stats->rcv_entries); in can_stats_proc_show()
258 rcv_lists_stats->rcv_entries_max); in can_stats_proc_show()
260 if (rcv_lists_stats->stats_reset) in can_stats_proc_show()
262 rcv_lists_stats->stats_reset); in can_stats_proc_show()
264 if (rcv_lists_stats->user_reset) in can_stats_proc_show()
266 rcv_lists_stats->user_reset); in can_stats_proc_show()
[all …]
Daf_can.c448 struct can_rcv_lists_stats *rcv_lists_stats = net->can.rcv_lists_stats; in can_rx_register() local
479 rcv_lists_stats->rcv_entries++; in can_rx_register()
480 rcv_lists_stats->rcv_entries_max = max(rcv_lists_stats->rcv_entries_max, in can_rx_register()
481 rcv_lists_stats->rcv_entries); in can_rx_register()
517 struct can_rcv_lists_stats *rcv_lists_stats = net->can.rcv_lists_stats; in can_rx_unregister() local
556 if (rcv_lists_stats->rcv_entries > 0) in can_rx_unregister()
557 rcv_lists_stats->rcv_entries--; in can_rx_unregister()
795 net->can.rcv_lists_stats = kzalloc(sizeof(*net->can.rcv_lists_stats), GFP_KERNEL); in can_pernet_init()
796 if (!net->can.rcv_lists_stats) in can_pernet_init()
831 kfree(net->can.rcv_lists_stats); in can_pernet_exit()
/linux-6.1.9/include/net/netns/
Dcan.h35 struct can_rcv_lists_stats *rcv_lists_stats; member