Home
last modified time | relevance | path

Searched refs:nsid_lock (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A Dnet_namespace.c215 /* should be called with nsid_lock held */
241 /* Must be called from RCU-critical section or with nsid_lock held */
267 spin_lock_bh(&net->nsid_lock); in peernet2id_alloc()
270 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
280 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
285 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
350 spin_lock_init(&net->nsid_lock); in setup_net()
552 spin_lock_bh(&tmp->nsid_lock); in unhash_nsid()
556 spin_unlock_bh(&tmp->nsid_lock); in unhash_nsid()
563 spin_lock_bh(&net->nsid_lock); in unhash_nsid()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dnet_namespace.c188 /* should be called with nsid_lock held */
214 /* Must be called from RCU-critical section or with nsid_lock held */
240 spin_lock_bh(&net->nsid_lock); in peernet2id_alloc()
243 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
253 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
258 spin_unlock_bh(&net->nsid_lock); in peernet2id_alloc()
335 spin_lock_init(&net->nsid_lock); in setup_net()
548 spin_lock_bh(&tmp->nsid_lock); in unhash_nsid()
552 spin_unlock_bh(&tmp->nsid_lock); in unhash_nsid()
559 spin_lock_bh(&net->nsid_lock); in unhash_nsid()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dnet_namespace.h76 spinlock_t nsid_lock; member
/kernel/linux/linux-6.6/include/net/
H A Dnet_namespace.h75 spinlock_t nsid_lock; member

Completed in 5 milliseconds