Lines Matching refs:mns
629 struct netns_mctp *mns = &net->mctp; in mctp_reserve_tag() local
631 lockdep_assert_held(&mns->keys_lock); in mctp_reserve_tag()
639 hlist_add_head_rcu(&key->hlist, &mns->keys); in mctp_reserve_tag()
653 struct netns_mctp *mns = &net->mctp; in mctp_alloc_local_tag() local
670 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_alloc_local_tag()
675 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_alloc_local_tag()
721 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_alloc_local_tag()
737 struct netns_mctp *mns = &net->mctp; in mctp_lookup_prealloc_tag() local
744 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_lookup_prealloc_tag()
746 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_lookup_prealloc_tag()
768 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_lookup_prealloc_tag()