Lines Matching refs:pkg_stats
203 struct can_pkg_stats *pkg_stats = dev_net(skb->dev)->can.pkg_stats; in can_send() local
290 pkg_stats->tx_frames++; in can_send()
291 pkg_stats->tx_frames_delta++; in can_send()
647 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_receive() local
651 pkg_stats->rx_frames++; in can_receive()
652 pkg_stats->rx_frames_delta++; in can_receive()
673 pkg_stats->matches++; in can_receive()
674 pkg_stats->matches_delta++; in can_receive()
800 net->can.pkg_stats = kzalloc(sizeof(*net->can.pkg_stats), GFP_KERNEL); in can_pernet_init()
801 if (!net->can.pkg_stats) in can_pernet_init()
815 net->can.pkg_stats->jiffies_init = jiffies; in can_pernet_init()
822 kfree(net->can.pkg_stats); in can_pernet_init()
838 kfree(net->can.pkg_stats); in can_pernet_exit()