Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 17 of 17) sorted by relevance

/net/mac80211/
Dairtime.c510 struct ieee80211_rx_status *stat, u8 band, in ieee80211_fill_rate_info() argument
519 stat->bw = ri->bw; in ieee80211_fill_rate_info()
520 stat->nss = ri->nss; in ieee80211_fill_rate_info()
521 stat->rate_idx = ri->mcs; in ieee80211_fill_rate_info()
524 stat->encoding = RX_ENC_HE; in ieee80211_fill_rate_info()
526 stat->encoding = RX_ENC_VHT; in ieee80211_fill_rate_info()
528 stat->encoding = RX_ENC_HT; in ieee80211_fill_rate_info()
530 stat->encoding = RX_ENC_LEGACY; in ieee80211_fill_rate_info()
533 stat->enc_flags |= RX_ENC_FLAG_SHORT_GI; in ieee80211_fill_rate_info()
535 stat->he_gi = ri->he_gi; in ieee80211_fill_rate_info()
[all …]
/net/sunrpc/xprtrdma/
Dtransport.c247 xprt->stat.connect_count++; in xprt_rdma_connect_worker()
248 xprt->stat.connect_time += (long)jiffies - in xprt_rdma_connect_worker()
249 xprt->stat.connect_start; in xprt_rdma_connect_worker()
693 xprt->stat.bind_count, in xprt_rdma_print_stats()
694 xprt->stat.connect_count, in xprt_rdma_print_stats()
695 xprt->stat.connect_time / HZ, in xprt_rdma_print_stats()
697 xprt->stat.sends, in xprt_rdma_print_stats()
698 xprt->stat.recvs, in xprt_rdma_print_stats()
699 xprt->stat.bad_xids, in xprt_rdma_print_stats()
700 xprt->stat.req_u, in xprt_rdma_print_stats()
[all …]
Dsvc_rdma.c85 atomic_t *stat = (atomic_t *)table->data; in read_reset_stat() local
87 if (!stat) in read_reset_stat()
91 atomic_set(stat, 0); in read_reset_stat()
94 int len = snprintf(str_buf, 32, "%d\n", atomic_read(stat)); in read_reset_stat()
/net/sunrpc/
Dxprtsock.c748 transport->xprt.stat.connect_count++; in xs_stream_start_connect()
749 transport->xprt.stat.connect_start = jiffies; in xs_stream_start_connect()
1450 xprt->stat.connect_count++; in xs_tcp_state_change()
1451 xprt->stat.connect_time += (long)jiffies - in xs_tcp_state_change()
1452 xprt->stat.connect_start; in xs_tcp_state_change()
1916 xprt->stat.connect_count++; in xs_local_setup_socket()
1917 xprt->stat.connect_time += (long)jiffies - in xs_local_setup_socket()
1918 xprt->stat.connect_start; in xs_local_setup_socket()
2075 xprt->stat.connect_start = jiffies; in xs_udp_finish_connecting()
2442 xprt->stat.bind_count, in xs_local_print_stats()
[all …]
Dxprt.c900 xprt->stat.connect_start = jiffies; in xprt_connect()
920 start = xprt->stat.connect_start + xprt->reestablish_timeout; in xprt_reconnect_delay()
1033 xprt->stat.bad_xids++; in xprt_lookup_rqst()
1171 xprt->stat.recvs++; in xprt_complete_rqst()
1515 xprt->stat.sends++; in xprt_request_transmit()
1516 xprt->stat.req_u += xprt->stat.sends - xprt->stat.recvs; in xprt_request_transmit()
1517 xprt->stat.bklog_u += xprt->backlog.qlen; in xprt_request_transmit()
1518 xprt->stat.sending_u += xprt->sending.qlen; in xprt_request_transmit()
1519 xprt->stat.pending_u += xprt->pending.qlen; in xprt_request_transmit()
1684 xprt->stat.max_slots = max_t(unsigned int, xprt->stat.max_slots, in xprt_alloc_slot()
Drpcb_clnt.c751 xprt->stat.bind_count++; in rpcb_getport_async()
/net/tipc/
Dcrypto.c171 unsigned int stat[MAX_STATS]; member
848 this_cpu_inc(tx->stats->stat[STAT_ASYNC_OK]); in tipc_aead_encrypt_done()
859 this_cpu_inc(tx->stats->stat[STAT_ASYNC_NOK]); in tipc_aead_encrypt_done()
972 this_cpu_inc(stats->stat[STAT_ASYNC_OK]); in tipc_aead_decrypt_done()
977 this_cpu_inc(stats->stat[STAT_ASYNC_NOK]); in tipc_aead_decrypt_done()
1566 this_cpu_inc(tx->stats->stat[STAT_SWITCHES]); in tipc_crypto_timeout()
1583 this_cpu_inc(rx->stats->stat[STAT_SWITCHES]); in tipc_crypto_timeout()
1765 this_cpu_inc(stats->stat[STAT_OK]); in tipc_crypto_xmit()
1769 this_cpu_inc(stats->stat[STAT_ASYNC]); in tipc_crypto_xmit()
1773 this_cpu_inc(stats->stat[STAT_NOK]); in tipc_crypto_xmit()
[all …]
Dsocket.c3628 struct nlattr *stat; in tipc_sk_fill_sock_diag() local
3652 stat = nla_nest_start_noflag(skb, TIPC_NLA_SOCK_STAT); in tipc_sk_fill_sock_diag()
3653 if (!stat) in tipc_sk_fill_sock_diag()
3672 nla_nest_end(skb, stat); in tipc_sk_fill_sock_diag()
3683 nla_nest_cancel(skb, stat); in tipc_sk_fill_sock_diag()
/net/sunrpc/auth_gss/
Dsvcauth_gss.c836 int stat = -ENOMEM; in svcauth_gss_register_pseudoflavor() local
852 stat = -EADDRINUSE; in svcauth_gss_register_pseudoflavor()
863 return ERR_PTR(stat); in svcauth_gss_register_pseudoflavor()
889 int stat = -EINVAL; in unwrap_integ_data() local
933 stat = 0; in unwrap_integ_data()
936 return stat; in unwrap_integ_data()
1039 int stat; in svcauth_gss_set_client() local
1053 stat = svcauth_unix_set_client(rqstp); in svcauth_gss_set_client()
1054 if (stat == SVC_DROP || stat == SVC_CLOSE) in svcauth_gss_set_client()
1055 return stat; in svcauth_gss_set_client()
[all …]
/net/ipv4/
Dfib_trie.c2509 static void trie_show_stats(struct seq_file *seq, struct trie_stat *stat) in trie_show_stats() argument
2513 if (stat->leaves) in trie_show_stats()
2514 avdepth = stat->totdepth*100 / stat->leaves; in trie_show_stats()
2520 seq_printf(seq, "\tMax depth: %u\n", stat->maxdepth); in trie_show_stats()
2522 seq_printf(seq, "\tLeaves: %u\n", stat->leaves); in trie_show_stats()
2523 bytes = LEAF_SIZE * stat->leaves; in trie_show_stats()
2525 seq_printf(seq, "\tPrefixes: %u\n", stat->prefixes); in trie_show_stats()
2526 bytes += sizeof(struct fib_alias) * stat->prefixes; in trie_show_stats()
2528 seq_printf(seq, "\tInternal nodes: %u\n\t", stat->tnodes); in trie_show_stats()
2529 bytes += TNODE_SIZE(0) * stat->tnodes; in trie_show_stats()
[all …]
/net/netfilter/
Dnf_conntrack_standalone.c400 return per_cpu_ptr(net->ct.stat, cpu); in ct_cpu_seq_start()
415 return per_cpu_ptr(net->ct.stat, cpu); in ct_cpu_seq_next()
Dnf_conntrack_core.c2429 free_percpu(net->ct.stat); in nf_conntrack_cleanup_net_list()
2721 net->ct.stat = alloc_percpu(struct ip_conntrack_stat); in nf_conntrack_init_net()
2722 if (!net->ct.stat) in nf_conntrack_init_net()
2738 free_percpu(net->ct.stat); in nf_conntrack_init_net()
Dnf_conntrack_netlink.c2523 st = per_cpu_ptr(net->ct.stat, cpu); in ctnetlink_ct_stat_cpu_dump()
3731 st = per_cpu_ptr(net->ct.stat, cpu); in ctnetlink_exp_stat_cpu_dump()
/net/bluetooth/
Dhci_core.c1956 memset(&hdev->stat, 0, sizeof(struct hci_dev_stats)); in hci_dev_reset_stat()
2197 memcpy(&di.stat, &hdev->stat, sizeof(di.stat)); in hci_get_dev_info()
4764 hdev->stat.acl_rx++; in hci_acldata_packet()
4800 hdev->stat.sco_rx++; in hci_scodata_packet()
Dl2cap_core.c8383 __u16 res, stat; in l2cap_security_cfm() local
8388 stat = L2CAP_CS_AUTHOR_PEND; in l2cap_security_cfm()
8393 stat = L2CAP_CS_NO_INFO; in l2cap_security_cfm()
8399 stat = L2CAP_CS_NO_INFO; in l2cap_security_cfm()
8405 rsp.status = cpu_to_le16(stat); in l2cap_security_cfm()
Dhci_event.c6423 hdev->stat.evt_rx++; in hci_event_packet()
/net/packet/
Daf_packet.c764 struct packet_sock *po, unsigned int stat) in prb_close_block() argument
766 __u32 status = TP_STATUS_USER | stat; in prb_close_block()