Home
last modified time | relevance | path

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

/net/mctp/
Droute.c584 struct netns_mctp *mns = &net->mctp; in mctp_reserve_tag() local
586 lockdep_assert_held(&mns->keys_lock); in mctp_reserve_tag()
594 hlist_add_head_rcu(&key->hlist, &mns->keys); in mctp_reserve_tag()
607 struct netns_mctp *mns = &net->mctp; in mctp_alloc_local_tag() local
624 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_alloc_local_tag()
629 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_alloc_local_tag()
663 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_alloc_local_tag()
678 struct netns_mctp *mns = &net->mctp; in mctp_lookup_prealloc_tag() local
685 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_lookup_prealloc_tag()
687 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_lookup_prealloc_tag()
[all …]
/net/mctp/test/
Droute-test.c543 struct netns_mctp *mns; in mctp_test_route_input_sk_keys() local
562 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_input_sk_keys()
570 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_test_route_input_sk_keys()
572 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_test_route_input_sk_keys()