/linux/Documentation/networking/ |
H A D | netdevices.rst | 27 First group can be used in normal contexts where ``rtnl_lock`` is not already 29 Second group can be used when ``rtnl_lock`` is already held: 36 in context where ``rtnl_lock`` is not held (e.g. driver probe and remove paths). 90 the ``rtnl_lock`` requires extra care. In those scenarios most drivers 94 Example flow of netdev handling under ``rtnl_lock``: 155 ``rtnl_lock`` held. 168 happen after ``rtnl_lock`` is released, therefore in those cases free_netdev() 169 will defer some of the processing until ``rtnl_lock`` is released. 178 registration and de-registration, under ``rtnl_lock``. Drivers can use 179 those e.g. when parts of their init process need to run under ``rtnl_lock``. [all …]
|
/linux/kernel/bpf/ |
H A D | tcx.c | 19 rtnl_lock(); in tcx_prog_attach() 67 rtnl_lock(); in tcx_prog_detach() 129 rtnl_lock(); in tcx_prog_query() 177 rtnl_lock(); in tcx_link_release() 212 rtnl_lock(); in tcx_link_update() 256 rtnl_lock(); in tcx_link_fdinfo() 273 rtnl_lock(); in tcx_link_fill_info() 318 rtnl_lock(); in tcx_link_attach()
|
H A D | offload.c | 386 rtnl_lock(); in bpf_prog_dev_bound_destroy() 442 rtnl_lock(); in bpf_prog_offload_info_fill_ns() 532 rtnl_lock(); in bpf_map_offload_map_alloc() 566 rtnl_lock(); in bpf_map_offload_map_free() 650 rtnl_lock(); in bpf_map_offload_info_fill_ns()
|
/linux/net/core/ |
H A D | dev_addr_lists_test.c | 68 rtnl_lock(); in dev_addr_test_basic() 89 rtnl_lock(); in dev_addr_test_sync_one() 119 rtnl_lock(); in dev_addr_test_add_del() 157 rtnl_lock(); in dev_addr_test_del_main() 181 rtnl_lock(); in dev_addr_test_add_set() 210 rtnl_lock(); in dev_addr_test_add_excl()
|
H A D | netdev-genl.c | 122 rtnl_lock(); in netdev_nl_dev_get_doit() 149 rtnl_lock(); in netdev_nl_dev_get_dumpit() 232 rtnl_lock(); in netdev_nl_napi_get_doit() 297 rtnl_lock(); in netdev_nl_napi_get_dumpit() 353 rtnl_lock(); in netdev_nl_napi_set_doit() 468 rtnl_lock(); in netdev_nl_queue_get_doit() 526 rtnl_lock(); in netdev_nl_queue_get_dumpit() 783 rtnl_lock(); in netdev_nl_qstats_get_dumpit() 842 rtnl_lock(); in netdev_nl_bind_rx_doit() 924 rtnl_lock(); in netdev_nl_sock_priv_destroy()
|
H A D | netprio_cgroup.c | 157 rtnl_lock(); in cgrp_css_online() 210 rtnl_lock(); in write_priomap()
|
/linux/net/openvswitch/ |
H A D | vport-netdev.c | 101 rtnl_lock(); in ovs_netdev_link() 163 rtnl_lock(); in netdev_destroy() 173 rtnl_lock(); in ovs_netdev_tunnel_destroy()
|
H A D | vport-internal_dev.c | 154 rtnl_lock(); in internal_dev_create() 178 rtnl_lock(); in internal_dev_destroy()
|
/linux/net/ieee802154/ |
H A D | core.c | 145 rtnl_lock(); in wpan_phy_register() 170 rtnl_lock(); in wpan_phy_unregister() 175 rtnl_lock(); in wpan_phy_unregister() 351 rtnl_lock(); in cfg802154_pernet_exit()
|
H A D | nl-phy.c | 45 rtnl_lock(); in ieee802154_nl_fill_phy() 236 rtnl_lock(); in ieee802154_add_iface() 255 rtnl_lock(); /* del_iface must be called with RTNL lock */ in ieee802154_add_iface() 322 rtnl_lock(); in ieee802154_del_iface()
|
H A D | sysfs.c | 68 rtnl_lock(); in wpan_phy_suspend() 82 rtnl_lock(); in wpan_phy_resume()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_devlink.c | 51 rtnl_lock(); in hclgevf_devlink_reload_down() 81 rtnl_lock(); in hclgevf_devlink_reload_up()
|
/linux/net/6lowpan/ |
H A D | core.c | 57 rtnl_lock(); in lowpan_register_netdev() 73 rtnl_lock(); in lowpan_unregister_netdev()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bridge.c | 380 rtnl_lock(); in mlx5_esw_bridge_switchdev_fdb_event_work() 512 rtnl_lock(); in mlx5_esw_bridge_update_work() 528 rtnl_lock(); in mlx5e_rep_bridge_init() 575 rtnl_lock(); in mlx5e_rep_bridge_init() 596 rtnl_lock(); in mlx5e_rep_bridge_cleanup()
|
/linux/drivers/net/ |
H A D | netkit.c | 517 rtnl_lock(); in netkit_prog_attach() 557 rtnl_lock(); in netkit_prog_detach() 588 rtnl_lock(); in netkit_prog_query() 636 rtnl_lock(); in netkit_link_release() 667 rtnl_lock(); in netkit_link_update() 711 rtnl_lock(); in netkit_link_fdinfo() 728 rtnl_lock(); in netkit_link_fill_info() 773 rtnl_lock(); in netkit_link_attach()
|
/linux/drivers/net/wan/ |
H A D | hdlc.c | 265 rtnl_lock(); in unregister_hdlc_device() 325 rtnl_lock(); in register_hdlc_protocol() 336 rtnl_lock(); in unregister_hdlc_protocol()
|
/linux/net/tipc/ |
H A D | bearer.c | 895 rtnl_lock(); in tipc_nl_bearer_dump() 942 rtnl_lock(); in tipc_nl_bearer_get() 1000 rtnl_lock(); in tipc_nl_bearer_disable() 1055 rtnl_lock(); in tipc_nl_bearer_enable() 1083 rtnl_lock(); in tipc_nl_bearer_add() 1178 rtnl_lock(); in tipc_nl_bearer_set() 1246 rtnl_lock(); in tipc_nl_media_dump() 1289 rtnl_lock(); in tipc_nl_media_get() 1372 rtnl_lock(); in tipc_nl_media_set()
|
/linux/drivers/net/wireguard/ |
H A D | device.c | 80 rtnl_lock(); in wg_pm_notification() 102 rtnl_lock(); in wg_vm_notification() 246 rtnl_lock(); in wg_destruct() 415 rtnl_lock(); in wg_netns_pre_exit()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_devlink.c | 88 rtnl_lock(); in hclge_devlink_reload_down() 118 rtnl_lock(); in hclge_devlink_reload_up()
|
/linux/net/wireless/ |
H A D | sysfs.c | 101 rtnl_lock(); in wiphy_suspend() 135 rtnl_lock(); in wiphy_resume()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_devlink.c | 72 rtnl_lock(); in nfp_devlink_port_split() 100 rtnl_lock(); in nfp_devlink_port_unsplit() 343 rtnl_lock(); in nfp_devlink_port_register()
|
H A D | nfp_net_debugfs.c | 22 rtnl_lock(); in nfp_rx_q_show() 87 rtnl_lock(); in nfp_tx_q_show()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | efx.c | 401 rtnl_lock(); in efx_remove_all() 725 rtnl_lock(); in efx_register_netdev() 773 rtnl_lock(); in efx_register_netdev() 869 rtnl_lock(); in efx_pci_remove() 1101 rtnl_lock(); in efx_pci_probe() 1148 rtnl_lock(); in efx_pm_freeze() 1180 rtnl_lock(); in efx_pm_thaw()
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_pci.c | 200 rtnl_lock(); in fbnic_service_task() 377 rtnl_lock(); in fbnic_pm_suspend() 433 rtnl_lock(); in __fbnic_pm_resume()
|
/linux/drivers/net/phy/ |
H A D | sfp-bus.c | 683 rtnl_lock(); in sfp_bus_add_upstream() 714 rtnl_lock(); in sfp_bus_del_upstream() 852 rtnl_lock(); in sfp_register_socket() 876 rtnl_lock(); in sfp_unregister_socket()
|