Searched refs:pkg_stats (Results 1 – 2 of 2) sorted by relevance
81 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_init_stats() local118 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_stat_update() local152 pkg_stats->total_tx_rate = calc_rate(pkg_stats->jiffies_init, j, in can_stat_update()154 pkg_stats->total_rx_rate = calc_rate(pkg_stats->jiffies_init, j, in can_stat_update()166 if (pkg_stats->max_tx_rate < pkg_stats->current_tx_rate) in can_stat_update()167 pkg_stats->max_tx_rate = pkg_stats->current_tx_rate; in can_stat_update()169 if (pkg_stats->max_rx_rate < pkg_stats->current_rx_rate) in can_stat_update()170 pkg_stats->max_rx_rate = pkg_stats->current_rx_rate; in can_stat_update()173 pkg_stats->max_rx_match_ratio = pkg_stats->current_rx_match_ratio; in can_stat_update()218 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_stats_proc_show() local[all …]
205 struct can_pkg_stats *pkg_stats = dev_net(skb->dev)->can.pkg_stats; in can_send() local292 atomic_long_inc(&pkg_stats->tx_frames); in can_send()293 atomic_long_inc(&pkg_stats->tx_frames_delta); in can_send()648 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_receive() local652 atomic_long_inc(&pkg_stats->rx_frames); in can_receive()674 atomic_long_inc(&pkg_stats->matches); in can_receive()675 atomic_long_inc(&pkg_stats->matches_delta); in can_receive()794 net->can.pkg_stats = kzalloc(sizeof(*net->can.pkg_stats), GFP_KERNEL); in can_pernet_init()795 if (!net->can.pkg_stats) in can_pernet_init()816 kfree(net->can.pkg_stats); in can_pernet_init()[all …]
Completed in 6 milliseconds