1 // SPDX-License-Identifier: GPL-2.0 2 3 #include <linux/dma-resv.h> 4 5 __rust_helper 6 int 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 } 15