ReactOS 0.4.16-dev-125-g798ea90
|
Go to the source code of this file.
Macros | |
#define | RPCSEC_GSS 6 |
#define | MAX_OID_LEN 128 |
#define | MAX_SECINFOS 6 |
#define MAX_OID_LEN 128 |
Definition at line 868 of file nfs41_ops.h.
#define MAX_SECINFOS 6 |
Definition at line 881 of file nfs41_ops.h.
#define RPCSEC_GSS 6 |
Definition at line 867 of file nfs41_ops.h.
typedef struct __createhow4 createhow4 |
typedef struct __createtype4 createtype4 |
typedef struct __deleg_claim4 deleg_claim4 |
typedef struct __lock_res_denied lock_res_denied |
typedef struct __lock_res_ok lock_res_ok |
typedef struct __nfs41_access_res nfs41_access_res |
typedef struct __nfs41_commit_res nfs41_commit_res |
typedef struct __nfs41_create_res nfs41_create_res |
typedef struct __nfs41_getfh_res nfs41_getfh_res |
typedef struct __nfs41_link_args nfs41_link_args |
typedef struct __nfs41_link_res nfs41_link_res |
typedef struct __nfs41_lock_args nfs41_lock_args |
typedef struct __nfs41_lock_res nfs41_lock_res |
typedef struct __nfs41_lockt_args nfs41_lockt_args |
typedef struct __nfs41_lockt_res nfs41_lockt_res |
typedef struct __nfs41_locku_args nfs41_locku_args |
typedef struct __nfs41_locku_res nfs41_locku_res |
typedef struct __nfs41_lookup_res nfs41_lookup_res |
typedef struct __nfs41_putfh_args nfs41_putfh_args |
typedef struct __nfs41_putfh_res nfs41_putfh_res |
typedef struct __nfs41_read_args nfs41_read_args |
typedef struct __nfs41_read_res nfs41_read_res |
typedef struct __nfs41_remove_res nfs41_remove_res |
typedef struct __nfs41_rename_res nfs41_rename_res |
typedef struct __nfs41_write_args nfs41_write_args |
typedef struct __nfs41_write_res nfs41_write_res |
typedef struct __open_claim4 open_claim4 |
typedef struct __openflag4 openflag4 |
typedef struct __specdata4 specdata4 |
typedef struct __state_protect4_a state_protect4_a |
typedef struct __state_protect4_r state_protect4_r |
typedef struct __stateid_arg stateid_arg |
anonymous enum |
Definition at line 94 of file nfs41_ops.h.
anonymous enum |
Definition at line 236 of file nfs41_ops.h.
anonymous enum |
Enumerator | |
---|---|
ACCESS4_READ | |
ACCESS4_LOOKUP | |
ACCESS4_MODIFY | |
ACCESS4_EXTEND | |
ACCESS4_DELETE | |
ACCESS4_EXECUTE |
Definition at line 292 of file nfs41_ops.h.
anonymous enum |
Enumerator | |
---|---|
READ_LT | |
WRITE_LT | |
READW_LT | |
WRITEW_LT |
Definition at line 398 of file nfs41_ops.h.
anonymous enum |
Definition at line 563 of file nfs41_ops.h.
anonymous enum |
Enumerator | |
---|---|
OPEN4_RESULT_CONFIRM | |
OPEN4_RESULT_LOCKTYPE_POSIX | |
OPEN4_RESULT_PRESERVE_UNLINKED | |
OPEN4_RESULT_MAY_NOTIFY_LOCK |
Definition at line 650 of file nfs41_ops.h.
Enumerator | |
---|---|
CDFC4_FORE | |
CDFC4_BACK | |
CDFC4_FORE_OR_BOTH | |
CDFC4_BACK_OR_BOTH |
Definition at line 182 of file nfs41_ops.h.
Enumerator | |
---|---|
CDFS4_FORE | |
CDFS4_BACK | |
CDFS4_BOTH |
Definition at line 189 of file nfs41_ops.h.
Enumerator | |
---|---|
UNCHECKED4 | |
GUARDED4 | |
EXCLUSIVE4 | |
EXCLUSIVE4_1 |
Definition at line 539 of file nfs41_ops.h.
Definition at line 30 of file nfs41_ops.h.
Enumerator | |
---|---|
CLAIM_NULL | |
CLAIM_PREVIOUS | |
CLAIM_DELEGATE_CUR | |
CLAIM_DELEGATE_PREV | |
CLAIM_FH | |
CLAIM_DELEG_CUR_FH | |
CLAIM_DELEG_PREV_FH |
Definition at line 592 of file nfs41_ops.h.
Enumerator | |
---|---|
OPEN_DELEGATE_NONE | |
OPEN_DELEGATE_READ | |
OPEN_DELEGATE_WRITE | |
OPEN_DELEGATE_NONE_EXT |
Definition at line 585 of file nfs41_ops.h.
Enumerator | |
---|---|
OPEN4_NOCREATE | |
OPEN4_CREATE |
Definition at line 552 of file nfs41_ops.h.
Enumerator | |
---|---|
RPC_GSS_SVC_NONE | |
RPC_GSS_SVC_INTEGRITY | |
RPC_GSS_SVC_PRIVACY |
Definition at line 861 of file nfs41_ops.h.
Enumerator | |
---|---|
SECINFO_STYLE4_CURRENT_FH | |
SECINFO_STYLE4_PARENT |
Definition at line 884 of file nfs41_ops.h.
Enumerator | |
---|---|
UNSTABLE4 | |
DATA_SYNC4 | |
FILE_SYNC4 |
Definition at line 835 of file nfs41_ops.h.
Enumerator | |
---|---|
SP4_NONE | |
SP4_MACH_CRED | |
SP4_SSV |
Definition at line 110 of file nfs41_ops.h.
Enumerator | |
---|---|
STATEID_OPEN | |
STATEID_LOCK | |
STATEID_DELEG_FILE | |
STATEID_DELEG_DIR | |
STATEID_LAYOUT | |
STATEID_SPECIAL |
Definition at line 275 of file nfs41_ops.h.
Enumerator | |
---|---|
SET_TO_SERVER_TIME4 | |
SET_TO_CLIENT_TIME4 |
Definition at line 776 of file nfs41_ops.h.
Enumerator | |
---|---|
WND4_NOT_WANTED | |
WND4_CONTENTION | |
WND4_RESOURCE | |
WND4_NOT_SUPP_FTYPE | |
WND4_WRITE_DELEG_NOT_SUPP_FTYPE | |
WND4_NOT_SUPP_UPGRADE | |
WND4_NOT_SUPP_DOWNGRADE | |
WND4_CANCELED | |
WND4_IS_DIR |
Definition at line 602 of file nfs41_ops.h.
int nfs41_access | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN uint32_t | requested, | ||
OUT uint32_t *supported | OPTIONAL, | ||
OUT uint32_t *access | OPTIONAL | ||
) |
Definition at line 1554 of file nfs41_ops.c.
Referenced by check_execute_access().
enum nfsstat4 nfs41_bind_conn_to_session | ( | IN nfs41_rpc_clnt * | rpc, |
IN const unsigned char * | sessionid, | ||
IN enum channel_dir_from_client4 | dir | ||
) |
Definition at line 185 of file nfs41_ops.c.
Referenced by compound_encode_send_decode(), and rpc_reconnect().
int nfs41_cached_getattr | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
OUT nfs41_file_info * | info | ||
) |
Definition at line 32 of file getattr.c.
Referenced by handle_getattr(), and readdir_add_dots().
int nfs41_close | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN stateid_arg * | stateid | ||
) |
Definition at line 627 of file nfs41_ops.c.
Referenced by cancel_open(), do_nfs41_close(), get_ea_value(), recover_delegation_open(), and set_ea_value().
int nfs41_commit | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN uint64_t | offset, | ||
IN uint32_t | count, | ||
IN bool_t | do_getattr, | ||
OUT nfs41_write_verf * | verf, | ||
OUT nfs41_file_info * | cinfo | ||
) |
Definition at line 833 of file nfs41_ops.c.
Referenced by file_layout_write_thread(), mds_commit(), and write_to_mds().
int nfs41_create | ( | IN nfs41_session * | session, |
IN uint32_t | type, | ||
IN nfs41_file_info * | createattrs, | ||
IN OPTIONAL const char * | symlink, | ||
IN nfs41_path_fh * | parent, | ||
OUT nfs41_path_fh * | file, | ||
OUT nfs41_file_info * | info | ||
) |
Definition at line 530 of file nfs41_ops.c.
Referenced by handle_open(), and handle_symlink().
int nfs41_create_session | ( | IN nfs41_client * | clnt, |
OUT nfs41_session * | session, | ||
IN bool_t | try_recovery | ||
) |
int nfs41_delegpurge | ( | IN nfs41_session * | session | ) |
Definition at line 1666 of file nfs41_ops.c.
Referenced by nfs41_client_delegation_recovery().
int nfs41_delegreturn | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN stateid_arg * | stateid, | ||
IN bool_t | try_recovery | ||
) |
Definition at line 1693 of file nfs41_ops.c.
Referenced by delegation_return(), nfs41_delegation_granted(), and open_delegation_return().
int nfs41_destroy_clientid | ( | IN nfs41_rpc_clnt * | rpc, |
IN uint64_t | clientid | ||
) |
Definition at line 242 of file nfs41_ops.c.
Referenced by nfs41_client_free().
int nfs41_destroy_session | ( | IN nfs41_session * | session | ) |
Definition at line 214 of file nfs41_ops.c.
Referenced by nfs41_session_free().
int nfs41_exchange_id | ( | IN nfs41_rpc_clnt * | rpc, |
IN client_owner4 * | owner, | ||
IN uint32_t | flags_in, | ||
OUT nfs41_exchange_id_res * | res_out | ||
) |
Definition at line 36 of file nfs41_ops.c.
Referenced by nfs41_client_renew(), and nfs41_root_mount_addrs().
Definition at line 1870 of file nfs41_ops.c.
Referenced by nfs41_client_state_revoked().
enum nfsstat4 nfs41_fs_locations | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | parent, | ||
IN const nfs41_component * | name, | ||
OUT fs_locations4 * | locations | ||
) |
Definition at line 1737 of file nfs41_ops.c.
Referenced by referral_resolve().
int nfs41_getattr | ( | IN nfs41_session * | session, |
IN OPTIONAL nfs41_path_fh * | file, | ||
IN bitmap4 * | attr_request, | ||
OUT nfs41_file_info * | info | ||
) |
Definition at line 1063 of file nfs41_ops.c.
Referenced by get_volume_size_info(), handle_getacl(), nfs41_cached_getattr(), pnfs_write(), session_get_lease(), and write_to_mds().
int nfs41_link | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | src, | ||
IN nfs41_path_fh * | dst_dir, | ||
IN const nfs41_component * | target, | ||
OUT nfs41_file_info * | cinfo | ||
) |
Definition at line 1407 of file nfs41_ops.c.
int nfs41_lock | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN state_owner4 * | owner, | ||
IN uint32_t | type, | ||
IN uint64_t | offset, | ||
IN uint64_t | length, | ||
IN bool_t | reclaim, | ||
IN bool_t | try_recovery, | ||
IN OUT stateid_arg * | stateid | ||
) |
Definition at line 904 of file nfs41_ops.c.
Referenced by delegation_flush_locks(), handle_lock(), and recover_locks().
int nfs41_lookup | ( | IN nfs41_root * | root, |
IN nfs41_session * | session, | ||
IN OUT nfs41_abs_path * | path, | ||
OUT OPTIONAL nfs41_path_fh * | parent_out, | ||
OUT OPTIONAL nfs41_path_fh * | target_out, | ||
OUT OPTIONAL nfs41_file_info * | info_out, | ||
OUT nfs41_session ** | session_out | ||
) |
Definition at line 424 of file lookup.c.
Referenced by handle_mount(), handle_open(), lookup_entry(), lookup_symlink(), nfs41_lookup(), and nfs41_symlink_follow().
int nfs41_open | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | parent, | ||
IN nfs41_path_fh * | file, | ||
IN state_owner4 * | owner, | ||
IN open_claim4 * | claim, | ||
IN uint32_t | allow, | ||
IN uint32_t | deny, | ||
IN uint32_t | create, | ||
IN uint32_t | how_mode, | ||
IN OPTIONAL nfs41_file_info * | createattrs, | ||
IN bool_t | try_recovery, | ||
OUT stateid4 * | stateid, | ||
OUT open_delegation4 * | delegation, | ||
OUT OPTIONAL nfs41_file_info * | info | ||
) |
Definition at line 366 of file nfs41_ops.c.
Referenced by do_open(), get_ea_value(), nfs41_delegation_to_open(), recover_open_grace(), recover_open_no_grace(), and set_ea_value().
int nfs41_read | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN stateid_arg * | stateid, | ||
IN uint64_t | offset, | ||
IN uint32_t | count, | ||
OUT unsigned char * | data_out, | ||
OUT uint32_t * | data_len_out, | ||
OUT bool_t * | eof_out | ||
) |
Definition at line 774 of file nfs41_ops.c.
Referenced by file_layout_read_thread(), get_ea_value(), and read_from_mds().
int nfs41_readdir | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN bitmap4 * | attr_request, | ||
IN nfs41_readdir_cookie * | cookie, | ||
OUT unsigned char * | entries, | ||
IN OUT uint32_t * | entries_len, | ||
OUT bool_t * | eof_out | ||
) |
Definition at line 1010 of file nfs41_ops.c.
Referenced by handle_readdir(), and read_entire_dir().
int nfs41_readlink | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN uint32_t | max_len, | ||
OUT char * | link_out, | ||
OUT uint32_t * | len_out | ||
) |
Definition at line 1511 of file nfs41_ops.c.
Referenced by handle_symlink(), and nfs41_symlink_target().
enum nfsstat4 nfs41_reclaim_complete | ( | IN nfs41_session * | session | ) |
Definition at line 268 of file nfs41_ops.c.
Referenced by nfs41_recover_client_state(), nfs41_recover_sequence_flags(), recover_delegation_open(), recover_delegation_want(), recover_locks(), recover_open(), and root_client_create().
int nfs41_remove | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | parent, | ||
IN const nfs41_component * | target, | ||
IN uint64_t | fileid | ||
) |
Definition at line 1180 of file nfs41_ops.c.
Referenced by cancel_open(), handle_close(), handle_nfs41_remove(), handle_open(), handle_symlink(), and set_ea_value().
int nfs41_rename | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | src_dir, | ||
IN const nfs41_component * | src_name, | ||
IN nfs41_path_fh * | dst_dir, | ||
IN const nfs41_component * | dst_name | ||
) |
Definition at line 1247 of file nfs41_ops.c.
enum nfsstat4 nfs41_rpc_openattr | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN bool_t | createdir, | ||
OUT nfs41_fh * | fh_out | ||
) |
Definition at line 2145 of file nfs41_ops.c.
Referenced by nfs41_ea_set().
int nfs41_secinfo | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN const nfs41_component * | name, | ||
OUT nfs41_secinfo_info * | secinfo | ||
) |
Definition at line 1785 of file nfs41_ops.c.
Referenced by compound_encode_send_decode().
int nfs41_secinfo_noname | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
OUT nfs41_secinfo_info * | secinfo | ||
) |
Definition at line 1828 of file nfs41_ops.c.
Referenced by compound_encode_send_decode().
int nfs41_send_sequence | ( | IN nfs41_session * | session | ) |
Definition at line 1599 of file nfs41_ops.c.
Referenced by renew_session().
int nfs41_setattr | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN stateid_arg * | stateid, | ||
IN nfs41_file_info * | info | ||
) |
Definition at line 1351 of file nfs41_ops.c.
Referenced by delegation_truncate(), handle_nfs41_set_size(), handle_setacl(), and handle_setexattr().
int nfs41_superblock_getattr | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN bitmap4 * | attr_request, | ||
OUT nfs41_file_info * | info, | ||
OUT bool_t * | supports_named_attrs | ||
) |
Definition at line 1116 of file nfs41_ops.c.
Referenced by get_superblock_attrs().
int nfs41_symlink_follow | ( | IN nfs41_root * | root, |
IN nfs41_session * | session, | ||
IN nfs41_path_fh * | symlink, | ||
OUT nfs41_file_info * | info | ||
) |
Definition at line 146 of file symlink.c.
Referenced by handle_getattr(), handle_open(), and lookup_symlink().
int nfs41_symlink_target | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
OUT nfs41_abs_path * | target | ||
) |
Definition at line 92 of file symlink.c.
Referenced by handle_open(), and nfs41_symlink_follow().
enum nfsstat4 nfs41_test_stateid | ( | IN nfs41_session * | session, |
IN stateid_arg * | stateid_array, | ||
IN uint32_t | count, | ||
OUT uint32_t * | status_array | ||
) |
Definition at line 1900 of file nfs41_ops.c.
Referenced by nfs41_client_state_revoked().
int nfs41_unlock | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN uint64_t | offset, | ||
IN uint64_t | length, | ||
IN OUT stateid_arg * | stateid | ||
) |
Definition at line 966 of file nfs41_ops.c.
Referenced by cancel_lock(), and handle_unlock().
enum nfsstat4 nfs41_want_delegation | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN deleg_claim4 * | claim, | ||
IN uint32_t | want, | ||
IN bool_t | try_recovery, | ||
OUT open_delegation4 * | delegation | ||
) |
Definition at line 1624 of file nfs41_ops.c.
Referenced by recover_delegation_want().
int nfs41_write | ( | IN nfs41_session * | session, |
IN nfs41_path_fh * | file, | ||
IN stateid_arg * | stateid, | ||
IN unsigned char * | data, | ||
IN uint32_t | data_len, | ||
IN uint64_t | offset, | ||
IN enum stable_how4 | stable, | ||
OUT uint32_t * | bytes_written, | ||
OUT nfs41_write_verf * | verf, | ||
OUT nfs41_file_info * | cinfo | ||
) |
Definition at line 685 of file nfs41_ops.c.