/linux/net/sched/ |
A D | cls_rsvp.h | 230 s = rtnl_dereference(s->next)) { in rsvp_replace() 259 s = rtnl_dereference(s->next)) { in rsvp_get() 260 for (f = rtnl_dereference(s->ht[h2]); f; in rsvp_get() 261 f = rtnl_dereference(f->next)) { in rsvp_get() 352 for (nfp = rtnl_dereference(*fp); nfp; in rsvp_delete() 366 for (nsp = rtnl_dereference(*sp); nsp; in rsvp_delete() 429 for (s = rtnl_dereference(sht[h1]); s; in tunnel_recycle() 430 s = rtnl_dereference(s->next)) { in tunnel_recycle() 435 f = rtnl_dereference(f->next)) { in tunnel_recycle() 637 for (nsp = rtnl_dereference(*sp); nsp; in rsvp_change() [all …]
|
A D | cls_route.c | 230 b = rtnl_dereference(head->table[h1]); in route4_get() 232 for (f = rtnl_dereference(b->ht[h2]); in route4_get() 234 f = rtnl_dereference(f->next)) in route4_get() 287 b = rtnl_dereference(head->table[h1]); in route4_destroy() 295 next = rtnl_dereference(f->next); in route4_destroy() 329 for (nf = rtnl_dereference(*fp); nf; in route4_delete() 350 rt = rtnl_dereference(b->ht[i]); in route4_delete() 428 b = rtnl_dereference(head->table[h1]); in route4_set_parms() 438 for (fp = rtnl_dereference(b->ht[h2]); in route4_set_parms() 440 fp = rtnl_dereference(fp->next)) in route4_set_parms() [all …]
|
A D | cls_fw.c | 91 struct fw_head *head = rtnl_dereference(tp->root); in fw_get() 97 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get() 98 for (; f; f = rtnl_dereference(f->next)) { in fw_get() 133 struct fw_head *head = rtnl_dereference(tp->root); in fw_destroy() 143 rtnl_dereference(f->next)); in fw_destroy() 157 struct fw_head *head = rtnl_dereference(tp->root); in fw_delete() 169 for (pfp = rtnl_dereference(*fp); pfp; in fw_delete() 204 struct fw_head *head = rtnl_dereference(tp->root); in fw_set_parms() 287 for (pfp = rtnl_dereference(*fp); pfp; in fw_change() 359 for (f = rtnl_dereference(head->ht[h]); f; in fw_walk() [all …]
|
A D | cls_u32.c | 260 ht = rtnl_dereference(ht->next)) in u32_lookup_ht() 276 for (n = rtnl_dereference(ht->ht[sel]); in u32_lookup_key() 278 n = rtnl_dereference(n->next)) in u32_lookup_key() 292 ht = rtnl_dereference(tp->root); in u32_get() 578 rtnl_dereference(n->next)); in u32_clear_hnode() 603 for (phn = rtnl_dereference(*hn); in u32_destroy_hnode() 773 ht = rtnl_dereference(tp->root); in u32_replace_knode() 782 for (pins = rtnl_dereference(*ins); ; in u32_replace_knode() 977 ht = rtnl_dereference(tp->root); in u32_change() 987 ht = rtnl_dereference(tp->root); in u32_change() [all …]
|
A D | cls_tcindex.c | 132 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_get() 200 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_delete() 214 for (f = rtnl_dereference(*walk); f; in tcindex_delete() 503 for (nfp = rtnl_dereference(*fp); in tcindex_set_parms() 505 fp = &nfp->next, nfp = rtnl_dereference(*fp)) in tcindex_set_parms() 581 for (f = rtnl_dereference(p->h[i]); f; f = next) { in tcindex_walk() 582 next = rtnl_dereference(f->next); in tcindex_walk() 627 for (f = rtnl_dereference(p->h[i]); f; f = next) { in tcindex_destroy() 628 next = rtnl_dereference(f->next); in tcindex_destroy() 671 for (f = rtnl_dereference(*fp); in tcindex_dump() [all …]
|
A D | cls_cgroup.c | 83 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_change() 135 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_destroy() 155 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_walk() 173 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_dump()
|
A D | cls_matchall.c | 131 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_destroy() 149 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_get() 188 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_change() 261 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_delete() 271 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_walk() 287 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_reoffload()
|
A D | cls_basic.c | 62 struct basic_head *head = rtnl_dereference(tp->root); in basic_get() 109 struct basic_head *head = rtnl_dereference(tp->root); in basic_destroy() 128 struct basic_head *head = rtnl_dereference(tp->root); in basic_delete() 176 struct basic_head *head = rtnl_dereference(tp->root); in basic_change() 250 struct basic_head *head = rtnl_dereference(tp->root); in basic_walk()
|
A D | cls_bpf.c | 287 struct cls_bpf_head *head = rtnl_dereference(tp->root); in __cls_bpf_delete() 302 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_delete() 312 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_destroy() 324 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_get() 461 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_change() 647 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_walk() 665 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_reoffload()
|
/linux/drivers/net/ |
A D | net_failover.c | 41 primary_dev = rtnl_dereference(nfo_info->primary_dev); in net_failover_open() 48 standby_dev = rtnl_dereference(nfo_info->standby_dev); in net_failover_open() 78 slave_dev = rtnl_dereference(nfo_info->primary_dev); in net_failover_close() 82 slave_dev = rtnl_dereference(nfo_info->standby_dev); in net_failover_close() 221 primary_dev = rtnl_dereference(nfo_info->primary_dev); in net_failover_change_mtu() 228 standby_dev = rtnl_dereference(nfo_info->standby_dev); in net_failover_change_mtu() 337 slave_dev = rtnl_dereference(nfo_info->primary_dev); in nfo_ethtool_get_link_ksettings() 339 slave_dev = rtnl_dereference(nfo_info->standby_dev); in nfo_ethtool_get_link_ksettings() 470 standby_dev = rtnl_dereference(nfo_info->standby_dev); in net_failover_slave_pre_register() 808 slave_dev = rtnl_dereference(nfo_info->primary_dev); in net_failover_destroy() [all …]
|
/linux/net/ipv4/ |
A D | nexthop.c | 408 nhg = rtnl_dereference(nh->nh_grp); in call_nexthop_res_table_notifiers() 725 nhi = rtnl_dereference(nh->nh_info); in nh_fill_node() 1025 nhi = rtnl_dereference(nh->nh_info); in nh_check_attr_fdb_group() 1284 nhg = rtnl_dereference(nh->nh_grp); in fib6_check_nexthop() 1289 nhi = rtnl_dereference(nh->nh_info); in fib6_check_nexthop() 1356 nhg = rtnl_dereference(nh->nh_grp); in fib_check_nexthop() 1744 nhg = rtnl_dereference(nhp->nh_grp); in remove_nh_grp_entry() 3252 nhg = rtnl_dereference(nh->nh_grp); in nexthop_find_group_resilient() 3353 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_nh() 3401 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_cb() [all …]
|
/linux/drivers/net/hyperv/ |
A D | netvsc_drv.c | 199 = rtnl_dereference(net_device_ctx->vf_netdev); in netvsc_close() 1218 vf_netdev = rtnl_dereference(ndc->vf_netdev); in netvsc_get_link_ksettings() 1783 struct netvsc_device *ndev = rtnl_dereference(ndc->nvdev); in netvsc_get_rxfh() 2078 net_device = rtnl_dereference(ndev_ctx->nvdev); in netvsc_link_change() 2170 if (!rtnl_dereference(net_device_ctx->nvdev)) in get_netvsc_byref() 2287 vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_vf_setup() 2358 netvsc_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_register_vf() 2426 netvsc_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_vf_changed() 2615 nvdev = rtnl_dereference(ndev_ctx->nvdev); in netvsc_remove() 2625 vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_remove() [all …]
|
A D | netvsc_bpf.c | 93 return rtnl_dereference(nvdev->chan_table[0].bpf_prog); in netvsc_xdp_get() 171 struct netvsc_device *nvdev = rtnl_dereference(ndevctx->nvdev); in netvsc_bpf() 172 struct net_device *vf_netdev = rtnl_dereference(ndevctx->vf_netdev); in netvsc_bpf()
|
/linux/net/core/ |
A D | netprio_cgroup.c | 47 old = rtnl_dereference(dev->priomap); in extend_netdev_table() 120 map = rtnl_dereference(dev->priomap); in netprio_set_prio() 128 map = rtnl_dereference(dev->priomap); in netprio_set_prio() 277 old = rtnl_dereference(dev->priomap); in netprio_device_event()
|
/linux/net/802/ |
A D | garp.c | 358 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_request_join() 359 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_join() 378 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_request_leave() 379 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_leave() 558 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_release_port() 562 if (rtnl_dereference(port->applicants[i])) in garp_release_port() 576 if (!rtnl_dereference(dev->garp_port)) { in garp_init_applicant() 612 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_uninit_applicant() 613 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_uninit_applicant()
|
A D | mrp.c | 533 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_request_join() 534 struct mrp_applicant *app = rtnl_dereference( in mrp_request_join() 558 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_request_leave() 559 struct mrp_applicant *app = rtnl_dereference( in mrp_request_leave() 839 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_release_port() 843 if (rtnl_dereference(port->applicants[i])) in mrp_release_port() 857 if (!rtnl_dereference(dev->mrp_port)) { in mrp_init_applicant() 895 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_uninit_applicant() 896 struct mrp_applicant *app = rtnl_dereference( in mrp_uninit_applicant()
|
/linux/net/decnet/ |
A D | dn_dev.c | 331 struct dn_ifaddr *ifa1 = rtnl_dereference(*ifap); in dn_dev_del_ifa() 365 for (ifa1 = rtnl_dereference(dn_db->ifa_list); in dn_dev_insert_ifa() 367 ifa1 = rtnl_dereference(ifa1->ifa_next)) { in dn_dev_insert_ifa() 390 struct dn_dev *dn_db = rtnl_dereference(dev->dn_ptr); in dn_dev_set_ifa() 449 if ((dn_db = rtnl_dereference(dev->dn_ptr)) != NULL) { in dn_dev_ioctl() 451 (ifa = rtnl_dereference(*ifap)) != NULL; in dn_dev_ioctl() 551 dn_dev = rtnl_dereference(dev->dn_ptr); in dn_dev_by_index() 593 (ifa = rtnl_dereference(*ifap)) != NULL; in dn_nl_deladdr() 639 if ((dn_db = rtnl_dereference(dev->dn_ptr)) == NULL) { in dn_nl_newaddr() 1142 struct dn_dev *dn_db = rtnl_dereference(dev->dn_ptr); in dn_dev_up() [all …]
|
/linux/drivers/net/can/ |
A D | vxcan.c | 83 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_open() 98 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_close() 262 peer = rtnl_dereference(priv->peer); in vxcan_dellink() 285 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_get_link_net()
|
/linux/net/8021q/ |
A D | vlan_core.c | 238 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_for_each() 327 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_vid_add() 378 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_vid_del() 405 vlan_info = rtnl_dereference(by_dev->vlan_info); in vlan_vids_add_by_dev() 435 vlan_info = rtnl_dereference(by_dev->vlan_info); in vlan_vids_del_by_dev() 450 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_uses_dev()
|
/linux/net/bridge/ |
A D | br_mrp_switchdev.c | 36 .p_port = rtnl_dereference(mrp->p_port)->dev, in br_mrp_switchdev_add() 37 .s_port = rtnl_dereference(mrp->s_port)->dev, in br_mrp_switchdev_add() 150 .i_port = rtnl_dereference(mrp->i_port)->dev, in br_mrp_switchdev_set_in_role()
|
A D | br_mrp.c | 92 p = rtnl_dereference(mrp->p_port); in br_mrp_unique_ifindex() 96 p = rtnl_dereference(mrp->s_port); in br_mrp_unique_ifindex() 100 p = rtnl_dereference(mrp->i_port); in br_mrp_unique_ifindex() 443 p = rtnl_dereference(mrp->i_port); in br_mrp_del_impl() 451 p = rtnl_dereference(mrp->p_port); in br_mrp_del_impl() 463 p = rtnl_dereference(mrp->s_port); in br_mrp_del_impl() 475 p = rtnl_dereference(mrp->i_port); in br_mrp_del_impl() 774 p = rtnl_dereference(mrp->i_port); in br_mrp_set_in_role()
|
A D | br_vlan_tunnel.c | 46 struct metadata_dst *tdst = rtnl_dereference(vlan->tinfo.tunnel_dst); in vlan_tunnel_info_release() 66 struct metadata_dst *metadata = rtnl_dereference(vlan->tinfo.tunnel_dst); in __vlan_tunnel_info_add()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ulp.c | 294 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_stop() 318 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_start() 362 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_shutdown() 383 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_stop() 405 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_restart()
|
/linux/include/linux/ |
A D | rtnetlink.h | 80 #define rtnl_dereference(p) \ macro 85 return rtnl_dereference(dev->ingress_queue); in dev_ingress_queue()
|
A D | inetdevice.h | 221 for (ifa = rtnl_dereference((in_dev)->ifa_list); ifa; \ 222 ifa = rtnl_dereference(ifa->ifa_next)) 247 return rtnl_dereference(dev->ip_ptr); in __in_dev_get_rtnl()
|