Lines Matching refs:pkg_stats
202 struct can_pkg_stats *pkg_stats = dev_net(skb->dev)->can.pkg_stats; in can_send() local
289 pkg_stats->tx_frames++; in can_send()
290 pkg_stats->tx_frames_delta++; in can_send()
645 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_receive() local
649 pkg_stats->rx_frames++; in can_receive()
650 pkg_stats->rx_frames_delta++; in can_receive()
671 pkg_stats->matches++; in can_receive()
672 pkg_stats->matches_delta++; in can_receive()
791 net->can.pkg_stats = kzalloc(sizeof(*net->can.pkg_stats), GFP_KERNEL); in can_pernet_init()
792 if (!net->can.pkg_stats) in can_pernet_init()
806 net->can.pkg_stats->jiffies_init = jiffies; in can_pernet_init()
813 kfree(net->can.pkg_stats); in can_pernet_init()
829 kfree(net->can.pkg_stats); in can_pernet_exit()