aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-01-04 20:05:30 -0800
committerJakub Kicinski <[email protected]>2023-01-05 22:13:39 -0800
commit07f3af66089e20fe439b219d3c9d3e68d964193f (patch)
tree4da8ef518b5f8f54ae106536e7c58996f0ba7502 /lib/memory-notifier-error-inject.c
parente4d5015bc11bcc5123ec8805d8c7f1e28a77a8a9 (diff)
devlink: add by-instance dump infra
Most dumpit implementations walk the devlink instances. This requires careful lock taking and reference dropping. Factor the loop out and provide just a callback to handle a single instance dump. Convert one user as an example, other users converted in the next change. Slightly inspired by ethtool netlink code. Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions