Searched refs:mctp (Results 1 – 17 of 17) sorted by relevance
/linux/net/mctp/ |
H A D | neigh.c | 32 mutex_lock(&net->mctp.neigh_lock); in mctp_neigh_add() 55 list_add_rcu(&neigh->list, &net->mctp.neighbours); in mctp_neigh_add() 58 mutex_unlock(&net->mctp.neigh_lock); in mctp_neigh_add() 76 mutex_lock(&net->mctp.neigh_lock); in mctp_neigh_remove_dev() 77 list_for_each_entry_safe(neigh, tmp, &net->mctp.neighbours, list) { in mctp_neigh_remove_dev() 85 mutex_unlock(&net->mctp.neigh_lock); in mctp_neigh_remove_dev() 95 mutex_lock(&net->mctp.neigh_lock); in mctp_neigh_remove() 96 list_for_each_entry_safe(neigh, tmp, &net->mctp.neighbours, list) { in mctp_neigh_remove() 106 mutex_unlock(&net->mctp.neigh_lock); in mctp_neigh_remove() 258 list_for_each_entry_rcu(neigh, &net->mctp.neighbours, list) { in mctp_rtm_getneigh() [all …]
|
H A D | route.c | 58 sk_for_each_rcu(sk, &net->mctp.binds) { in mctp_lookup_bind() 145 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_lookup_key() 147 hlist_for_each_entry(key, &net->mctp.keys, hlist) { 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() 226 hlist_for_each_entry(tmp, &net->mctp.keys, hlist) { in mctp_key_add() 243 hlist_add_head(&key->hlist, &net->mctp.keys); 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() [all …]
|
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() 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() [all …]
|
H A D | Makefile | 2 obj-$(CONFIG_MCTP) += mctp.o 3 mctp-objs := af_mctp.o device.o route.o neigh.o
|
/linux/drivers/net/mctp/ |
H A D | Makefile | 1 obj-$(CONFIG_MCTP_SERIAL) += mctp-serial.o 2 obj-$(CONFIG_MCTP_TRANSPORT_I2C) += mctp-i2c.o 3 obj-$(CONFIG_MCTP_TRANSPORT_I3C) += mctp-i3c.o
|
H A D | Kconfig | 22 compile as a module, use m; the module will be called mctp-serial. 39 created for each I2C bus that has been assigned a mctp-i2c device. 48 having a "mctp-controller" devicetree property.
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-greatlakes.dts | 159 mctp-controller; 169 mctp@10 { 170 compatible = "mctp-i2c-controller";
|
H A D | aspeed-bmc-facebook-harma.dts | 381 mctp-controller; 384 mctp@10 { 385 compatible = "mctp-i2c-controller";
|
H A D | aspeed-bmc-ampere-mtmitchell.dts | 466 mctp-controller; 468 mctp@10 { 469 compatible = "mctp-i2c-controller";
|
/linux/include/trace/events/ |
H A D | mctp.h | 4 #define TRACE_SYSTEM mctp
|
/linux/Documentation/networking/ |
H A D | index.rst | 76 mctp
|
H A D | mctp.rst | 7 net/mctp/ contains protocol support for MCTP, as defined by DMTF standard 9 provided in drivers/net/mctp/.
|
/linux/net/mctp/test/ |
H A D | route-test.c | 58 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route() 575 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_input_sk_keys() 777 mns = &sock_net(t->sock->sk)->mctp; in mctp_test_route_input_multiple_nets_key_init() 1096 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_output_key_create()
|
/linux/include/net/ |
H A D | net_namespace.h | 183 struct netns_mctp mctp; member
|
/linux/Documentation/userspace-api/netlink/ |
H A D | netlink-raw.rst | 58 name: rtnlgrp-mctp-ifaddr
|
/linux/net/ |
H A D | Kconfig | 418 source "net/mctp/Kconfig"
|
/linux/ |
H A D | MAINTAINERS | 13774 F: Documentation/networking/mctp.rst 13775 F: drivers/net/mctp/ 13776 F: include/net/mctp.h 13778 F: include/net/netns/mctp.h 13779 F: net/mctp/
|