/linux-6.12.1/net/sched/ |
D | cls_route.c | 219 struct route4_head *head = rtnl_dereference(tp->root); in route4_get() 232 b = rtnl_dereference(head->table[h1]); in route4_get() 234 for (f = rtnl_dereference(b->ht[h2]); in route4_get() 236 f = rtnl_dereference(f->next)) in route4_get() 280 struct route4_head *head = rtnl_dereference(tp->root); in route4_destroy() 289 b = rtnl_dereference(head->table[h1]); in route4_destroy() 294 while ((f = rtnl_dereference(b->ht[h2])) != NULL) { in route4_destroy() 297 next = rtnl_dereference(f->next); in route4_destroy() 316 struct route4_head *head = rtnl_dereference(tp->root); in route4_delete() 331 for (nf = rtnl_dereference(*fp); nf; in route4_delete() [all …]
|
D | cls_fw.c | 93 struct fw_head *head = rtnl_dereference(tp->root); in fw_get() 99 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get() 100 for (; f; f = rtnl_dereference(f->next)) { in fw_get() 135 struct fw_head *head = rtnl_dereference(tp->root); in fw_destroy() 143 while ((f = rtnl_dereference(head->ht[h])) != NULL) { in fw_destroy() 145 rtnl_dereference(f->next)); in fw_destroy() 159 struct fw_head *head = rtnl_dereference(tp->root); in fw_delete() 171 for (pfp = rtnl_dereference(*fp); pfp; in fw_delete() 172 fp = &pfp->next, pfp = rtnl_dereference(*fp)) { in fw_delete() 174 RCU_INIT_POINTER(*fp, rtnl_dereference(f->next)); in fw_delete() [all …]
|
D | cls_u32.c | 270 for (ht = rtnl_dereference(tp_c->hlist); in u32_lookup_ht() 272 ht = rtnl_dereference(ht->next)) in u32_lookup_ht() 288 for (n = rtnl_dereference(ht->ht[sel]); in u32_lookup_key() 290 n = rtnl_dereference(n->next)) in u32_lookup_key() 304 ht = rtnl_dereference(tp->root); in u32_get() 405 struct tc_u_hnode *ht = rtnl_dereference(n->ht_down); in __u32_destroy_key() 467 struct tc_u_hnode *ht = rtnl_dereference(key->ht_up); in u32_delete_key() 471 for (pkp = rtnl_dereference(*kp); pkp; in u32_delete_key() 472 kp = &pkp->next, pkp = rtnl_dereference(*kp)) { in u32_delete_key() 550 struct tc_u_hnode *ht = rtnl_dereference(n->ht_down); in u32_replace_hw_knode() [all …]
|
D | cls_cgroup.c | 85 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_change() 137 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_destroy() 157 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_walk() 175 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_dump()
|
D | sch_generic.c | 1075 qdisc_put_stab(rtnl_dereference(qdisc->stab)); in __qdisc_destroy() 1135 struct Qdisc *oqdisc = rtnl_dereference(dev_queue->qdisc_sleeping); in dev_graft_qdisc() 1157 struct Qdisc *qdisc = rtnl_dereference(dev_queue->qdisc_sleeping); in shutdown_scheduler_queue() 1199 qdisc = rtnl_dereference(txq->qdisc_sleeping); in attach_default_qdiscs() 1209 qdisc = rtnl_dereference(dev->qdisc); in attach_default_qdiscs() 1218 qdisc = rtnl_dereference(txq->qdisc_sleeping); in attach_default_qdiscs() 1234 struct Qdisc *new_qdisc = rtnl_dereference(dev_queue->qdisc_sleeping); in transition_one_qdisc() 1256 if (rtnl_dereference(dev->qdisc) == &noop_qdisc) in dev_activate() 1290 qdisc = rtnl_dereference(dev_queue->qdisc); in dev_deactivate_queue() 1304 qdisc = rtnl_dereference(dev_queue->qdisc_sleeping); in dev_reset_queue() [all …]
|
D | cls_matchall.c | 130 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_destroy() 148 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_get() 168 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_change() 250 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_delete() 260 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_walk() 276 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_reoffload()
|
D | cls_basic.c | 64 struct basic_head *head = rtnl_dereference(tp->root); in basic_get() 111 struct basic_head *head = rtnl_dereference(tp->root); in basic_destroy() 130 struct basic_head *head = rtnl_dereference(tp->root); in basic_delete() 178 struct basic_head *head = rtnl_dereference(tp->root); in basic_change() 252 struct basic_head *head = rtnl_dereference(tp->root); in basic_walk()
|
D | sch_mq.c | 144 qdisc = rtnl_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in mq_dump() 205 return rtnl_dereference(dev_queue->qdisc_sleeping); in mq_leaf() 224 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mq_dump_class() 233 sch = rtnl_dereference(dev_queue->qdisc_sleeping); in mq_dump_class_stats()
|
D | cls_bpf.c | 291 struct cls_bpf_head *head = rtnl_dereference(tp->root); in __cls_bpf_delete() 306 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_delete() 316 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_destroy() 328 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_get() 415 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_change() 641 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_walk() 653 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_reoffload()
|
D | sch_api.c | 306 q = qdisc_match_from_root(rtnl_dereference(dev->qdisc), handle); in qdisc_lookup() 312 rtnl_dereference(dev_ingress_queue(dev)->qdisc_sleeping), in qdisc_lookup() 957 stab = rtnl_dereference(q->stab); in tc_fill_qdisc() 1123 q = rtnl_dereference(dev_queue->qdisc_sleeping); in qdisc_graft() 1167 old = rtnl_dereference(dev->qdisc); in qdisc_graft() 1395 qdisc_put_stab(rtnl_dereference(sch->stab)); in qdisc_create() 1433 ostab = rtnl_dereference(sch->stab); in qdisc_change() 1540 q = rtnl_dereference(dev_ingress_queue(dev)->qdisc_sleeping); in tc_get_qdisc() 1543 q = rtnl_dereference(dev->qdisc); in tc_get_qdisc() 1644 q = rtnl_dereference(dev_ingress_queue(dev)->qdisc_sleeping); in tc_modify_qdisc() [all …]
|
D | sch_ingress.c | 116 struct bpf_mprog_entry *entry = rtnl_dereference(dev->tcx_ingress); in ingress_destroy() 295 struct bpf_mprog_entry *ingress_entry = rtnl_dereference(dev->tcx_ingress); in clsact_destroy() 296 struct bpf_mprog_entry *egress_entry = rtnl_dereference(dev->tcx_egress); in clsact_destroy()
|
/linux-6.12.1/drivers/net/ |
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() 217 primary_dev = rtnl_dereference(nfo_info->primary_dev); in net_failover_change_mtu() 224 standby_dev = rtnl_dereference(nfo_info->standby_dev); in net_failover_change_mtu() 333 slave_dev = rtnl_dereference(nfo_info->primary_dev); in nfo_ethtool_get_link_ksettings() 335 slave_dev = rtnl_dereference(nfo_info->standby_dev); in nfo_ethtool_get_link_ksettings() 466 standby_dev = rtnl_dereference(nfo_info->standby_dev); in net_failover_slave_pre_register() 467 primary_dev = rtnl_dereference(nfo_info->primary_dev); in net_failover_slave_pre_register() [all …]
|
/linux-6.12.1/drivers/net/vxlan/ |
D | vxlan_multicast.c | 26 struct vxlan_sock *sock4 = rtnl_dereference(vxlan->vn4_sock); in vxlan_igmp_join() 38 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_join() 60 struct vxlan_sock *sock4 = rtnl_dereference(vxlan->vn4_sock); in vxlan_igmp_leave() 72 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_leave() 103 struct vxlan_vni_group *vg = rtnl_dereference(vxlan->vnigrp); in vxlan_group_used_by_vnifilter() 137 sock4 = rtnl_dereference(dev->vn4_sock); in vxlan_group_used() 146 sock6 = rtnl_dereference(dev->vn6_sock); in vxlan_group_used() 156 rtnl_dereference(vxlan->vn4_sock) != sock4) in vxlan_group_used() 160 rtnl_dereference(vxlan->vn6_sock) != sock6) in vxlan_group_used() 181 struct vxlan_vni_group *vg = rtnl_dereference(vxlan->vnigrp); in vxlan_multicast_join_vnigrp() [all …]
|
D | vxlan_vnifilter.c | 59 vs = rtnl_dereference(vxlan->vn6_sock); in vxlan_vs_add_del_vninode() 65 vs = rtnl_dereference(vxlan->vn4_sock); in vxlan_vs_add_del_vninode() 79 struct vxlan_vni_group *vg = rtnl_dereference(vxlan->vnigrp); in vxlan_vs_add_vnigrp() 102 struct vxlan_vni_group *vg = rtnl_dereference(vxlan->vnigrp); in vxlan_vs_del_vnigrp() 597 vg = rtnl_dereference(vxlan->vnigrp); in vxlan_vnilist_update_group() 783 vg = rtnl_dereference(vxlan->vnigrp); in vxlan_vni_del() 821 vg = rtnl_dereference(vxlan->vnigrp); in vxlan_vni_add_del() 906 vg = rtnl_dereference(vxlan->vnigrp); in vxlan_vnigroup_uninit()
|
/linux-6.12.1/net/ipv4/ |
D | nexthop.c | 116 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in nh_notifier_single_info_init() 153 nhi = rtnl_dereference(nhge->nh->nh_info); in nh_notifier_mpath_info_init() 165 struct nh_res_table *res_table = rtnl_dereference(nhg->res_table); in nh_notifier_res_table_info_init() 185 nhge = rtnl_dereference(bucket->nh_entry); in nh_notifier_res_table_info_init() 186 nhi = rtnl_dereference(nhge->nh->nh_info); in nh_notifier_res_table_info_init() 197 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_init() 209 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_fini() 424 nhg = rtnl_dereference(nh->nh_grp); in call_nexthop_res_table_notifiers() 647 struct nh_res_table *res_table = rtnl_dereference(nhg->res_table); in nla_put_nh_group_res() 713 nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_hw_stats_init() [all …]
|
/linux-6.12.1/drivers/net/hyperv/ |
D | netvsc_drv.c | 68 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_change_rx_flags() 116 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_open() 117 struct netvsc_device *nvdev = rtnl_dereference(ndev_ctx->nvdev); in netvsc_open() 203 = rtnl_dereference(net_device_ctx->vf_netdev); in netvsc_close() 204 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_close() 950 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_get_channels() 1117 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_set_channels() 1179 vf_netdev = rtnl_dereference(ndc->vf_netdev); in netvsc_get_link_ksettings() 1195 struct net_device *vf_netdev = rtnl_dereference(ndc->vf_netdev); in netvsc_set_link_ksettings() 1212 struct net_device *vf_netdev = rtnl_dereference(ndevctx->vf_netdev); in netvsc_change_mtu() [all …]
|
D | netvsc_bpf.c | 121 return rtnl_dereference(nvdev->chan_table[0].bpf_prog); in netvsc_xdp_get() 197 struct netvsc_device *nvdev = rtnl_dereference(ndevctx->nvdev); in netvsc_bpf() 198 struct net_device *vf_netdev = rtnl_dereference(ndevctx->vf_netdev); in netvsc_bpf()
|
/linux-6.12.1/net/core/ |
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-6.12.1/net/802/ |
D | garp.c | 359 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_request_join() 360 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_join() 379 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_request_leave() 380 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_leave() 559 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_release_port() 563 if (rtnl_dereference(port->applicants[i])) in garp_release_port() 577 if (!rtnl_dereference(dev->garp_port)) { in garp_init_applicant() 613 struct garp_port *port = rtnl_dereference(dev->garp_port); in garp_uninit_applicant() 614 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_uninit_applicant()
|
D | mrp.c | 534 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_request_join() 535 struct mrp_applicant *app = rtnl_dereference( in mrp_request_join() 559 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_request_leave() 560 struct mrp_applicant *app = rtnl_dereference( in mrp_request_leave() 844 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_release_port() 848 if (rtnl_dereference(port->applicants[i])) in mrp_release_port() 862 if (!rtnl_dereference(dev->mrp_port)) { in mrp_init_applicant() 901 struct mrp_port *port = rtnl_dereference(dev->mrp_port); in mrp_uninit_applicant() 902 struct mrp_applicant *app = rtnl_dereference( in mrp_uninit_applicant()
|
/linux-6.12.1/drivers/net/can/ |
D | vxcan.c | 90 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_open() 105 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_close() 270 peer = rtnl_dereference(priv->peer); in vxcan_dellink() 293 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_get_link_net()
|
/linux-6.12.1/net/8021q/ |
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() 439 vlan_info = rtnl_dereference(by_dev->vlan_info); in vlan_vids_del_by_dev() 457 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_uses_dev()
|
/linux-6.12.1/net/bridge/ |
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()
|
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()
|
/linux-6.12.1/net/ipv6/ |
D | anycast.c | 298 for (aca = rtnl_dereference(idev->ac_list); aca; in __ipv6_dev_ac_inc() 299 aca = rtnl_dereference(aca->aca_next)) { in __ipv6_dev_ac_inc() 353 for (aca = rtnl_dereference(idev->ac_list); aca; in __ipv6_dev_ac_dec() 354 aca = rtnl_dereference(aca->aca_next)) { in __ipv6_dev_ac_dec() 396 while ((aca = rtnl_dereference(idev->ac_list)) != NULL) { in ipv6_ac_destroy_dev()
|