Home
last modified time | relevance | path

Searched refs:mctp (Results 1 – 17 of 17) sorted by relevance

/linux/net/mctp/
H A Dneigh.c32 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 Droute.c58 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 Daf_mctp.c286 __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 DMakefile2 obj-$(CONFIG_MCTP) += mctp.o
3 mctp-objs := af_mctp.o device.o route.o neigh.o
/linux/drivers/net/mctp/
H A DMakefile1 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 DKconfig22 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 Daspeed-bmc-facebook-greatlakes.dts159 mctp-controller;
169 mctp@10 {
170 compatible = "mctp-i2c-controller";
H A Daspeed-bmc-facebook-harma.dts381 mctp-controller;
384 mctp@10 {
385 compatible = "mctp-i2c-controller";
H A Daspeed-bmc-ampere-mtmitchell.dts466 mctp-controller;
468 mctp@10 {
469 compatible = "mctp-i2c-controller";
/linux/include/trace/events/
H A Dmctp.h4 #define TRACE_SYSTEM mctp
/linux/Documentation/networking/
H A Dindex.rst76 mctp
H A Dmctp.rst7 net/mctp/ contains protocol support for MCTP, as defined by DMTF standard
9 provided in drivers/net/mctp/.
/linux/net/mctp/test/
H A Droute-test.c58 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 Dnet_namespace.h183 struct netns_mctp mctp; member
/linux/Documentation/userspace-api/netlink/
H A Dnetlink-raw.rst58 name: rtnlgrp-mctp-ifaddr
/linux/net/
H A DKconfig418 source "net/mctp/Kconfig"
/linux/
H A DMAINTAINERS13774 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/