Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ttm_lock Struct Reference

#include <ttm_lock.h>

Data Fields

struct ttm_base_object base
 
wait_queue_head_t queue
 
spinlock_t lock
 
int32_t rw
 
uint32_t flags
 
bool kill_takers
 
int signal
 
struct ttm_object_filevt_holder
 

Detailed Description

struct ttm_lock

: ttm base object used solely to release the lock if the client holding the lock dies. : Queue for processes waiting for lock change-of-status. : Spinlock protecting some lock members. : Read-write lock counter. Protected by . : Lock state. Protected by . : Boolean whether to kill takers of the lock. : Signal to send when kill_takers is true.

Definition at line 69 of file ttm_lock.h.

Field Documentation

Definition at line 70 of file ttm_lock.h.

uint32_t flags

Definition at line 74 of file ttm_lock.h.

bool kill_takers

Definition at line 75 of file ttm_lock.h.

spinlock_t lock

Definition at line 72 of file ttm_lock.h.

Definition at line 71 of file ttm_lock.h.

int32_t rw

Definition at line 73 of file ttm_lock.h.

int signal

Definition at line 76 of file ttm_lock.h.

struct ttm_object_file* vt_holder

Definition at line 77 of file ttm_lock.h.


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