Home
last modified time | relevance | path

Searched refs:nsid_lock (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/core/
H A Dnet_namespace.c191 /* should be called with nsid_lock held */
217 /* Must be called from RCU-critical section or with nsid_lock held */
243 spin_lock_bh(&net->nsid_lock); in peernet2id_alloc()
246 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
256 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
261 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
339 spin_lock_init(&net->nsid_lock); in setup_net()
577 spin_lock_bh(&tmp->nsid_lock); in unhash_nsid()
581 spin_unlock_bh(&tmp->nsid_lock); in unhash_nsid()
588 spin_lock_bh(&net->nsid_lock); in cleanup_net()
[all...]
/openbmc/linux/include/net/
H A Dnet_namespace.h75 spinlock_t nsid_lock; member