Searched refs:pkg_stats (Results 1 – 3 of 3) 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() local143 pkg_stats->total_rx_match_ratio = (pkg_stats->matches * 100) / in can_stat_update()146 pkg_stats->total_tx_rate = calc_rate(pkg_stats->jiffies_init, j, in can_stat_update()148 pkg_stats->total_rx_rate = calc_rate(pkg_stats->jiffies_init, j, in can_stat_update()161 if (pkg_stats->max_tx_rate < pkg_stats->current_tx_rate) in can_stat_update()162 pkg_stats->max_tx_rate = pkg_stats->current_tx_rate; in can_stat_update()164 if (pkg_stats->max_rx_rate < pkg_stats->current_rx_rate) in can_stat_update()165 pkg_stats->max_rx_rate = pkg_stats->current_rx_rate; in can_stat_update()213 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_stats_proc_show() local[all …]
202 struct can_pkg_stats *pkg_stats = dev_net(skb->dev)->can.pkg_stats; in can_send() local289 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() local649 pkg_stats->rx_frames++; 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()813 kfree(net->can.pkg_stats); in can_pernet_init()[all …]
34 struct can_pkg_stats *pkg_stats; member
Completed in 7 milliseconds