nfs-ganesha 1.4
Classes | Typedefs | Functions

RW_Lock.h File Reference

#include <pthread.h>
#include "log.h"
#include "common_utils.h"

Go to the source code of this file.

Classes

struct  _RW_LOCK

Typedefs

typedef struct _RW_LOCK rw_lock_t

Functions

int rw_lock_init (rw_lock_t *plock)
int rw_lock_destroy (rw_lock_t *plock)
int P_w (rw_lock_t *plock)
int V_w (rw_lock_t *plock)
int P_r (rw_lock_t *plock)
int V_r (rw_lock_t *plock)
int rw_lock_downgrade (rw_lock_t *plock)
int rw_lock_upgrade (rw_lock_t *plock)

Typedef Documentation

typedef struct _RW_LOCK rw_lock_t

Function Documentation

int P_r ( rw_lock_t plock)

Definition at line 87 of file RW_Lock.c.

int P_w ( rw_lock_t plock)

Definition at line 149 of file RW_Lock.c.

int rw_lock_destroy ( rw_lock_t plock)

Definition at line 292 of file RW_Lock.c.

int rw_lock_downgrade ( rw_lock_t plock)

Definition at line 222 of file RW_Lock.c.

int rw_lock_init ( rw_lock_t plock)

Definition at line 261 of file RW_Lock.c.

int rw_lock_upgrade ( rw_lock_t plock)
int V_r ( rw_lock_t plock)

Definition at line 117 of file RW_Lock.c.

int V_w ( rw_lock_t plock)

Definition at line 180 of file RW_Lock.c.