Lines Matching refs:rtnl_locked
50 int type, int rtnl_locked, in hostap_add_interface() argument
79 if (!rtnl_locked) in hostap_add_interface()
85 if (!rtnl_locked) in hostap_add_interface()
102 void hostap_remove_interface(struct net_device *dev, int rtnl_locked, in hostap_remove_interface() argument
123 if (rtnl_locked) in hostap_remove_interface()
143 int rtnl_locked) in prism2_wds_add() argument
189 dev = hostap_add_interface(local, HOSTAP_INTERFACE_WDS, rtnl_locked, in prism2_wds_add()
204 int rtnl_locked, int do_not_remove) in prism2_wds_del() argument
229 hostap_remove_interface(selected->dev, rtnl_locked, 0); in prism2_wds_del()
888 static int hostap_enable_hostapd(local_info_t *local, int rtnl_locked) in hostap_enable_hostapd() argument
898 rtnl_locked, local->ddev->name, in hostap_enable_hostapd()
907 static int hostap_disable_hostapd(local_info_t *local, int rtnl_locked) in hostap_disable_hostapd() argument
913 hostap_remove_interface(local->apdev, rtnl_locked, 1); in hostap_disable_hostapd()
920 static int hostap_enable_hostapd_sta(local_info_t *local, int rtnl_locked) in hostap_enable_hostapd_sta() argument
930 rtnl_locked, local->ddev->name, in hostap_enable_hostapd_sta()
939 static int hostap_disable_hostapd_sta(local_info_t *local, int rtnl_locked) in hostap_disable_hostapd_sta() argument
945 hostap_remove_interface(local->stadev, rtnl_locked, 1); in hostap_disable_hostapd_sta()
952 int hostap_set_hostapd(local_info_t *local, int val, int rtnl_locked) in hostap_set_hostapd() argument
963 ret = hostap_enable_hostapd(local, rtnl_locked); in hostap_set_hostapd()
968 ret = hostap_disable_hostapd(local, rtnl_locked); in hostap_set_hostapd()
977 int hostap_set_hostapd_sta(local_info_t *local, int val, int rtnl_locked) in hostap_set_hostapd_sta() argument
988 ret = hostap_enable_hostapd_sta(local, rtnl_locked); in hostap_set_hostapd_sta()
993 ret = hostap_disable_hostapd_sta(local, rtnl_locked); in hostap_set_hostapd_sta()