Lines Matching refs:pkg_stats
205 struct can_pkg_stats *pkg_stats = dev_net(skb->dev)->can.pkg_stats; in can_send() local
292 atomic_long_inc(&pkg_stats->tx_frames); in can_send()
293 atomic_long_inc(&pkg_stats->tx_frames_delta); in can_send()
658 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_receive() local
662 atomic_long_inc(&pkg_stats->rx_frames); in can_receive()
663 atomic_long_inc(&pkg_stats->rx_frames_delta); in can_receive()
682 atomic_long_inc(&pkg_stats->matches); in can_receive()
683 atomic_long_inc(&pkg_stats->matches_delta); in can_receive()
804 net->can.pkg_stats = kzalloc_obj(*net->can.pkg_stats); in can_pernet_init()
805 if (!net->can.pkg_stats) in can_pernet_init()
819 net->can.pkg_stats->jiffies_init = jiffies; in can_pernet_init()
826 kfree(net->can.pkg_stats); in can_pernet_init()
842 kfree(net->can.pkg_stats); in can_pernet_exit()