/net/tipc/ |
D | subscr.c | 42 static void tipc_sub_send_event(struct tipc_subscription *sub, in tipc_sub_send_event() argument 46 struct tipc_subscr *s = &sub->evt.s; in tipc_sub_send_event() 47 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event() 49 if (sub->inactive) in tipc_sub_send_event() 63 tipc_topsrv_queue_evt(sub->net, sub->conid, event, evt); in tipc_sub_send_event() 86 void tipc_sub_report_overlap(struct tipc_subscription *sub, in tipc_sub_report_overlap() argument 90 struct tipc_service_range *sr = &sub->s.seq; in tipc_sub_report_overlap() 91 u32 filter = sub->s.filter; in tipc_sub_report_overlap() 101 spin_lock(&sub->lock); in tipc_sub_report_overlap() 102 tipc_sub_send_event(sub, p, event); in tipc_sub_report_overlap() [all …]
|
D | name_table.c | 334 struct tipc_subscription *sub, *tmp; in tipc_service_insert_publ() local 365 list_for_each_entry_safe(sub, tmp, &sc->subscriptions, service_list) { in tipc_service_insert_publ() 366 tipc_sub_report_overlap(sub, p, TIPC_PUBLISHED, first); in tipc_service_insert_publ() 422 struct tipc_subscription *sub) in tipc_service_subscribe() argument 429 filter = sub->s.filter; in tipc_service_subscribe() 430 lower = sub->s.seq.lower; in tipc_service_subscribe() 431 upper = sub->s.seq.upper; in tipc_service_subscribe() 433 tipc_sub_get(sub); in tipc_service_subscribe() 434 list_add(&sub->service_list, &service->subscriptions); in tipc_service_subscribe() 456 tipc_sub_report_overlap(sub, p, TIPC_PUBLISHED, true); in tipc_service_subscribe() [all …]
|
D | topsrv.c | 235 struct tipc_subscription *sub, *tmp; in tipc_conn_delete_sub() local 238 list_for_each_entry_safe(sub, tmp, sub_list, sub_list) { in tipc_conn_delete_sub() 239 if (!s || !memcmp(s, &sub->evt.s, sizeof(*s))) { in tipc_conn_delete_sub() 240 tipc_sub_unsubscribe(sub); in tipc_conn_delete_sub() 366 struct tipc_subscription *sub; in tipc_conn_rcv_sub() local 378 sub = tipc_sub_subscribe(srv->net, s, con->conid); in tipc_conn_rcv_sub() 379 if (!sub) in tipc_conn_rcv_sub() 383 list_add(&sub->sub_list, &con->sub_list); in tipc_conn_rcv_sub() 576 struct tipc_subscr sub; in tipc_topsrv_kern_subscr() local 580 sub.seq.type = type; in tipc_topsrv_kern_subscr() [all …]
|
D | subscr.h | 79 void tipc_sub_unsubscribe(struct tipc_subscription *sub); 80 void tipc_sub_report_overlap(struct tipc_subscription *sub,
|
/net/ceph/ |
D | mon_client.c | 420 static bool __ceph_monc_want_map(struct ceph_mon_client *monc, int sub, in __ceph_monc_want_map() argument 426 dout("%s %s epoch %u continuous %d\n", __func__, ceph_sub_str[sub], in __ceph_monc_want_map() 429 if (monc->subs[sub].want && in __ceph_monc_want_map() 430 monc->subs[sub].item.start == start && in __ceph_monc_want_map() 431 monc->subs[sub].item.flags == flags) in __ceph_monc_want_map() 434 monc->subs[sub].item.start = start; in __ceph_monc_want_map() 435 monc->subs[sub].item.flags = flags; in __ceph_monc_want_map() 436 monc->subs[sub].want = true; in __ceph_monc_want_map() 441 bool ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, in ceph_monc_want_map() argument 447 need_request = __ceph_monc_want_map(monc, sub, epoch, continuous); in ceph_monc_want_map() [all …]
|
/net/batman-adv/ |
D | bat_v.c | 344 int sub = 0; in batadv_v_orig_dump_entry() local 352 if (sub++ < *sub_s) in batadv_v_orig_dump_entry() 362 *sub_s = sub - 1; in batadv_v_orig_dump_entry() 391 struct hlist_head *head, int *idx_s, int *sub) in batadv_v_orig_dump_bucket() argument 402 if_outgoing, orig_node, sub)) { in batadv_v_orig_dump_bucket() 411 *sub = 0; in batadv_v_orig_dump_bucket() 431 int sub = cb->args[2]; in batadv_v_orig_dump() local 440 &sub)) in batadv_v_orig_dump() 448 cb->args[2] = sub; in batadv_v_orig_dump()
|
D | bat_iv_ogm.c | 1883 int sub = 0; in batadv_iv_ogm_orig_dump_entry() local 1899 if (sub++ < *sub_s) in batadv_iv_ogm_orig_dump_entry() 1910 *sub_s = sub - 1; in batadv_iv_ogm_orig_dump_entry() 1940 struct hlist_head *head, int *idx_s, int *sub) in batadv_iv_ogm_orig_dump_bucket() argument 1952 sub)) { in batadv_iv_ogm_orig_dump_bucket() 1961 *sub = 0; in batadv_iv_ogm_orig_dump_bucket() 1981 int sub = cb->args[2]; in batadv_iv_ogm_orig_dump() local 1990 &idx, &sub)) in batadv_iv_ogm_orig_dump() 1998 cb->args[2] = sub; in batadv_iv_ogm_orig_dump()
|
D | translation-table.c | 1869 int sub = 0; in batadv_tt_global_dump_entry() local 1877 if (sub++ < *sub_s) in batadv_tt_global_dump_entry() 1884 *sub_s = sub - 1; in batadv_tt_global_dump_entry() 1908 struct hlist_head *head, int *idx_s, int *sub) in batadv_tt_global_dump_bucket() argument 1919 common, sub)) { in batadv_tt_global_dump_bucket() 1928 *sub = 0; in batadv_tt_global_dump_bucket() 1951 int sub = cb->args[2]; in batadv_tt_global_dump() local 1979 head, &idx, &sub)) in batadv_tt_global_dump() 1993 cb->args[2] = sub; in batadv_tt_global_dump()
|
/net/xfrm/ |
D | Kconfig | 51 bool "Transformation sub policy support" 54 Support sub policy for developers. By using sub policy with main 56 Policy which lives shorter time in kernel should be a sub.
|
/net/wireless/ |
D | scan.c | 310 const struct element *non_inherit_elem, *parent, *sub; in cfg80211_gen_new_ie() local 341 sub = cfg80211_find_elem_match(id, subie, subie_len, in cfg80211_gen_new_ie() 345 if (!sub && in cfg80211_gen_new_ie() 362 while (sub) { in cfg80211_gen_new_ie() 363 if (!cfg80211_copy_elem_with_frags(sub, in cfg80211_gen_new_ie() 369 sub = cfg80211_find_elem_match(id, in cfg80211_gen_new_ie() 370 sub->data + sub->datalen, in cfg80211_gen_new_ie() 372 (sub->data + in cfg80211_gen_new_ie() 373 sub->datalen), in cfg80211_gen_new_ie() 382 for_each_element(sub, subie, subie_len) { in cfg80211_gen_new_ie() [all …]
|
/net/mac80211/ |
D | util.c | 1414 const struct element *elem, *sub; in ieee802_11_find_bssid_profile() local 1427 for_each_element(sub, elem->data + 1, elem->datalen - 1) { in ieee802_11_find_bssid_profile() 1431 if (sub->id != 0 || sub->datalen < 4) { in ieee802_11_find_bssid_profile() 1436 if (sub->data[0] != WLAN_EID_NON_TX_BSSID_CAP || in ieee802_11_find_bssid_profile() 1437 sub->data[1] != 2) { in ieee802_11_find_bssid_profile() 1449 sub, in ieee802_11_find_bssid_profile() 1483 const struct element *sub; in ieee80211_mle_get_sta_prof() local 1492 for_each_mle_subelement(sub, (u8 *)ml, ml_len) { in ieee80211_mle_get_sta_prof() 1493 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mle_get_sta_prof() 1497 if (sub->id != IEEE80211_MLE_SUBELEM_PER_STA_PROFILE) in ieee80211_mle_get_sta_prof() [all …]
|
D | mlme.c | 5808 const struct element *sub; in ieee80211_ml_reconfiguration() local 5835 for_each_mle_subelement(sub, (u8 *)ml, ml_len) { in ieee80211_ml_reconfiguration() 5836 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_ml_reconfiguration() 5840 if (sub->id != IEEE80211_MLE_SUBELEM_PER_STA_PROFILE) in ieee80211_ml_reconfiguration() 5843 if (!ieee80211_mle_reconf_sta_prof_size_ok(sub->data, in ieee80211_ml_reconfiguration() 5844 sub->datalen)) in ieee80211_ml_reconfiguration()
|
/net/tls/ |
D | tls_sw.c | 162 int sub = 0; in tls_padding_length() local 179 sub++; in tls_padding_length() 184 return sub; in tls_padding_length()
|
/net/netfilter/ |
D | Kconfig | 242 connection tracking and natting code to allow the sub-channels that
|