Centos-kernel-stream-10/rust/helpers
Maxim Levitsky 84c5935da5 rust: add helper for mutex_trylock
JIRA: https://issues.redhat.com/browse/RHEL-74410

commit 4dbe28c0fabd69842890ba38f185b96664cba26a
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Wed May 28 10:34:30 2025 +0200

    rust: add helper for mutex_trylock

    After commit c5b6ababd21a ("locking/mutex: implement mutex_trylock_nested",
    currently in the KVM tree) mutex_trylock() will be a macro when lockdep is
    enabled.  Rust therefore needs the corresponding helper.  Just add it and
    the rust/bindings/bindings_helpers_generated.rs Makefile rules will do
    their thing.

    Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Message-ID: <20250528083431.1875345-1-pbonzini@redhat.com>
    Acked-by: Miguel Ojeda <ojeda@kernel.org>
    Reviewed-by: Alice Ryhl <aliceryhl@google.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
2025-06-25 15:57:33 -04:00
..
blk.c
bug.c
build_assert.c
build_bug.c
err.c
helpers.c rust: rbtree: add red-black tree implementation backed by the C version 2024-08-31 17:35:08 +02:00
kunit.c
mutex.c rust: add helper for mutex_trylock 2025-06-25 15:57:33 -04:00
page.c
rbtree.c rust: rbtree: add red-black tree implementation backed by the C version 2024-08-31 17:35:08 +02:00
refcount.c
signal.c
slab.c
spinlock.c
task.c
uaccess.c
wait.c
workqueue.c