ReactOS 0.4.16-dev-320-g3bd9ddc
|
Go to the source code of this file.
Classes | |
struct | __nfs41_superblock |
struct | __nfs41_superblock_list |
struct | server_addrs |
struct | __nfs41_server |
struct | __nfs41_delegation_state |
struct | __nfs41_lock_state |
struct | __nfs41_open_state |
struct | __nfs41_rpc_clnt |
struct | client_state |
struct | __nfs41_client |
struct | __nfs41_slot_table |
struct | __nfs41_channel_attrs |
struct | replay_cache |
struct | __nfs41_cb_session |
struct | __nfs41_session |
struct | __nfs41_root |
Macros | |
#define | NFS41_MAX_NUM_SLOTS NFS41_MAX_RPC_REQS |
Typedefs | |
typedef struct __nfs41_superblock | nfs41_superblock |
typedef struct __nfs41_superblock_list | nfs41_superblock_list |
typedef struct __nfs41_server | nfs41_server |
typedef struct __nfs41_delegation_state | nfs41_delegation_state |
typedef struct __nfs41_lock_state | nfs41_lock_state |
typedef struct __nfs41_open_state | nfs41_open_state |
typedef struct __nfs41_rpc_clnt | nfs41_rpc_clnt |
typedef struct __nfs41_client | nfs41_client |
typedef struct __nfs41_slot_table | nfs41_slot_table |
typedef struct __nfs41_channel_attrs | nfs41_channel_attrs |
typedef struct __nfs41_cb_session | nfs41_cb_session |
typedef struct __nfs41_session | nfs41_session |
typedef struct __nfs41_root | nfs41_root |
Enumerations | |
enum | delegation_status { DELEGATION_GRANTED , DELEGATION_RETURNING , DELEGATION_RETURNED } |
#define NFS41_MAX_NUM_SLOTS NFS41_MAX_RPC_REQS |
typedef struct __nfs41_cb_session nfs41_cb_session |
typedef struct __nfs41_client nfs41_client |
typedef struct __nfs41_lock_state nfs41_lock_state |
typedef struct __nfs41_open_state nfs41_open_state |
typedef struct __nfs41_root nfs41_root |
typedef struct __nfs41_rpc_clnt nfs41_rpc_clnt |
typedef struct __nfs41_server nfs41_server |
typedef struct __nfs41_session nfs41_session |
typedef struct __nfs41_slot_table nfs41_slot_table |
typedef struct __nfs41_superblock nfs41_superblock |
|
static |
Definition at line 428 of file nfs41.h.
Referenced by client_name_cache(), and nfs41_superblock_for_fh().
int nfs41_client_create | ( | IN nfs41_rpc_clnt * | rpc, |
IN const client_owner4 * | owner, | ||
IN bool_t | is_data, | ||
IN const struct __nfs41_exchange_id_res * | exchangeid, | ||
OUT nfs41_client ** | client_out | ||
) |
Referenced by root_client_create().
void nfs41_client_free | ( | IN nfs41_client * | client | ) |
Definition at line 206 of file nfs41_client.c.
Referenced by nfs41_client_create(), nfs41_root_mount_addrs(), root_client_create(), and root_free().
Definition at line 358 of file nfs41_client.c.
Referenced by nfs41_root_create().
int nfs41_client_renew | ( | IN nfs41_client * | client | ) |
Definition at line 168 of file nfs41_client.c.
Referenced by compound_encode_send_decode(), and nfs41_recover_session().
int nfs41_ea_set | ( | IN nfs41_open_state * | state, |
IN struct _FILE_FULL_EA_INFORMATION * | ea | ||
) |
Definition at line 36 of file nfs41_client.c.
Referenced by nfs41_client_renew(), nfs41_root_mount_addrs(), root_client_find(), and root_client_find_addrs().
void nfs41_open_state_deref | ( | IN nfs41_open_state * | state | ) |
Definition at line 104 of file open.c.
Referenced by cancel_open(), cleanup_close(), delegation_return(), handle_open(), and upcall_cleanup().
void nfs41_open_state_ref | ( | IN nfs41_open_state * | state | ) |
Definition at line 96 of file open.c.
Referenced by deleg_open_find(), handle_open(), and upcall_parse().
void nfs41_open_stateid_arg | ( | IN nfs41_open_state * | state, |
OUT struct __stateid_arg * | arg | ||
) |
Referenced by handle_nfs41_set_size(), handle_read(), handle_setacl(), handle_setexattr(), and handle_write().
int nfs41_root_create | ( | IN const char * | name, |
IN uint32_t | sec_flavor, | ||
IN uint32_t | wsize, | ||
IN uint32_t | rsize, | ||
OUT nfs41_root ** | root_out | ||
) |
Definition at line 37 of file namespace.c.
Referenced by handle_mount().
void nfs41_root_deref | ( | IN nfs41_root * | root | ) |
Definition at line 100 of file namespace.c.
Referenced by cancel_mount(), delegation_recall_thread(), handle_mount(), handle_unmount(), nfs41_delegation_recall(), and upcall_cleanup().
int nfs41_root_mount_addrs | ( | IN nfs41_root * | root, |
IN const multi_addr4 * | addrs, | ||
IN bool_t | is_data, | ||
IN OPTIONAL uint32_t | lease_time, | ||
OUT nfs41_client ** | client_out | ||
) |
Definition at line 335 of file namespace.c.
Referenced by handle_mount(), pnfs_data_server_client(), and referral_mount_location().
int nfs41_root_mount_referral | ( | IN nfs41_root * | root, |
IN const fs_locations4 * | locations, | ||
OUT const fs_location4 ** | loc_out, | ||
OUT nfs41_client ** | client_out | ||
) |
Definition at line 459 of file namespace.c.
Referenced by referral_resolve().
int nfs41_root_mount_server | ( | IN nfs41_root * | root, |
IN nfs41_server * | server, | ||
IN bool_t | is_data, | ||
IN OPTIONAL uint32_t | lease_time, | ||
OUT nfs41_client ** | client_out | ||
) |
void nfs41_root_ref | ( | IN nfs41_root * | root | ) |
Definition at line 92 of file namespace.c.
Referenced by handle_mount(), nfs41_delegation_recall(), and upcall_parse().
|
static |
Definition at line 321 of file nfs41.h.
Referenced by handle_open().
int nfs41_rpc_clnt_create | ( | IN const multi_addr4 * | addrs, |
IN uint32_t | wsize, | ||
IN uint32_t | rsize, | ||
IN uint32_t | uid, | ||
IN uint32_t | gid, | ||
IN uint32_t | sec_flavor, | ||
OUT nfs41_rpc_clnt ** | rpc_out | ||
) |
Definition at line 145 of file nfs41_rpc.c.
Referenced by nfs41_root_mount_addrs().
void nfs41_rpc_clnt_free | ( | IN nfs41_rpc_clnt * | rpc | ) |
Definition at line 243 of file nfs41_rpc.c.
Referenced by nfs41_client_create(), nfs41_client_free(), and nfs41_root_mount_addrs().
|
static |
Definition at line 500 of file nfs41.h.
Referenced by update_server().
Definition at line 337 of file nfs41_rpc.c.
Referenced by compound_encode_send_decode(), nfs41_bind_conn_to_session(), nfs41_destroy_clientid(), and nfs41_exchange_id().
void nfs41_server_addrs | ( | IN nfs41_server * | server, |
OUT multi_addr4 * | addrs | ||
) |
Definition at line 203 of file nfs41_server.c.
void nfs41_server_deref | ( | IN nfs41_server * | server | ) |
Definition at line 155 of file nfs41_server.c.
Referenced by nfs41_client_free(), and update_server().
int nfs41_server_find_or_create | ( | IN const char * | server_owner_major_id, |
IN const char * | server_scope, | ||
IN const netaddr4 * | addr, | ||
OUT nfs41_server ** | server_out | ||
) |
Definition at line 221 of file nfs41_server.c.
Referenced by update_server().
void nfs41_server_list_init | ( | ) |
Definition at line 48 of file nfs41_server.c.
Referenced by ServiceStart().
void nfs41_server_ref | ( | IN nfs41_server * | server | ) |
Definition at line 145 of file nfs41_server.c.
int nfs41_server_resolve | ( | IN const char * | hostname, |
IN unsigned short | port, | ||
OUT multi_addr4 * | addrs | ||
) |
Definition at line 275 of file nfs41_server.c.
Referenced by handle_mount(), and referral_mount_location().
int nfs41_session_bad_slot | ( | IN nfs41_session * | session, |
IN OUT struct __nfs41_sequence_args * | args | ||
) |
Referenced by compound_encode_send_decode().
void nfs41_session_bump_seq | ( | IN nfs41_session * | session, |
IN uint32_t | slotid, | ||
IN uint32_t | target_highest_slotid | ||
) |
Definition at line 80 of file nfs41_session.c.
Referenced by compound_encode_send_decode().
int nfs41_session_create | ( | IN nfs41_client * | client, |
IN nfs41_session ** | session_out | ||
) |
Definition at line 278 of file nfs41_session.c.
Referenced by root_client_create().
void nfs41_session_free | ( | IN nfs41_session * | session | ) |
Definition at line 363 of file nfs41_session.c.
Referenced by nfs41_client_free(), and nfs41_session_create().
void nfs41_session_free_slot | ( | IN nfs41_session * | session, |
IN uint32_t | slotid | ||
) |
Definition at line 102 of file nfs41_session.c.
Referenced by compound_encode_send_decode(), and nfs41_session_bad_slot().
void nfs41_session_get_slot | ( | IN nfs41_session * | session, |
OUT uint32_t * | slot, | ||
OUT uint32_t * | seq, | ||
OUT uint32_t * | highest | ||
) |
Definition at line 132 of file nfs41_session.c.
Referenced by compound_encode_send_decode(), nfs41_session_bad_slot(), and nfs41_session_sequence().
Definition at line 169 of file nfs41_session.c.
Referenced by handle_cb_recall_slot().
int nfs41_session_renew | ( | IN nfs41_session * | session | ) |
Definition at line 318 of file nfs41_session.c.
Referenced by nfs41_recover_session().
void nfs41_session_sequence | ( | struct __nfs41_sequence_args * | args, |
nfs41_session * | session, | ||
bool_t | cachethis | ||
) |
Definition at line 214 of file nfs41_session.c.
Referenced by lookup_rpc(), nfs41_access(), nfs41_close(), nfs41_commit(), nfs41_create(), nfs41_delegpurge(), nfs41_delegreturn(), nfs41_free_stateid(), nfs41_fs_locations(), nfs41_getattr(), nfs41_link(), nfs41_lock(), nfs41_open(), nfs41_read(), nfs41_readdir(), nfs41_readlink(), nfs41_reclaim_complete(), nfs41_remove(), nfs41_rename(), nfs41_rpc_openattr(), nfs41_secinfo(), nfs41_secinfo_noname(), nfs41_send_sequence(), nfs41_setattr(), nfs41_superblock_getattr(), nfs41_test_stateid(), nfs41_unlock(), nfs41_want_delegation(), nfs41_write(), pnfs_rpc_getdeviceinfo(), pnfs_rpc_layoutcommit(), pnfs_rpc_layoutget(), pnfs_rpc_layoutreturn(), and rpc_array_putfh().
int nfs41_session_set_lease | ( | IN nfs41_session * | session, |
IN uint32_t | lease_time | ||
) |
Definition at line 332 of file nfs41_session.c.
Referenced by session_get_lease().
int nfs41_superblock_for_fh | ( | IN nfs41_session * | session, |
IN const nfs41_fsid * | fsid, | ||
IN const nfs41_fh *parent | OPTIONAL, | ||
OUT nfs41_path_fh * | file | ||
) |
Definition at line 233 of file nfs41_superblock.c.
Referenced by nfs41_link(), nfs41_open(), and server_lookup().
void nfs41_superblock_fs_attributes | ( | IN const nfs41_superblock * | superblock, |
OUT struct _FILE_FS_ATTRIBUTE_INFORMATION * | FsAttrs | ||
) |
Referenced by handle_mount(), and handle_volume().
|
static |
Definition at line 448 of file nfs41.h.
Referenced by handle_readdir(), nfs41_cached_getattr(), nfs41_close(), nfs41_commit(), nfs41_create(), nfs41_link(), nfs41_open(), nfs41_remove(), nfs41_rename(), nfs41_setattr(), nfs41_write(), pnfs_rpc_layoutcommit(), pnfs_write(), and write_to_mds().
void nfs41_superblock_list_free | ( | IN nfs41_superblock_list * | superblocks | ) |
void nfs41_superblock_list_init | ( | IN nfs41_superblock_list * | superblocks | ) |
Definition at line 214 of file nfs41_superblock.c.
Referenced by server_create().
void nfs41_superblock_space_changed | ( | IN nfs41_superblock * | superblock | ) |
Definition at line 295 of file nfs41_superblock.c.
Referenced by nfs41_commit(), nfs41_create(), nfs41_link(), nfs41_open(), nfs41_remove(), nfs41_setattr(), and nfs41_write().
|
static |
Definition at line 454 of file nfs41.h.
Referenced by delegation_truncate(), get_superblock_attrs(), nfs41_create(), and nfs41_open().
|
static |
Definition at line 460 of file nfs41.h.
Referenced by nfs41_open().