Searched refs:keys_lock (Results 1 – 4 of 4) sorted by relevance
/linux/net/mctp/ |
H A D | af_mctp.c | 286 __must_hold(&net->mctp.keys_lock) in __mctp_key_remove() 455 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_ioctl_alloctag() 459 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_ioctl_alloctag() 492 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_ioctl_droptag() 509 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_ioctl_droptag() 583 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_sk_expire_keys() 609 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_sk_expire_keys() 654 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_sk_unhash() 660 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_sk_unhash()
|
H A D | route.c | 145 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_lookup_key() 161 spin_unlock(&net->mctp.keys_lock); in mctp_lookup_key() 164 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_lookup_key() 219 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_key_add() 248 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_key_add() 277 spin_lock_irqsave(&net->mctp.keys_lock, flags); in __mctp_key_done_in() 283 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in __mctp_key_done_in() 631 lockdep_assert_held(&mns->keys_lock); in mctp_reserve_tag() 670 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_alloc_local_tag() 721 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_alloc_local_tag() [all …]
|
/linux/include/net/netns/ |
H A D | mctp.h | 26 spinlock_t keys_lock; member
|
/linux/net/mctp/test/ |
H A D | route-test.c | 584 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_test_route_input_sk_keys() 586 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_test_route_input_sk_keys() 778 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_test_route_input_multiple_nets_key_init() 780 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_test_route_input_multiple_nets_key_init() 1017 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_test_route_output_key_create() 1019 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_test_route_output_key_create() 1027 spin_lock_irqsave(&mns->keys_lock, flags); in mctp_test_route_output_key_create() 1032 spin_unlock_irqrestore(&mns->keys_lock, flags); in mctp_test_route_output_key_create()
|