// SPDX-License-Identifier: GPL-2.012#include <linux/mutex.h>34void rust_helper_mutex_lock(struct mutex *lock)5{6mutex_lock(lock);7}89int rust_helper_mutex_trylock(struct mutex *lock)10{11return mutex_trylock(lock);12}1314void rust_helper___mutex_init(struct mutex *mutex, const char *name,15struct lock_class_key *key)16{17__mutex_init(mutex, name, key);18}1920void rust_helper_mutex_assert_is_held(struct mutex *mutex)21{22lockdep_assert_held(mutex);23}2425void rust_helper_mutex_destroy(struct mutex *lock)26{27mutex_destroy(lock);28}293031