Lines Matching full:mctp
3 * Management Component Transport Protocol (MCTP)
12 #include <linux/mctp.h>
16 #include <net/mctp.h>
21 #include <trace/events/mctp.h>
68 /* it's a valid sockaddr for MCTP, cast and do protocol checks */ in mctp_bind()
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()
633 mutex_lock(&net->mctp.bind_lock); in mctp_sk_hash()
634 sk_add_node_rcu(sk, &net->mctp.binds); in mctp_sk_hash()
635 mutex_unlock(&net->mctp.bind_lock); in mctp_sk_hash()
649 mutex_lock(&net->mctp.bind_lock); in mctp_sk_unhash()
651 mutex_unlock(&net->mctp.bind_lock); in mctp_sk_unhash()
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()
675 .name = "MCTP",
741 pr_info("mctp: management component transport protocol core\n"); in mctp_init()
789 MODULE_DESCRIPTION("MCTP core");