• Home
  • Raw
  • Download

Lines Matching refs:stats

191 	struct tipc_stats stats;  member
721 l->stats.accu_queue_sz += skb_queue_len(&l->transmq); in link_profile_stats()
722 l->stats.queue_sz_counts++; in link_profile_stats()
735 l->stats.msg_lengths_total += length; in link_profile_stats()
736 l->stats.msg_length_counts++; in link_profile_stats()
738 l->stats.msg_length_profile[0]++; in link_profile_stats()
740 l->stats.msg_length_profile[1]++; in link_profile_stats()
742 l->stats.msg_length_profile[2]++; in link_profile_stats()
744 l->stats.msg_length_profile[3]++; in link_profile_stats()
746 l->stats.msg_length_profile[4]++; in link_profile_stats()
748 l->stats.msg_length_profile[5]++; in link_profile_stats()
750 l->stats.msg_length_profile[6]++; in link_profile_stats()
841 l->stats.link_congs++; in link_schedule_user()
973 l->stats.sent_fragmented++; in tipc_link_xmit()
974 l->stats.sent_fragments += pkt_cnt; in tipc_link_xmit()
999 l->stats.sent_pkts++; in tipc_link_xmit()
1006 l->stats.sent_bundled++; in tipc_link_xmit()
1013 l->stats.sent_bundled++; in tipc_link_xmit()
1014 l->stats.sent_bundles++; in tipc_link_xmit()
1059 l->stats.sent_pkts++; in tipc_link_advance_backlog()
1162 l->stats.retransmitted++; in tipc_link_bc_retrans()
1230 l->stats.recv_bundles++; in tipc_link_input()
1231 l->stats.recv_bundled += msg_msgcnt(hdr); in tipc_link_input()
1237 l->stats.recv_fragments++; in tipc_link_input()
1239 l->stats.recv_fragmented++; in tipc_link_input()
1439 l->stats.retransmitted++; in tipc_link_advance_transmq()
1481 l->stats.sent_acks++; in tipc_link_build_state_msg()
1511 u32 def_cnt = ++l->stats.deferred_recv; in tipc_link_build_nack_msg()
1562 l->stats.duplicates++; in tipc_link_rcv()
1582 l->stats.recv_pkts++; in tipc_link_rcv()
1659 l->stats.sent_states++; in tipc_link_build_proto_msg()
1673 l->stats.sent_probes++; in tipc_link_build_proto_msg()
1675 l->stats.sent_nacks++; in tipc_link_build_proto_msg()
2043 l->stats.recv_states++; in tipc_link_proto_rcv()
2045 l->stats.recv_probes++; in tipc_link_proto_rcv()
2076 l->stats.recv_nacks++; in tipc_link_proto_rcv()
2183 l->stats.recv_nacks++; in tipc_link_bc_sync_rcv()
2286 l->stats.recv_nacks++; in tipc_link_bc_nack_rcv()
2315 memset(&l->stats, 0, sizeof(l->stats)); in tipc_link_reset_stats()
2371 struct nlattr *stats; in __tipc_nl_add_stats() local
2416 stats = nla_nest_start_noflag(skb, TIPC_NLA_LINK_STATS); in __tipc_nl_add_stats()
2417 if (!stats) in __tipc_nl_add_stats()
2424 nla_nest_end(skb, stats); in __tipc_nl_add_stats()
2428 nla_nest_cancel(skb, stats); in __tipc_nl_add_stats()
2458 if (nla_put_u32(msg->skb, TIPC_NLA_LINK_RX, link->stats.recv_pkts)) in __tipc_nl_add_link()
2460 if (nla_put_u32(msg->skb, TIPC_NLA_LINK_TX, link->stats.sent_pkts)) in __tipc_nl_add_link()
2484 err = __tipc_nl_add_stats(msg->skb, &link->stats); in __tipc_nl_add_link()
2504 struct tipc_stats *stats) in __tipc_nl_add_bc_link_stat() argument
2515 {TIPC_NLA_STATS_RX_INFO, stats->recv_pkts}, in __tipc_nl_add_bc_link_stat()
2516 {TIPC_NLA_STATS_RX_FRAGMENTS, stats->recv_fragments}, in __tipc_nl_add_bc_link_stat()
2517 {TIPC_NLA_STATS_RX_FRAGMENTED, stats->recv_fragmented}, in __tipc_nl_add_bc_link_stat()
2518 {TIPC_NLA_STATS_RX_BUNDLES, stats->recv_bundles}, in __tipc_nl_add_bc_link_stat()
2519 {TIPC_NLA_STATS_RX_BUNDLED, stats->recv_bundled}, in __tipc_nl_add_bc_link_stat()
2520 {TIPC_NLA_STATS_TX_INFO, stats->sent_pkts}, in __tipc_nl_add_bc_link_stat()
2521 {TIPC_NLA_STATS_TX_FRAGMENTS, stats->sent_fragments}, in __tipc_nl_add_bc_link_stat()
2522 {TIPC_NLA_STATS_TX_FRAGMENTED, stats->sent_fragmented}, in __tipc_nl_add_bc_link_stat()
2523 {TIPC_NLA_STATS_TX_BUNDLES, stats->sent_bundles}, in __tipc_nl_add_bc_link_stat()
2524 {TIPC_NLA_STATS_TX_BUNDLED, stats->sent_bundled}, in __tipc_nl_add_bc_link_stat()
2525 {TIPC_NLA_STATS_RX_NACKS, stats->recv_nacks}, in __tipc_nl_add_bc_link_stat()
2526 {TIPC_NLA_STATS_RX_DEFERRED, stats->deferred_recv}, in __tipc_nl_add_bc_link_stat()
2527 {TIPC_NLA_STATS_TX_NACKS, stats->sent_nacks}, in __tipc_nl_add_bc_link_stat()
2528 {TIPC_NLA_STATS_TX_ACKS, stats->sent_acks}, in __tipc_nl_add_bc_link_stat()
2529 {TIPC_NLA_STATS_RETRANSMITTED, stats->retransmitted}, in __tipc_nl_add_bc_link_stat()
2530 {TIPC_NLA_STATS_DUPLICATES, stats->duplicates}, in __tipc_nl_add_bc_link_stat()
2531 {TIPC_NLA_STATS_LINK_CONGS, stats->link_congs}, in __tipc_nl_add_bc_link_stat()
2532 {TIPC_NLA_STATS_MAX_QUEUE, stats->max_queue_sz}, in __tipc_nl_add_bc_link_stat()
2533 {TIPC_NLA_STATS_AVG_QUEUE, stats->queue_sz_counts ? in __tipc_nl_add_bc_link_stat()
2534 (stats->accu_queue_sz / stats->queue_sz_counts) : 0} in __tipc_nl_add_bc_link_stat()
2607 err = __tipc_nl_add_bc_link_stat(msg->skb, &bcl->stats); in tipc_nl_add_bc_link()