Home
last modified time | relevance | path

Searched refs:conns (Results 1 – 7 of 7) sorted by relevance

/net/rxrpc/
Dconn_client.c338 old = bundle->conns[slot]; in rxrpc_add_conn_to_bundle()
340 bundle->conns[slot] = NULL; in rxrpc_add_conn_to_bundle()
353 bundle->conns[slot] = conn; in rxrpc_add_conn_to_bundle()
373 for (i = 0; i < ARRAY_SIZE(bundle->conns); i++) { in rxrpc_bundle_has_space()
374 if (rxrpc_may_reuse_conn(bundle->conns[i])) in rxrpc_bundle_has_space()
388 usable < ARRAY_SIZE(bundle->conns)) in rxrpc_bundle_has_space()
482 conn = bundle->conns[slot]; in rxrpc_activate_channels()
671 if (bundle->conns[bindex] == conn) { in rxrpc_unbundle_conn()
673 bundle->conns[bindex] = NULL; in rxrpc_unbundle_conn()
Dar-internal.h455 struct rxrpc_connection *conns[4]; /* The connections in the bundle (max 4) */ member
/net/netfilter/ipvs/
Dip_vs_est.c86 u64 conns, inpkts, outpkts, inbytes, outbytes; in ip_vs_chain_estimation() local
100 conns = u64_stats_read(&c->cnt.conns); in ip_vs_chain_estimation()
106 kconns += conns; in ip_vs_chain_estimation()
115 s->kstats.conns = kconns; in ip_vs_chain_estimation()
122 rate = (s->kstats.conns - e->last_conns) << 9; in ip_vs_chain_estimation()
123 e->last_conns = s->kstats.conns; in ip_vs_chain_estimation()
906 est->last_conns = k->conns; in ip_vs_zero_estimator()
Dip_vs_ctl.c876 IP_VS_SHOW_STATS_COUNTER(conns); in ip_vs_copy_stats()
890 dst->conns = (u32)src->conns; in ip_vs_export_stats_user()
911 IP_VS_ZERO_STATS_COUNTER(conns); in ip_vs_zero_stats()
2495 (unsigned long long)show.conns, in ip_vs_stats_show()
2531 u64 conns, inpkts, outpkts, inbytes, outbytes; in ip_vs_stats_percpu_show() local
2535 conns = u64_stats_read(&u->cnt.conns); in ip_vs_stats_percpu_show()
2543 i, (u64)conns, (u64)inpkts, in ip_vs_stats_percpu_show()
2551 (unsigned long long)kstats.conns, in ip_vs_stats_percpu_show()
3255 if (nla_put_u32(skb, IPVS_STATS_ATTR_CONNS, (u32)kstats->conns) || in ip_vs_genl_fill_stats()
3285 if (nla_put_u64_64bit(skb, IPVS_STATS_ATTR_CONNS, kstats->conns, in ip_vs_genl_fill_stats64()
Dip_vs_core.c203 u64_stats_inc(&s->cnt.conns); in ip_vs_conn_stats()
208 u64_stats_inc(&s->cnt.conns); in ip_vs_conn_stats()
213 u64_stats_inc(&s->cnt.conns); in ip_vs_conn_stats()
/net/smc/
Dsmc_core.c676 bool conns; in smc_lgr_free_work() local
685 conns = RB_EMPTY_ROOT(&lgr->conns_all); in smc_lgr_free_work()
687 if (!conns) { /* number of lgr connections is no longer zero */ in smc_lgr_free_work()
/net/tipc/
Dnode.c1523 struct list_head *conns = &n->conn_sks; in node_lost_contact() local
1547 list_for_each_entry_safe(conn, safe, conns, list) { in node_lost_contact()