/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 | 234 struct tipc_subscription *sub, *tmp; in tipc_conn_delete_sub() local 237 list_for_each_entry_safe(sub, tmp, sub_list, sub_list) { in tipc_conn_delete_sub() 238 if (!s || !memcmp(s, &sub->evt.s, sizeof(*s))) { in tipc_conn_delete_sub() 239 tipc_sub_unsubscribe(sub); in tipc_conn_delete_sub() 365 struct tipc_subscription *sub; in tipc_conn_rcv_sub() local 377 sub = tipc_sub_subscribe(srv->net, s, con->conid); in tipc_conn_rcv_sub() 378 if (!sub) in tipc_conn_rcv_sub() 382 list_add(&sub->sub_list, &con->sub_list); in tipc_conn_rcv_sub() 571 struct tipc_subscr sub; in tipc_topsrv_kern_subscr() local 575 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 | 1884 int sub = 0; in batadv_iv_ogm_orig_dump_entry() local 1900 if (sub++ < *sub_s) in batadv_iv_ogm_orig_dump_entry() 1911 *sub_s = sub - 1; in batadv_iv_ogm_orig_dump_entry() 1941 struct hlist_head *head, int *idx_s, int *sub) in batadv_iv_ogm_orig_dump_bucket() argument 1953 sub)) { in batadv_iv_ogm_orig_dump_bucket() 1962 *sub = 0; in batadv_iv_ogm_orig_dump_bucket() 1982 int sub = cb->args[2]; in batadv_iv_ogm_orig_dump() local 1991 &idx, &sub)) in batadv_iv_ogm_orig_dump() 1999 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 | 2237 const struct element *elem, *sub; in cfg80211_parse_mbssid_data() local 2269 for_each_element(sub, elem->data + 1, elem->datalen - 1) { in cfg80211_parse_mbssid_data() 2272 if (sub->id != 0 || sub->datalen < 4) { in cfg80211_parse_mbssid_data() 2277 if (sub->data[0] != WLAN_EID_NON_TX_BSSID_CAP || in cfg80211_parse_mbssid_data() 2278 sub->data[1] != 2) { in cfg80211_parse_mbssid_data() 2289 sub, in cfg80211_parse_mbssid_data()
|
/net/mac80211/ |
D | util.c | 1403 const struct element *elem, *sub; in ieee802_11_find_bssid_profile() local 1416 for_each_element(sub, elem->data + 1, elem->datalen - 1) { in ieee802_11_find_bssid_profile() 1420 if (sub->id != 0 || sub->datalen < 4) { in ieee802_11_find_bssid_profile() 1425 if (sub->data[0] != WLAN_EID_NON_TX_BSSID_CAP || in ieee802_11_find_bssid_profile() 1426 sub->data[1] != 2) { in ieee802_11_find_bssid_profile() 1438 sub, in ieee802_11_find_bssid_profile()
|
/net/tls/ |
D | tls_sw.c | 135 int sub = 0; in padding_length() local 153 sub++; in padding_length() 158 return sub; in padding_length()
|
/net/netfilter/ |
D | Kconfig | 226 connection tracking and natting code to allow the sub-channels that
|