diff options
| author | Jacob Moroni <jmoroni@google.com> | 2026-03-05 20:08:22 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-03-08 15:37:38 +0300 |
| commit | 553dfa8cbd0c6d36adae042d9738ddf8f8765ac7 (patch) | |
| tree | e2ae3a01551e3bec91865ac327080f2bfcfbecc1 /include | |
| parent | 1dc469f669fe4802dc26aa5a10bcfa32f39b681b (diff) | |
| download | linux-553dfa8cbd0c6d36adae042d9738ddf8f8765ac7.tar.xz | |
RDMA/umem: Add ib_umem_dmabuf_get_pinned_and_lock helper
Move the inner logic of ib_umem_dmabuf_get_pinned_with_dma_device()
to a new static function that returns with the lock held upon success.
The intent is to allow reuse for the future get_pinned_revocable_and_lock
function.
Signed-off-by: Jacob Moroni <jmoroni@google.com>
Link: https://patch.msgid.link/20260305170826.3803155-2-jmoroni@google.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
