Home
last modified time | relevance | path

Searched refs:pkg_stats (Results 1 – 3 of 3) sorted by relevance

/linux/net/can/
H A Dproc.c81 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_init_stats() local
88 memset(pkg_stats, 0, sizeof(struct can_pkg_stats)); in can_init_stats()
89 pkg_stats->jiffies_init = jiffies; in can_init_stats()
118 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_stat_update() local
121 long rx_frames = atomic_long_read(&pkg_stats->rx_frames); in can_stat_update()
122 long tx_frames = atomic_long_read(&pkg_stats->tx_frames); in can_stat_update()
123 long matches = atomic_long_read(&pkg_stats->matches); in can_stat_update()
124 long rx_frames_delta = atomic_long_read(&pkg_stats->rx_frames_delta); in can_stat_update()
125 long tx_frames_delta = atomic_long_read(&pkg_stats->tx_frames_delta); in can_stat_update()
126 long matches_delta = atomic_long_read(&pkg_stats->matches_delta); in can_stat_update()
[all …]
H A Daf_can.c205 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()
[all …]
/linux/include/net/netns/
H A Dcan.h34 struct can_pkg_stats *pkg_stats; member