nfs-ganesha 1.4
|
#include <stdio.h>
#include <pthread.h>
#include "sal_functions.h"
#include "nlm4.h"
#include "nlm_util.h"
#include "nlm_async.h"
#include "nfs_tcb.h"
Go to the source code of this file.
Defines | |
#define | MAX_ASYNC_RETRY 2 |
Functions | |
int | nlm_send_async_res_nlm4 (state_nlm_client_t *host, state_async_func_t func, nfs_res_t *pres) |
int | nlm_send_async_res_nlm4test (state_nlm_client_t *host, state_async_func_t func, nfs_res_t *pres) |
int | nlm_send_async (int proc, state_nlm_client_t *host, void *inarg, void *key) |
void | nlm_signal_async_resp (void *key) |
Variables | |
pthread_mutex_t | nlm_async_resp_mutex = PTHREAD_MUTEX_INITIALIZER |
pthread_cond_t | nlm_async_resp_cond = PTHREAD_COND_INITIALIZER |
xdrproc_t | nlm_reply_proc [] |
#define MAX_ASYNC_RETRY 2 |
Definition at line 155 of file nlm_async.c.
int nlm_send_async | ( | int | proc, |
state_nlm_client_t * | host, | ||
void * | inarg, | ||
void * | key | ||
) |
Definition at line 158 of file nlm_async.c.
int nlm_send_async_res_nlm4 | ( | state_nlm_client_t * | host, |
state_async_func_t | func, | ||
nfs_res_t * | pres | ||
) |
Definition at line 44 of file nlm_async.c.
int nlm_send_async_res_nlm4test | ( | state_nlm_client_t * | host, |
state_async_func_t | func, | ||
nfs_res_t * | pres | ||
) |
Definition at line 86 of file nlm_async.c.
void nlm_signal_async_resp | ( | void * | key | ) |
Definition at line 255 of file nlm_async.c.
pthread_cond_t nlm_async_resp_cond = PTHREAD_COND_INITIALIZER |
Definition at line 42 of file nlm_async.c.
pthread_mutex_t nlm_async_resp_mutex = PTHREAD_MUTEX_INITIALIZER |
Definition at line 41 of file nlm_async.c.
xdrproc_t nlm_reply_proc[] |
{ [NLMPROC4_GRANTED_MSG] = (xdrproc_t) xdr_nlm4_testargs, [NLMPROC4_TEST_RES] = (xdrproc_t) xdr_nlm4_testres, [NLMPROC4_LOCK_RES] = (xdrproc_t) xdr_nlm4_res, [NLMPROC4_CANCEL_RES] = (xdrproc_t) xdr_nlm4_res, [NLMPROC4_UNLOCK_RES] = (xdrproc_t) xdr_nlm4_res, }
Definition at line 144 of file nlm_async.c.