linux/net/devlink
Jiri Pirko 11280ddeae devlink: introduce __devl_is_registered() helper and use it instead of xa_get_mark()
Introduce __devl_is_registered() which does not assert on devlink
instance lock and use it in notifications which may be called
without devlink instance lock held.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-12-19 15:31:40 +01:00
..
core.c devlink: Acquire device lock during netns dismantle 2023-11-18 17:38:50 +00:00
dev.c devlink: use devl_is_registered() helper instead xa_get_mark() 2023-12-19 15:31:40 +01:00
devl_internal.h devlink: introduce __devl_is_registered() helper and use it instead of xa_get_mark() 2023-12-19 15:31:40 +01:00
dpipe.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
health.c devlink: Allow taking device lock in pre_doit operations 2023-11-18 17:38:50 +00:00
linecard.c devlink: introduce __devl_is_registered() helper and use it instead of xa_get_mark() 2023-12-19 15:31:40 +01:00
Makefile devlink: move devlink_notify_register/unregister() to dev.c 2023-08-28 08:02:24 -07:00
netlink_gen.c devlink: Acquire device lock during reload command 2023-11-18 17:38:50 +00:00
netlink_gen.h devlink: Acquire device lock during reload command 2023-11-18 17:38:50 +00:00
netlink.c devlink: Acquire device lock during reload command 2023-11-18 17:38:50 +00:00
param.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
port.c devlink: introduce __devl_is_registered() helper and use it instead of xa_get_mark() 2023-12-19 15:31:40 +01:00
rate.c devlink: use devl_is_registered() helper instead xa_get_mark() 2023-12-19 15:31:40 +01:00
region.c devlink: introduce __devl_is_registered() helper and use it instead of xa_get_mark() 2023-12-19 15:31:40 +01:00
resource.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
sb.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
trap.c devlink: use devl_is_registered() helper instead xa_get_mark() 2023-12-19 15:31:40 +01:00