Home
last modified time | relevance | path

Searched full:rtnl_mutex (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/drivers/net/dsa/
H A Dtest_bridge_fdb_stress.sh5 # rtnl_mutex. Traditionally this mutex has conferred drivers implicit
9 # deleting an entry many times in a row without the rtnl_mutex held.
11 # (with rtnl_mutex held) from a foreground task.
/linux/include/net/netns/
H A Dnexthop.h16 unsigned int seq; /* protected by rtnl_mutex */
/linux/net/core/
H A Ddev_addr_lists.c666 * The caller must hold the rtnl_mutex. in dev_uc_add_excl()
670 /* rtnl_mutex must be held here */ in dev_uc_add_excl()
684 * The caller must hold the rtnl_mutex.
692 /* rtnl_mutex must be held here */ in dev_uc_add()
734 * The caller must hold the rtnl_mutex. in dev_uc_sync()
762 * The caller must hold the rtnl_mutex.
H A Drtnetlink.c76 static DEFINE_MUTEX(rtnl_mutex);
80 mutex_lock(&rtnl_mutex); in rtnl_lock()
86 return mutex_lock_interruptible(&rtnl_mutex); in rtnl_lock_interruptible()
91 return mutex_lock_killable(&rtnl_mutex); in rtnl_lock_killable()
143 mutex_unlock(&rtnl_mutex); in __rtnl_unlock()
163 return mutex_trylock(&rtnl_mutex); in rtnl_trylock()
169 return mutex_is_locked(&rtnl_mutex); in rtnl_is_locked()
175 return refcount_dec_and_mutex_lock(r, &rtnl_mutex); in refcount_dec_and_rtnl_lock()
182 return lockdep_is_held(&rtnl_mutex); in lockdep_rtnl_is_held()
192 mutex_lock(&net->rtnl_mutex); in __rtnl_net_lock()
[all …]
H A Dnet_namespace.c423 mutex_init(&net->rtnl_mutex); in preinit_net()
424 lock_set_cmp_fn(&net->rtnl_mutex, rtnl_net_lock_cmp_fn, NULL); in preinit_net()
H A Ddev.c5872 * The caller must hold the rtnl_mutex.
5891 * The caller must hold the rtnl_mutex.
5919 * The caller must hold the rtnl_mutex.
/linux/include/net/
H A Dnet_namespace.h71 unsigned int dev_base_seq; /* protected by rtnl_mutex */
199 struct mutex rtnl_mutex; member
H A Dip6_fib.h398 unsigned int fib_seq; /* writes protected by rtnl_mutex */
/linux/net/bridge/
H A Dbr.c217 /* called under rtnl_mutex */
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h426 * stack big kernel lock (a.k.a. rtnl_mutex) is being hold.
/linux/net/dsa/
H A Dswitch.c901 /* rtnl_mutex is held in dsa_tree_change_tag_proto */ in dsa_switch_change_tag_proto()
H A Ddsa.c994 * traffic. The rtnl_mutex also happens to serialize concurrent in dsa_tree_change_tag_proto()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2151 * (rtnl_mutex), however a non-rcu iterator does not exist. in dpaa2_switch_prevent_bridging_with_8021q_upper()
/linux/net/netfilter/
H A Dnf_tables_api.c2316 /* nf_tables_netdev_event() is called under rtnl_mutex, this is in nft_netdev_hook_alloc()
2318 * the rtnl_mutex. in nft_netdev_hook_alloc()