ReactOS 0.4.16-dev-822-gbcedb53
|
#include "delegation.h"
#include "nfs41_ops.h"
#include "name_cache.h"
#include "util.h"
#include "daemon_debug.h"
#include <devioctl.h>
#include "nfs41_driver.h"
Go to the source code of this file.
Classes | |
struct | recall_thread_args |
Macros | |
#define | DGLVL 2 /* dprintf level for delegation logging */ |
#define | open_entry(pos) list_container(pos, nfs41_open_state, client_entry) |
#define | lock_entry(pos) list_container(pos, nfs41_lock_state, open_entry) |
#define | deleg_entry(pos) list_container(pos, nfs41_delegation_state, client_entry) |
#define deleg_entry | ( | pos | ) | list_container(pos, nfs41_delegation_state, client_entry) |
Definition at line 377 of file delegation.c.
Definition at line 32 of file delegation.c.
#define lock_entry | ( | pos | ) | list_container(pos, nfs41_lock_state, open_entry) |
Definition at line 126 of file delegation.c.
#define open_entry | ( | pos | ) | list_container(pos, nfs41_open_state, client_entry) |
Definition at line 89 of file delegation.c.
Definition at line 775 of file delegation.c.
Referenced by nfs41_delegation_getattr().
Definition at line 379 of file delegation.c.
Referenced by nfs41_delegate_open(), nfs41_delegation_remove_srvopen(), and nfs41_delegation_return().
|
static |
Definition at line 173 of file delegation.c.
Referenced by delegation_flush_locks().
|
static |
Definition at line 198 of file delegation.c.
Referenced by delegation_flush_locks().
|
static |
Definition at line 155 of file delegation.c.
Referenced by delegation_return().
Definition at line 696 of file delegation.c.
Referenced by nfs41_delegation_recall().
|
static |
Definition at line 388 of file delegation.c.
Referenced by nfs41_delegate_open().
|
static |
Definition at line 36 of file delegation.c.
Referenced by nfs41_delegation_granted().
|
static |
Definition at line 415 of file delegation.c.
Referenced by nfs41_delegate_open(), nfs41_delegation_getattr(), nfs41_delegation_recall(), nfs41_delegation_remove_srvopen(), and nfs41_delegation_return().
|
static |
Definition at line 215 of file delegation.c.
Referenced by delegation_return().
Definition at line 683 of file delegation.c.
Referenced by nfs41_delegation_recall().
|
static |
Definition at line 842 of file delegation.c.
Referenced by nfs41_client_delegation_recovery().
|
static |
Definition at line 91 of file delegation.c.
Referenced by delegation_return(), and nfs41_client_delegation_recovery().
|
static |
Definition at line 264 of file delegation.c.
Referenced by delegation_recall_thread(), nfs41_client_delegation_recovery(), nfs41_client_delegation_return_lru(), nfs41_delegate_open(), and nfs41_delegation_return().
|
static |
Definition at line 440 of file delegation.c.
Referenced by nfs41_delegate_open().
|
static |
void nfs41_client_delegation_free | ( | IN nfs41_client * | client | ) |
int nfs41_client_delegation_recovery | ( | IN nfs41_client * | client | ) |
Definition at line 861 of file delegation.c.
Referenced by nfs41_client_state_revoked(), and nfs41_recover_client_state().
int nfs41_client_delegation_return_lru | ( | IN nfs41_client * | client | ) |
Definition at line 902 of file delegation.c.
Referenced by open_update_cache().
int nfs41_delegate_open | ( | IN nfs41_open_state * | state, |
IN uint32_t | create, | ||
IN OPTIONAL nfs41_file_info * | createattrs, | ||
OUT nfs41_file_info * | info | ||
) |
Definition at line 462 of file delegation.c.
Referenced by open_or_delegate().
void nfs41_delegation_deref | ( | IN nfs41_delegation_state * | state | ) |
Definition at line 79 of file delegation.c.
Referenced by delegation_recall_thread(), delegation_remove(), nfs41_client_delegation_free(), nfs41_delegate_open(), nfs41_delegation_getattr(), nfs41_delegation_recall(), nfs41_delegation_remove_srvopen(), nfs41_delegation_return(), and open_state_free().
int nfs41_delegation_getattr | ( | IN nfs41_client * | client, |
IN const nfs41_fh * | fh, | ||
IN const bitmap4 * | attr_request, | ||
OUT nfs41_file_info * | info | ||
) |
Definition at line 783 of file delegation.c.
Referenced by handle_cb_getattr().
int nfs41_delegation_granted | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | parent, | ||
IN nfs41_path_fh * | file, | ||
IN open_delegation4 * | delegation, | ||
IN bool_t | try_recovery, | ||
OUT nfs41_delegation_state ** | deleg_out | ||
) |
Definition at line 330 of file delegation.c.
Referenced by do_open(), and recover_open().
int nfs41_delegation_recall | ( | IN nfs41_client * | client, |
IN nfs41_fh * | fh, | ||
IN const stateid4 * | stateid, | ||
IN bool_t | truncate | ||
) |
Definition at line 703 of file delegation.c.
Referenced by handle_cb_recall().
void nfs41_delegation_ref | ( | IN nfs41_delegation_state * | state | ) |
Definition at line 71 of file delegation.c.
Referenced by delegation_find(), and nfs41_delegation_granted().
void nfs41_delegation_remove_srvopen | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file | ||
) |
Definition at line 610 of file delegation.c.
Referenced by handle_close().
int nfs41_delegation_return | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN enum open_delegation_type4 | access, | ||
IN bool_t | truncate | ||
) |
Definition at line 629 of file delegation.c.
Referenced by cancel_open(), handle_close(), handle_nfs41_remove(), handle_nfs41_set_size(), handle_open(), handle_setacl(), and handle_setexattr().
int nfs41_delegation_to_open | ( | IN nfs41_open_state * | open, |
IN bool_t | try_recovery | ||
) |
Definition at line 539 of file delegation.c.
Referenced by delegation_return(), and handle_lock().
Definition at line 139 of file delegation.c.
Referenced by deleg_open_find().