Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1// SPDX-License-Identifier: GPL-2.0
2
3#include <linux/dma-resv.h>
4
5__rust_helper
6int rust_helper_dma_resv_lock(struct dma_resv *obj, struct ww_acquire_ctx *ctx)
7{
8 return dma_resv_lock(obj, ctx);
9}
10
11__rust_helper void rust_helper_dma_resv_unlock(struct dma_resv *obj)
12{
13 dma_resv_unlock(obj);
14}