diff options
author | Andrea Parri (Microsoft) <parri.andrea@gmail.com> | 2022-04-19 14:23:23 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-04-25 17:51:12 +0200 |
commit | 0aadb6a7bb811554cf39318b5d18e8ec50dd9f02 (patch) | |
tree | 747313f405d50341346381763ff44215f294ebd7 /include/trace/trace_custom_events.h | |
parent | Drivers: hv: vmbus: Introduce vmbus_sendpacket_getid() (diff) | |
download | linux-0aadb6a7bb811554cf39318b5d18e8ec50dd9f02.tar.xz linux-0aadb6a7bb811554cf39318b5d18e8ec50dd9f02.zip |
Drivers: hv: vmbus: Introduce vmbus_request_addr_match()
The function can be used to retrieve and clear/remove a transation ID
from a channel requestor, provided the memory address corresponding to
the ID equals a specified address. The function, and its 'lockless'
variant __vmbus_request_addr_match(), will be used by hv_pci.
Refactor vmbus_request_addr() to reuse the 'newly' introduced code.
No functional change.
Suggested-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220419122325.10078-5-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/trace/trace_custom_events.h')
0 files changed, 0 insertions, 0 deletions