Motr  M0
m0_long_lock Struct Reference

#include <fom_long_lock.h>

Collaboration diagram for m0_long_lock:
Collaboration graph

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
 

Detailed Description

Long lock structure.

Definition at line 175 of file fom_long_lock.h.

Field Documentation

◆ l_lock

struct m0_mutex l_lock

Mutex used to protect the structure from concurrent access.

Definition at line 181 of file fom_long_lock.h.

◆ l_magix

uint64_t l_magix

Magic number. M0_LONG_LOCK_MAGIX

Definition at line 185 of file fom_long_lock.h.

◆ l_owners

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.

◆ l_state

enum m0_long_lock_state l_state

State of the lock

Definition at line 183 of file fom_long_lock.h.

◆ l_waiters

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.


The documentation for this struct was generated from the following file: