Motr
M0
|
#include <fom_long_lock.h>
Data Fields | |
struct m0_tl | l_owners |
struct m0_tl | l_waiters |
struct m0_mutex | l_lock |
enum m0_long_lock_state | l_state |
uint64_t | l_magix |
Long lock structure.
Definition at line 175 of file fom_long_lock.h.
struct m0_mutex l_lock |
Mutex used to protect the structure from concurrent access.
Definition at line 181 of file fom_long_lock.h.
uint64_t l_magix |
Magic number. M0_LONG_LOCK_MAGIX
Definition at line 185 of file fom_long_lock.h.
struct m0_tl l_owners |
List of long lock links, which has obtained the lock
Definition at line 177 of file fom_long_lock.h.
enum m0_long_lock_state l_state |
State of the lock
Definition at line 183 of file fom_long_lock.h.
struct m0_tl l_waiters |
List of long lock links, which waiting for the lock
Definition at line 179 of file fom_long_lock.h.