Home
last modified time | relevance | path

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

12

/net/tipc/
Dcrypto.c108 active:2, member
114 active:2,
1078 ehdr->rx_key_active = (__rx) ? __rx->key.active : 0; in tipc_ehdr_build()
1172 if (key.active && key.passive) in tipc_crypto_key_attach()
1182 if (key.active && pos != key_next(key.active)) { in tipc_crypto_key_attach()
1186 } else if (!key.active && !key.passive) { in tipc_crypto_key_attach()
1192 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1201 tipc_crypto_key_set_state(c, key.passive, key.active, in tipc_crypto_key_attach()
1273 if (key.active) in tipc_crypto_key_try_align()
1349 ((i == 1) ? key.active : key.passive); in tipc_crypto_key_pick_tx()
[all …]
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()
Dlink.h104 void tipc_link_set_active(struct tipc_link *l, bool active);
Dlink.c169 bool active; member
335 void tipc_link_set_active(struct tipc_link *l, bool active) in tipc_link_set_active() argument
337 l->active = active; in tipc_link_set_active()
2723 if (link->active) in __tipc_nl_add_link()
/net/ethtool/
Dfeatures.c15 u32 active[ETHTOOL_DEV_FEATURE_WORDS]; member
46 ethnl_features_to_bitmap32(data->active, dev->features); in features_prepare_data()
72 ret = ethnl_bitset32_size(data->active, NULL, NETDEV_FEATURE_COUNT, in features_reply_size()
104 ret = ethnl_put_bitset32(skb, ETHTOOL_A_FEATURES_ACTIVE, data->active, in features_fill_reply()
160 const unsigned long *active, in features_send_reply() argument
174 ret = ethnl_bitset_size(active, active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
192 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_ACTIVE, active, in features_send_reply()
/net/netfilter/
Dxt_IDLETIMER.c57 bool active; member
94 state = timer->active; in check_for_delayed_trigger()
218 timer->active = false; in idletimer_tg_expired()
246 if (!timer->active) { in idletimer_resume()
262 timer->active = false; in idletimer_resume()
335 info->timer->active = true; in idletimer_tg_create()
404 info->timer->active = true; in idletimer_tg_create_v1()
453 timer_prev = info_timer->active; in reset_timer()
454 info_timer->active = true; in reset_timer()
492 info->timer->active = true; in idletimer_tg_target()
[all …]
/net/sctp/
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()
325 list_for_each_entry_safe(soute, souttmp, &p->active, prio_list) in sctp_sched_prio_unsched_all()
Dassociola.c551 struct sctp_transport *active = asoc->peer.active_path; in sctp_assoc_rm_peer() local
561 &active->transmitted); in sctp_assoc_rm_peer()
567 if (!timer_pending(&active->T3_rtx_timer)) in sctp_assoc_rm_peer()
568 if (!mod_timer(&active->T3_rtx_timer, in sctp_assoc_rm_peer()
569 jiffies + active->rto)) in sctp_assoc_rm_peer()
570 sctp_transport_hold(active); in sctp_assoc_rm_peer()
927 struct sctp_transport *active; in sctp_assoc_lookup_tsn() local
950 active = asoc->peer.active_path; in sctp_assoc_lookup_tsn()
952 list_for_each_entry(chunk, &active->transmitted, in sctp_assoc_lookup_tsn()
956 match = active; in sctp_assoc_lookup_tsn()
[all …]
/net/sched/
Dsch_drr.c33 struct list_head active; member
369 list_add_tail(&cl->alist, &q->active); in drr_enqueue()
385 if (list_empty(&q->active)) in drr_dequeue()
388 cl = list_first_entry(&q->active, struct drr_class, alist); in drr_dequeue()
412 list_move_tail(&cl->alist, &q->active); in drr_dequeue()
430 INIT_LIST_HEAD(&q->active); in drr_init_qdisc()
Dsch_qfq.c164 struct list_head active; /* DRR queue of active classes. */ member
262 INIT_LIST_HEAD(&agg->active); in qfq_init_agg()
325 list_add_tail(&cl->alist, &agg->active); in qfq_add_to_agg()
326 if (list_first_entry(&agg->active, struct qfq_class, alist) == in qfq_add_to_agg()
353 if (list_empty(&agg->active)) /* agg is now inactive */ in qfq_deactivate_class()
997 list_move_tail(&cl->alist, &agg->active); in agg_dequeue()
1009 *cl = list_first_entry(&agg->active, struct qfq_class, alist); in qfq_peek_skb()
1103 if (!list_empty(&in_serv_agg->active)) in qfq_dequeue()
1118 if (!list_empty(&in_serv_agg->active)) { in qfq_dequeue()
1268 list_first_entry(&agg->active, struct qfq_class, alist) in qfq_enqueue()
[all …]
Dsch_ets.c49 struct list_head active; member
446 list_add_tail(&cl->alist, &q->active); in ets_qdisc_enqueue()
480 if (list_empty(&q->active)) in ets_qdisc_dequeue()
483 cl = list_first_entry(&q->active, struct ets_class, alist); in ets_qdisc_dequeue()
502 list_move_tail(&cl->alist, &q->active); in ets_qdisc_dequeue()
666 list_add_tail(&q->classes[i].alist, &q->active); in ets_qdisc_change()
710 INIT_LIST_HEAD(&q->active); in ets_qdisc_init()
/net/mac80211/
Dled.c361 tpt_trig->active &= ~types_off; in ieee80211_mod_tpt_led_trig()
362 tpt_trig->active |= types_on; in ieee80211_mod_tpt_led_trig()
370 allowed = tpt_trig->active & IEEE80211_TPT_LEDTRIG_FL_RADIO; in ieee80211_mod_tpt_led_trig()
372 if (!allowed || !(tpt_trig->active & tpt_trig->want)) in ieee80211_mod_tpt_led_trig()
Diface.c109 bool working, scanning, active; in __ieee80211_recalc_idle() local
114 active = force_active || in __ieee80211_recalc_idle()
129 if (active) in __ieee80211_recalc_idle()
136 if (working || scanning || active) in __ieee80211_recalc_idle()
Dibss.c653 int active = 0; in ieee80211_sta_active_ibss() local
666 active++; in ieee80211_sta_active_ibss()
673 return active; in ieee80211_sta_active_ibss()
/net/can/j1939/
Dtransport.c1076 bool active = false; in j1939_session_deactivate_locked() local
1082 active = true; in j1939_session_deactivate_locked()
1089 return active; in j1939_session_deactivate_locked()
1095 bool active; in j1939_session_deactivate() local
1098 active = j1939_session_deactivate_locked(session); in j1939_session_deactivate()
1101 return active; in j1939_session_deactivate()
1561 struct j1939_session *active = NULL; in j1939_session_activate() local
1566 active = j1939_session_get_by_addr_locked(priv, in j1939_session_activate()
1570 if (active) { in j1939_session_activate()
1571 j1939_session_put(active); in j1939_session_activate()
/net/dccp/
Doutput.c676 void dccp_send_close(struct sock *sk, const int active) in dccp_send_close() argument
680 const gfp_t prio = active ? GFP_KERNEL : GFP_ATOMIC; in dccp_send_close()
693 if (active) { in dccp_send_close()
Ddccp.h313 void dccp_send_close(struct sock *sk, const int active);
/net/netfilter/ipvs/
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/
Dmrp.c610 if (likely(app->active)) in mrp_join_timer()
626 if (likely(app->active)) { in mrp_periodic_timer()
879 app->active = true; in mrp_init_applicant()
909 app->active = false; in mrp_uninit_applicant()
/net/rxrpc/
Dconn_client.c128 atomic_set(&bundle->active, 1); in rxrpc_alloc_bundle()
344 atomic_inc(&bundle->active); in rxrpc_look_up_bundle()
442 atomic_inc(&bundle->active); in rxrpc_add_conn_to_bundle()
943 if (atomic_dec_and_lock(&bundle->active, &local->client_bundles_lock)) { in rxrpc_deactivate_bundle()
Dar-internal.h402 atomic_t active; /* Number of active users */ member
/net/ncsi/
Dncsi-manage.c1868 struct ncsi_channel *nc, *active, *tmp; in ncsi_reset_dev() local
1913 active = NULL; in ncsi_reset_dev()
1919 active = nc; in ncsi_reset_dev()
1928 if (active) in ncsi_reset_dev()
1932 if (!active) { in ncsi_reset_dev()
1942 ndp->active_channel = active; in ncsi_reset_dev()
1943 ndp->active_package = active->package; in ncsi_reset_dev()
/net/core/
Ddev.c2457 bool active = false; in remove_xps_queue_cpu() local
2468 active |= i < 0; in remove_xps_queue_cpu()
2471 return active; in remove_xps_queue_cpu()
2491 bool active = false; in clean_xps_maps() local
2499 active |= remove_xps_queue_cpu(dev, dev_maps, j, offset, count); in clean_xps_maps()
2500 if (!active) in clean_xps_maps()
2598 bool active = false, copy = false; in __netif_set_xps_queue() local
2738 active = true; in __netif_set_xps_queue()
2760 active |= remove_xps_queue(dev_maps, in __netif_set_xps_queue()
2770 if (!active) in __netif_set_xps_queue()
/net/ipv6/
DKconfig299 processing of SRv6 packets based on their active segment.
/net/netfilter/ipset/
Dip_set_core.c559 const void *e, bool active) in ip_set_put_extensions() argument
565 htonl(active ? ip_set_timeout_get(timeout) in ip_set_put_extensions()

12