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()
646 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_receive() local
650 pkg_stats->rx_frames++; in can_receive()
651 pkg_stats->rx_frames_delta++; in can_receive()
672 pkg_stats->matches++; in can_receive()
673 pkg_stats->matches_delta++; in can_receive()
792 net->can.pkg_stats = kzalloc(sizeof(*net->can.pkg_stats), GFP_KERNEL); in can_pernet_init()
793 if (!net->can.pkg_stats) in can_pernet_init()
807 net->can.pkg_stats->jiffies_init = jiffies; in can_pernet_init()
814 kfree(net->can.pkg_stats); in can_pernet_init()
830 kfree(net->can.pkg_stats); in can_pernet_exit()