This function decrement the counter and if the result is 0 it acquires
the mutex and returns 1, if not it simply returns 0.
Needed by DRM from Linux v5.3
Sponsored-by: The FreeBSD Foundation
Differential D24847
linuxkpi: Add atomic_dec_and_mutex_lock manu on May 15 2020, 9:24 AM. Authored by Tags None Referenced Files
Subscribers
Details
This function decrement the counter and if the result is 0 it acquires Sponsored-by: The FreeBSD Foundation
Diff Detail
Event Timeline
|