Home
last modified time | relevance | path

Searched refs:rtnl_dereference (Results 1 – 25 of 90) sorted by relevance

1234

/linux/net/sched/
A Dcls_rsvp.h230 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 Dcls_route.c230 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 Dcls_fw.c91 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 Dcls_u32.c260 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 Dcls_tcindex.c132 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 Dcls_cgroup.c83 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 Dcls_matchall.c131 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 Dcls_basic.c62 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 Dcls_bpf.c287 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 Dnet_failover.c41 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 Dnexthop.c408 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 Dnetvsc_drv.c199 = 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 Dnetvsc_bpf.c93 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 Dnetprio_cgroup.c47 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 Dgarp.c358 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 Dmrp.c533 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 Ddn_dev.c331 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 Dvxcan.c83 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 Dvlan_core.c238 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 Dbr_mrp_switchdev.c36 .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 Dbr_mrp.c92 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 Dbr_vlan_tunnel.c46 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 Dbnxt_ulp.c294 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 Drtnetlink.h80 #define rtnl_dereference(p) \ macro
85 return rtnl_dereference(dev->ingress_queue); in dev_ingress_queue()
A Dinetdevice.h221 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()

Completed in 59 milliseconds

1234