/net/unix/ |
D | garbage.c | 159 BUG_ON(!list_empty(&u->link)); in scan_children() 160 list_add_tail(&u->link, &embryos); in scan_children() 165 u = list_entry(embryos.next, struct unix_sock, link); in scan_children() 167 list_del_init(&u->link); in scan_children() 190 list_move_tail(&u->link, &gc_candidates); in inc_inflight_move_tail() 242 list_for_each_entry_safe(u, next, &gc_inflight_list, link) { in unix_gc() 252 list_move_tail(&u->link, &gc_candidates); in unix_gc() 261 list_for_each_entry(u, &gc_candidates, link) in unix_gc() 273 u = list_entry(cursor.next, struct unix_sock, link); in unix_gc() 276 list_move(&cursor, &u->link); in unix_gc() [all …]
|
D | scm.c | 54 BUG_ON(!list_empty(&u->link)); in unix_inflight() 55 list_add_tail(&u->link, &gc_inflight_list); in unix_inflight() 57 BUG_ON(list_empty(&u->link)); in unix_inflight() 76 BUG_ON(list_empty(&u->link)); in unix_notinflight() 79 list_del_init(&u->link); in unix_notinflight()
|
/net/sched/ |
D | sch_atm.c | 62 struct atm_flow_data link; /* unclassified skbs go here */ member 154 if (flow != &p->link) in atm_tc_put() 291 list_add(&flow->list, &p->link.list); in atm_tc_change() 314 if (rcu_access_pointer(flow->filter_list) || flow == &p->link) in atm_tc_delete() 355 return flow ? &flow->filter_list : &p->link.filter_list; in atm_tc_find_tcf() 392 flow = &p->link; in atm_tc_enqueue() 435 if (flow == &p->link) { in atm_tc_enqueue() 459 if (flow == &p->link) in sch_atm_dequeue() 507 skb = qdisc_dequeue_peeked(p->link.q); in atm_tc_dequeue() 519 return p->link.q->ops->peek(p->link.q); in atm_tc_peek() [all …]
|
D | sch_cbq.c | 149 struct cbq_class link; member 220 struct cbq_class *head = &q->link; in cbq_classify() 705 now = q->now + L2T(&q->link, len); in cbq_update() 762 idle -= L2T(&q->link, len); in cbq_update() 986 q->link.undertime == PSCHED_PASTPERFECT) in cbq_dequeue() 990 q->link.undertime = PSCHED_PASTPERFECT; in cbq_dequeue() 1379 if ((q->link.R_tab = qdisc_get_rtab(r, tb[TCA_CBQ_RTAB])) == NULL) in cbq_init() 1386 q->link.refcnt = 1; in cbq_init() 1387 q->link.sibling = &q->link; in cbq_init() 1388 q->link.common.classid = sch->handle; in cbq_init() [all …]
|
D | cls_basic.c | 36 struct list_head link; member 47 list_for_each_entry_rcu(f, &head->flist, link) { in basic_classify() 65 list_for_each_entry(f, &head->flist, link) { in basic_get() 104 list_for_each_entry_safe(f, n, &head->flist, link) { in basic_destroy() 105 list_del_rcu(&f->link); in basic_destroy() 117 list_del_rcu(&f->link); in basic_delete() 216 list_replace_rcu(&fold->link, &fnew->link); in basic_change() 220 list_add_rcu(&fnew->link, &head->flist); in basic_change() 234 list_for_each_entry(f, &head->flist, link) { in basic_walk()
|
D | cls_bpf.c | 39 struct list_head link; member 95 list_for_each_entry_rcu(prog, &head->plist, link) { in cls_bpf_classify() 184 list_del_rcu(&prog->link); in cls_bpf_delete() 199 list_for_each_entry_safe(prog, tmp, &head->plist, link) { in cls_bpf_destroy() 200 list_del_rcu(&prog->link); in cls_bpf_destroy() 215 list_for_each_entry(prog, &head->plist, link) { in cls_bpf_get() 417 list_replace_rcu(&oldprog->link, &prog->link); in cls_bpf_change() 421 list_add_rcu(&prog->link, &head->plist); in cls_bpf_change() 516 list_for_each_entry(prog, &head->plist, link) { in cls_bpf_walk()
|
D | em_u32.c | 46 .link = LIST_HEAD_INIT(em_u32_ops.link)
|
D | em_cmp.c | 81 .link = LIST_HEAD_INIT(em_cmp_ops.link)
|
D | em_nbyte.c | 62 .link = LIST_HEAD_INIT(em_nbyte_ops.link)
|
/net/rxrpc/ |
D | ar-transport.c | 46 INIT_LIST_HEAD(&trans->link); in rxrpc_alloc_transport() 94 list_for_each_entry(trans, &rxrpc_transports, link) { in rxrpc_get_transport() 110 list_for_each_entry(trans, &rxrpc_transports, link) { in rxrpc_get_transport() 122 list_add_tail(&trans->link, &rxrpc_transports); in rxrpc_get_transport() 167 list_for_each_entry(trans, &rxrpc_transports, link) { in rxrpc_find_transport() 234 list_for_each_entry_safe(trans, _p, &rxrpc_transports, link) { in rxrpc_transport_reaper() 244 list_move_tail(&trans->link, &graveyard); in rxrpc_transport_reaper() 260 link); in rxrpc_transport_reaper() 261 list_del_init(&trans->link); in rxrpc_transport_reaper()
|
D | ar-peer.c | 71 INIT_LIST_HEAD(&peer->link); in rxrpc_alloc_peer() 120 list_for_each_entry(peer, &rxrpc_peers, link) { in rxrpc_get_peer() 147 list_for_each_entry(peer, &rxrpc_peers, link) { in rxrpc_get_peer() 162 list_add_tail(&peer->link, &rxrpc_peers); in rxrpc_get_peer() 208 list_for_each_entry(peer, &rxrpc_peers, link) { in rxrpc_find_peer() 267 list_del(&peer->link); in rxrpc_destroy_peer()
|
D | ar-security.c | 52 list_for_each_entry(sec, &rxrpc_security_methods, link) { in rxrpc_security_lookup() 82 list_for_each_entry(psec, &rxrpc_security_methods, link) { in rxrpc_register_security() 87 list_add(&sec->link, &rxrpc_security_methods); in rxrpc_register_security() 112 list_del_init(&sec->link); in rxrpc_unregister_security()
|
/net/tipc/ |
D | node.c | 107 kfree(n->bc_entry.link); in tipc_node_kref_release() 182 &n_ptr->bc_entry.link)) { in tipc_node_create() 306 if (le->link) { in tipc_node_timeout() 308 tipc_node_calculate_timer(n, le->link); in tipc_node_timeout() 309 rc = tipc_link_timeout(le->link, &xmitq); in tipc_node_timeout() 330 struct tipc_link *nl = n->links[bearer_id].link; in __tipc_node_link_up() 406 l = n->links[*bearer_id].link; in __tipc_node_link_down() 423 _l = n->links[i].link; in __tipc_node_link_down() 470 struct tipc_link *l = le->link; in tipc_node_link_down() 484 le->link = NULL; in tipc_node_link_down() [all …]
|
D | link.c | 265 struct tipc_link **link) in tipc_link_create() argument 273 *link = l; in tipc_link_create() 328 struct tipc_link **link) in tipc_link_bc_create() argument 334 NULL, inputq, namedq, link)) in tipc_link_bc_create() 337 l = *link; in tipc_link_bc_create() 612 static int link_schedule_user(struct tipc_link *link, struct sk_buff_head *list) in link_schedule_user() argument 617 u32 addr = link_own_addr(link); in link_schedule_user() 622 pr_warn("%s<%s>, send queue full", link_rst_msg, link->name); in link_schedule_user() 636 skb_queue_tail(&link->wakeupq, skb); in link_schedule_user() 637 link->stats.link_congs++; in link_schedule_user() [all …]
|
D | netlink_compat.c | 510 struct nlattr *link[TIPC_NLA_LINK_MAX + 1]; in tipc_nl_compat_link_stat_dump() local 515 nla_parse_nested(link, TIPC_NLA_LINK_MAX, attrs[TIPC_NLA_LINK], NULL); in tipc_nl_compat_link_stat_dump() 517 nla_parse_nested(prop, TIPC_NLA_PROP_MAX, link[TIPC_NLA_LINK_PROP], in tipc_nl_compat_link_stat_dump() 520 nla_parse_nested(stats, TIPC_NLA_STATS_MAX, link[TIPC_NLA_LINK_STATS], in tipc_nl_compat_link_stat_dump() 533 if (strcmp(name, nla_data(link[TIPC_NLA_LINK_NAME])) != 0) in tipc_nl_compat_link_stat_dump() 537 nla_data(link[TIPC_NLA_LINK_NAME])); in tipc_nl_compat_link_stat_dump() 539 if (link[TIPC_NLA_LINK_BROADCAST]) { in tipc_nl_compat_link_stat_dump() 544 if (link[TIPC_NLA_LINK_ACTIVE]) in tipc_nl_compat_link_stat_dump() 546 else if (link[TIPC_NLA_LINK_UP]) in tipc_nl_compat_link_stat_dump() 552 nla_get_u32(link[TIPC_NLA_LINK_MTU]), in tipc_nl_compat_link_stat_dump() [all …]
|
D | node.h | 71 struct tipc_link *link; member 78 struct tipc_link *link; member 168 return n->links[bearer_id].link; in node_active_link()
|
D | bcast.c | 59 struct tipc_link *link; member 81 int all_dests = tipc_link_bc_peers(bb->link); in tipc_bcbase_select_primary() 94 if (mtu < tipc_link_mtu(bb->link)) in tipc_bcbase_select_primary() 95 tipc_link_set_mtu(bb->link, mtu); in tipc_bcbase_select_primary() 524 bb->link = l; in tipc_bcast_init() 537 msg_set_prevnode(b->link->pmsg, tipc_own_addr(net)); in tipc_bcast_reinit()
|
/net/ipv4/ |
D | ip_tunnel.c | 97 int link, __be16 flags, in ip_tunnel_lookup() argument 118 if (t->parms.link == link) in ip_tunnel_lookup() 133 if (t->parms.link == link) in ip_tunnel_lookup() 153 if (t->parms.link == link) in ip_tunnel_lookup() 166 if (t->parms.link == link) in ip_tunnel_lookup() 230 int link = parms->link; in ip_tunnel_find() local 237 link == t->parms.link && in ip_tunnel_find() 324 RT_TOS(iph->tos), tunnel->parms.link); in ip_tunnel_bind_dev() 337 if (!tdev && tunnel->parms.link) in ip_tunnel_bind_dev() 338 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); in ip_tunnel_bind_dev() [all …]
|
/net/hsr/ |
D | hsr_netlink.c | 37 struct net_device *link[2]; in hsr_newlink() local 48 link[0] = __dev_get_by_index(src_net, nla_get_u32(data[IFLA_HSR_SLAVE1])); in hsr_newlink() 53 link[1] = __dev_get_by_index(src_net, nla_get_u32(data[IFLA_HSR_SLAVE2])); in hsr_newlink() 55 if (!link[0] || !link[1]) in hsr_newlink() 57 if (link[0] == link[1]) in hsr_newlink() 65 return hsr_dev_finalize(dev, link, multicast_spec); in hsr_newlink()
|
/net/ipv6/ |
D | ip6_gre.c | 120 int link = dev->ifindex; in ip6gre_tunnel_lookup() local 142 if (t->parms.link != link) in ip6gre_tunnel_lookup() 166 if (t->parms.link != link) in ip6gre_tunnel_lookup() 192 if (t->parms.link != link) in ip6gre_tunnel_lookup() 215 if (t->parms.link != link) in ip6gre_tunnel_lookup() 292 int link = parms->link; in ip6gre_tunnel_find() local 303 link == t->parms.link && in ip6gre_tunnel_find() 958 fl6->flowi6_oif = p->link; in ip6gre_tnl_link_config() 992 p->link, strict); in ip6gre_tnl_link_config() 1022 t->parms.link = p->link; in ip6gre_tnl_change() [all …]
|
D | sit.c | 104 (!dev || !t->parms.link || dev->ifindex == t->parms.link) && in ipip6_tunnel_lookup() 110 (!dev || !t->parms.link || dev->ifindex == t->parms.link) && in ipip6_tunnel_lookup() 116 (!dev || !t->parms.link || dev->ifindex == t->parms.link) && in ipip6_tunnel_lookup() 235 parms->link == t->parms.link) { in ipip6_tunnel_locate() 563 t->parms.link, 0, iph->protocol, 0); in ipip6_err() 568 ipv4_redirect(skb, dev_net(skb->dev), t->parms.link, 0, in ipip6_err() 903 tunnel->parms.link); in ipip6_tunnel_xmit() 1065 tunnel->parms.link); in ipip6_tunnel_bind_dev() 1074 if (!tdev && tunnel->parms.link) in ipip6_tunnel_bind_dev() 1075 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); in ipip6_tunnel_bind_dev() [all …]
|
D | ip6_tunnel.c | 734 (!((ltype|rtype) & IPV6_ADDR_LINKLOCAL) || p->link)) { in ip6_tnl_get_cap() 758 if (p->link) in ip6_tnl_rcv_ctl() 759 ldev = dev_get_by_index_rcu(net, p->link); in ip6_tnl_rcv_ctl() 916 if (p->link) in ip6_tnl_xmit_ctl() 917 ldev = dev_get_by_index_rcu(net, p->link); in ip6_tnl_xmit_ctl() 1246 fl6->flowi6_oif = p->link; in ip6_tnl_link_config() 1268 p->link, strict); in ip6_tnl_link_config() 1306 t->parms.link = p->link; in ip6_tnl_change() 1344 p->link = u->link; in ip6_tnl_parm_from_user() 1358 u->link = p->link; in ip6_tnl_parm_to_user() [all …]
|
/net/irda/ |
D | irlmp.c | 337 struct lap_cb *link; in irlmp_unregister_link() local 342 link = hashbin_remove(irlmp->links, saddr, NULL); in irlmp_unregister_link() 343 if (link) { in irlmp_unregister_link() 344 IRDA_ASSERT(link->magic == LMP_LAP_MAGIC, return;); in irlmp_unregister_link() 347 link->reason = LAP_DISC_INDICATION; in irlmp_unregister_link() 348 link->daddr = DEV_ADDR_ANY; in irlmp_unregister_link() 349 irlmp_do_lap_event(link, LM_LAP_DISCONNECT_INDICATION, NULL); in irlmp_unregister_link() 352 irlmp_expire_discoveries(irlmp->cachelog, link->saddr, TRUE); in irlmp_unregister_link() 355 del_timer(&link->idle_timer); in irlmp_unregister_link() 356 link->magic = 0; in irlmp_unregister_link() [all …]
|
/net/nfc/hci/ |
D | Kconfig | 13 bool "SHDLC link layer for HCI based NFC drivers" 16 Say yes if you use an NFC HCI driver that requires SHDLC link layer.
|
/net/nfc/nci/ |
D | Kconfig | 21 Say yes if you use an NCI driver that requires SPI link layer. 28 Say yes if you use an NCI driver that requires UART link layer.
|