1. NAME▲

mutex_is_locked - is the mutex locked

2. SYNOPSIS ▲

int mutex_is_locked(struct mutex *  lock );

3. ARGUMENTS ▲

lock
    the mutex to be queried

4. DESCRIPTION ▲

Returns 1 if the mutex is locked, 0 if unlocked.

5. AUTHOR ▲

Rusty Russell <>
    Author.

6. COPYRIGHT ▲