pkg_stats 34 include/net/netns/can.h struct can_pkg_stats *pkg_stats; pkg_stats 203 net/can/af_can.c struct can_pkg_stats *pkg_stats = dev_net(skb->dev)->can.pkg_stats; pkg_stats 290 net/can/af_can.c pkg_stats->tx_frames++; pkg_stats 291 net/can/af_can.c pkg_stats->tx_frames_delta++; pkg_stats 642 net/can/af_can.c struct can_pkg_stats *pkg_stats = net->can.pkg_stats; pkg_stats 646 net/can/af_can.c pkg_stats->rx_frames++; pkg_stats 647 net/can/af_can.c pkg_stats->rx_frames_delta++; pkg_stats 668 net/can/af_can.c pkg_stats->matches++; pkg_stats 669 net/can/af_can.c pkg_stats->matches_delta++; pkg_stats 796 net/can/af_can.c net->can.pkg_stats = kzalloc(sizeof(*net->can.pkg_stats), GFP_KERNEL); pkg_stats 797 net/can/af_can.c if (!net->can.pkg_stats) pkg_stats 811 net/can/af_can.c net->can.pkg_stats->jiffies_init = jiffies; pkg_stats 818 net/can/af_can.c kfree(net->can.pkg_stats); pkg_stats 834 net/can/af_can.c kfree(net->can.pkg_stats); pkg_stats 82 net/can/proc.c struct can_pkg_stats *pkg_stats = net->can.pkg_stats; pkg_stats 89 net/can/proc.c memset(pkg_stats, 0, sizeof(struct can_pkg_stats)); pkg_stats 90 net/can/proc.c pkg_stats->jiffies_init = jiffies; pkg_stats 123 net/can/proc.c struct can_pkg_stats *pkg_stats = net->can.pkg_stats; pkg_stats 131 net/can/proc.c if (j < pkg_stats->jiffies_init) pkg_stats 135 net/can/proc.c if (pkg_stats->rx_frames > (ULONG_MAX / HZ)) pkg_stats 139 net/can/proc.c if (pkg_stats->tx_frames > (ULONG_MAX / HZ)) pkg_stats 143 net/can/proc.c if (pkg_stats->matches > (ULONG_MAX / 100)) pkg_stats 147 net/can/proc.c if (pkg_stats->rx_frames) pkg_stats 148 net/can/proc.c pkg_stats->total_rx_match_ratio = (pkg_stats->matches * 100) / pkg_stats 149 net/can/proc.c pkg_stats->rx_frames; pkg_stats 151 net/can/proc.c pkg_stats->total_tx_rate = calc_rate(pkg_stats->jiffies_init, j, pkg_stats 152 net/can/proc.c pkg_stats->tx_frames); pkg_stats 153 net/can/proc.c pkg_stats->total_rx_rate = calc_rate(pkg_stats->jiffies_init, j, pkg_stats 154 net/can/proc.c pkg_stats->rx_frames); pkg_stats 157 net/can/proc.c if (pkg_stats->rx_frames_delta) pkg_stats 158 net/can/proc.c pkg_stats->current_rx_match_ratio = pkg_stats 159 net/can/proc.c (pkg_stats->matches_delta * 100) / pkg_stats 160 net/can/proc.c pkg_stats->rx_frames_delta; pkg_stats 162 net/can/proc.c pkg_stats->current_tx_rate = calc_rate(0, HZ, pkg_stats->tx_frames_delta); pkg_stats 163 net/can/proc.c pkg_stats->current_rx_rate = calc_rate(0, HZ, pkg_stats->rx_frames_delta); pkg_stats 166 net/can/proc.c if (pkg_stats->max_tx_rate < pkg_stats->current_tx_rate) pkg_stats 167 net/can/proc.c pkg_stats->max_tx_rate = pkg_stats->current_tx_rate; pkg_stats 169 net/can/proc.c if (pkg_stats->max_rx_rate < pkg_stats->current_rx_rate) pkg_stats 170 net/can/proc.c pkg_stats->max_rx_rate = pkg_stats->current_rx_rate; pkg_stats 172 net/can/proc.c if (pkg_stats->max_rx_match_ratio < pkg_stats->current_rx_match_ratio) pkg_stats 173 net/can/proc.c pkg_stats->max_rx_match_ratio = pkg_stats->current_rx_match_ratio; pkg_stats 176 net/can/proc.c pkg_stats->tx_frames_delta = 0; pkg_stats 177 net/can/proc.c pkg_stats->rx_frames_delta = 0; pkg_stats 178 net/can/proc.c pkg_stats->matches_delta = 0; pkg_stats 216 net/can/proc.c struct can_pkg_stats *pkg_stats = net->can.pkg_stats; pkg_stats 220 net/can/proc.c seq_printf(m, " %8ld transmitted frames (TXF)\n", pkg_stats->tx_frames); pkg_stats 221 net/can/proc.c seq_printf(m, " %8ld received frames (RXF)\n", pkg_stats->rx_frames); pkg_stats 222 net/can/proc.c seq_printf(m, " %8ld matched frames (RXMF)\n", pkg_stats->matches); pkg_stats 228 net/can/proc.c pkg_stats->total_rx_match_ratio); pkg_stats 231 net/can/proc.c pkg_stats->total_tx_rate); pkg_stats 233 net/can/proc.c pkg_stats->total_rx_rate); pkg_stats 238 net/can/proc.c pkg_stats->current_rx_match_ratio); pkg_stats 241 net/can/proc.c pkg_stats->current_tx_rate); pkg_stats 243 net/can/proc.c pkg_stats->current_rx_rate); pkg_stats 248 net/can/proc.c pkg_stats->max_rx_match_ratio); pkg_stats 251 net/can/proc.c pkg_stats->max_tx_rate); pkg_stats 253 net/can/proc.c pkg_stats->max_rx_rate); pkg_stats 279 net/can/proc.c struct can_pkg_stats *pkg_stats = net->can.pkg_stats; pkg_stats 287 net/can/proc.c if (pkg_stats->jiffies_init != jiffies)