Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 32) sorted by relevance

12

/net/rxrpc/
A Dconn_object.c211 if (atomic_dec_and_test(&conn->active)) in rxrpc_disconnect_call()
225 if (atomic_read(&conn->active) >= 0 && in rxrpc_queue_conn()
393 int active; in rxrpc_service_connection_reaper() local
404 ASSERTCMP(atomic_read(&conn->active), >=, 0); in rxrpc_service_connection_reaper()
405 if (likely(atomic_read(&conn->active) > 0)) in rxrpc_service_connection_reaper()
417 conn->debug_id, atomic_read(&conn->active), in rxrpc_service_connection_reaper()
430 active = 0; in rxrpc_service_connection_reaper()
431 if (!atomic_try_cmpxchg(&conn->active, &active, -1)) in rxrpc_service_connection_reaper()
455 ASSERTCMP(atomic_read(&conn->active), ==, -1); in rxrpc_service_connection_reaper()
A Dconn_client.c39 atomic_inc(&bundle->active); in rxrpc_activate_bundle()
91 atomic_set(&bundle->active, 1); in rxrpc_alloc_bundle()
710 if (atomic_dec_and_lock(&bundle->active, &local->client_bundles_lock)) { in rxrpc_deactivate_bundle()
784 atomic_dec(&conn->active); in rxrpc_discard_expired_client_conns()
826 atomic_dec(&conn->active); in rxrpc_clean_up_local_conns()
A Dconn_service.c177 atomic_set(&conn->active, 1); in rxrpc_new_incoming_connection()
A Dproc.c179 atomic_read(&conn->active), in rxrpc_connection_seq_show()
254 atomic_read(&bundle->active), in rxrpc_bundle_seq_show()
A Dcall_accept.c303 atomic_inc(&conn->active); in rxrpc_alloc_incoming_call()
A Dar-internal.h504 atomic_t active; /* Number of active users */ member
533 atomic_t active; /* Active count for service conns */ member
/net/tipc/
A Dcrypto.c108 active:2, member
114 active:2,
1180 if (key.active && pos != key_next(key.active)) { in tipc_crypto_key_attach()
1271 if (key.active) in tipc_crypto_key_try_align()
1455 WARN_ON(!key.active || tx_key != key.active); in tipc_crypto_key_revoke()
1561 if (key.active && tipc_aead_users(tx->aead[key.active]) > 0) in tipc_crypto_timeout()
1569 if (key.active) in tipc_crypto_timeout()
1583 if (key.active) in tipc_crypto_timeout()
1604 if (!key.active) in tipc_crypto_timeout()
1728 if (!key.active) in tipc_crypto_xmit()
[all …]
A Dgroup.c84 struct list_head active; member
177 INIT_LIST_HEAD(&grp->active); in tipc_group_create()
591 struct list_head *active = &grp->active; in tipc_group_update_rcv_win() local
608 list_add_tail(&m->list, active); in tipc_group_update_rcv_win()
620 if (!list_empty(active)) { in tipc_group_update_rcv_win()
621 rm = list_first_entry(active, struct tipc_member, list); in tipc_group_update_rcv_win()
634 if (!list_is_last(&m->list, &grp->active)) in tipc_group_update_rcv_win()
635 list_move_tail(&m->list, &grp->active); in tipc_group_update_rcv_win()
656 list_move_tail(&pm->list, &grp->active); in tipc_group_update_rcv_win()
843 list_move_tail(&pm->list, &grp->active); in tipc_group_proto_rcv()
A Dlink.h104 void tipc_link_set_active(struct tipc_link *l, bool active);
A Dlink.c154 bool active; member
313 void tipc_link_set_active(struct tipc_link *l, bool active) in tipc_link_set_active() argument
315 l->active = active; in tipc_link_set_active()
2704 if (link->active) in __tipc_nl_add_link()
/net/ethtool/
A Dfeatures.c17 u32 active[ETHTOOL_DEV_FEATURE_WORDS]; member
48 ethnl_features_to_bitmap32(data->active, dev->features); in features_prepare_data()
74 ret = ethnl_bitset32_size(data->active, NULL, NETDEV_FEATURE_COUNT, in features_reply_size()
106 ret = ethnl_put_bitset32(skb, ETHTOOL_A_FEATURES_ACTIVE, data->active, in features_fill_reply()
161 const unsigned long *active, in features_send_reply() argument
175 ret = ethnl_bitset_size(active, active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
193 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_ACTIVE, active, in features_send_reply()
/net/sctp/
A Dstream_sched_prio.c50 INIT_LIST_HEAD(&p->active); in sctp_sched_prio_new_head()
98 if (pos == &p->active) in sctp_sched_prio_next_stream()
120 if (list_empty(&prio_head->active)) { in sctp_sched_prio_unsched()
150 list_add(&soute->prio_list, &prio_head->active); in sctp_sched_prio_sched()
299 list_for_each_entry_safe(soute, souttmp, &p->active, prio_list) in sctp_sched_prio_unsched_all()
A Dassociola.c550 struct sctp_transport *active = asoc->peer.active_path; in sctp_assoc_rm_peer() local
560 &active->transmitted); in sctp_assoc_rm_peer()
566 if (!timer_pending(&active->T3_rtx_timer)) in sctp_assoc_rm_peer()
567 if (!mod_timer(&active->T3_rtx_timer, in sctp_assoc_rm_peer()
568 jiffies + active->rto)) in sctp_assoc_rm_peer()
569 sctp_transport_hold(active); in sctp_assoc_rm_peer()
908 struct sctp_transport *active; in sctp_assoc_lookup_tsn() local
931 active = asoc->peer.active_path; in sctp_assoc_lookup_tsn()
933 list_for_each_entry(chunk, &active->transmitted, in sctp_assoc_lookup_tsn()
937 match = active; in sctp_assoc_lookup_tsn()
[all …]
/net/sched/
A Dsch_drr.c32 struct list_head active; member
364 list_add_tail(&cl->alist, &q->active); in drr_enqueue()
380 if (list_empty(&q->active)) in drr_dequeue()
383 cl = list_first_entry(&q->active, struct drr_class, alist); in drr_dequeue()
407 list_move_tail(&cl->alist, &q->active); in drr_dequeue()
425 INIT_LIST_HEAD(&q->active); in drr_init_qdisc()
A Dsch_qfq.c162 struct list_head active; /* DRR queue of active classes. */ member
265 INIT_LIST_HEAD(&agg->active); in qfq_init_agg()
328 list_add_tail(&cl->alist, &agg->active); in qfq_add_to_agg()
329 if (list_first_entry(&agg->active, struct qfq_class, alist) == in qfq_add_to_agg()
356 if (list_empty(&agg->active)) /* agg is now inactive */ in qfq_deactivate_class()
1004 list_move_tail(&cl->alist, &agg->active); in agg_dequeue()
1110 if (!list_empty(&in_serv_agg->active)) in qfq_dequeue()
1125 if (!list_empty(&in_serv_agg->active)) { in qfq_dequeue()
1272 list_first_entry(&agg->active, struct qfq_class, alist) in qfq_enqueue()
1274 list_move_tail(&cl->alist, &agg->active); in qfq_enqueue()
[all …]
A Dsch_ets.c49 struct list_head active; member
443 list_add_tail(&cl->alist, &q->active); in ets_qdisc_enqueue()
477 if (list_empty(&q->active)) in ets_qdisc_dequeue()
480 cl = list_first_entry(&q->active, struct ets_class, alist); in ets_qdisc_dequeue()
499 list_move_tail(&cl->alist, &q->active); in ets_qdisc_dequeue()
663 list_add_tail(&q->classes[i].alist, &q->active); in ets_qdisc_change()
706 INIT_LIST_HEAD(&q->active); in ets_qdisc_init()
/net/mac80211/
A Dled.c362 tpt_trig->active &= ~types_off; in ieee80211_mod_tpt_led_trig()
363 tpt_trig->active |= types_on; in ieee80211_mod_tpt_led_trig()
371 allowed = tpt_trig->active & IEEE80211_TPT_LEDTRIG_FL_RADIO; in ieee80211_mod_tpt_led_trig()
373 if (!allowed || !(tpt_trig->active & tpt_trig->want)) in ieee80211_mod_tpt_led_trig()
A Diface.c108 bool working, scanning, active; in __ieee80211_recalc_idle() local
113 active = force_active || in __ieee80211_recalc_idle()
128 if (active) in __ieee80211_recalc_idle()
135 if (working || scanning || active) in __ieee80211_recalc_idle()
1366 if (sdata->bss->active) { in ieee80211_do_open()
A Dibss.c630 int active = 0; in ieee80211_sta_active_ibss() local
643 active++; in ieee80211_sta_active_ibss()
650 return active; in ieee80211_sta_active_ibss()
A Dieee80211_i.h327 bool active; member
509 bool active; /* whether the advertised mapping is active or not */ member
1340 unsigned int active, want; member
/net/can/j1939/
A Dtransport.c1077 bool active = false; in j1939_session_deactivate_locked() local
1083 active = true; in j1939_session_deactivate_locked()
1090 return active; in j1939_session_deactivate_locked()
1096 bool active; in j1939_session_deactivate() local
1099 active = j1939_session_deactivate_locked(session); in j1939_session_deactivate()
1102 return active; in j1939_session_deactivate()
1558 struct j1939_session *active = NULL; in j1939_session_activate() local
1563 active = j1939_session_get_by_addr_locked(priv, in j1939_session_activate()
1567 if (active) { in j1939_session_activate()
1568 j1939_session_put(active); in j1939_session_activate()
/net/netfilter/ipvs/
A DKconfig141 connections to the server with the least number of active
151 connections to the server with the least active connections
172 currently available and overflows to the next when active
185 overloaded (its active connection numbers is larger than its weight)
280 connections to the server with the least active connections
/net/802/
A Dmrp.c611 if (likely(app->active)) in mrp_join_timer()
627 if (likely(app->active)) { in mrp_periodic_timer()
880 app->active = true; in mrp_init_applicant()
910 app->active = false; in mrp_uninit_applicant()
/net/ncsi/
A Dncsi-manage.c1872 struct ncsi_channel *nc, *active, *tmp; in ncsi_reset_dev() local
1917 active = NULL; in ncsi_reset_dev()
1923 active = nc; in ncsi_reset_dev()
1932 if (active) in ncsi_reset_dev()
1936 if (!active) { in ncsi_reset_dev()
1946 ndp->active_channel = active; in ncsi_reset_dev()
1947 ndp->active_package = active->package; in ncsi_reset_dev()
/net/ipv6/
A DKconfig300 processing of SRv6 packets based on their active segment.

Completed in 81 milliseconds

12