ReactOS 0.4.15-dev-7924-g5949c20
nfs41_ops.h
Go to the documentation of this file.
1/* NFSv4.1 client for Windows
2 * Copyright © 2012 The Regents of the University of Michigan
3 *
4 * Olga Kornievskaia <aglo@umich.edu>
5 * Casey Bodley <cbodley@umich.edu>
6 *
7 * This library is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2.1 of the License, or (at
10 * your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful, but
13 * without any warranty; without even the implied warranty of merchantability
14 * or fitness for a particular purpose. See the GNU Lesser General Public
15 * License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 */
21
22#ifndef __NFS41_NFS_OPS_H__
23#define __NFS41_NFS_OPS_H__
24
25#include "nfs41.h"
26#include "pnfs.h"
27
28
29/* Operation arrays */
39 OP_LINK = 11,
40 OP_LOCK = 12,
46 OP_OPEN = 18,
48 OP_OPEN_CONFIRM = 20, /* Mandatory not-to-implement */
53 OP_READ = 25,
58 OP_RENEW = 30, /* Mandatory not-to-implement */
63 OP_SETCLIENTID = 35, /* Mandatory not-to-implement */
64 OP_SETCLIENTID_CONFIRM = 36, /* Mandatory not-to-implement */
67 OP_RELEASE_LOCKOWNER = 39, /* Mandatory not-to-implement */
68
69 /* new operations for NFSv4.1 */
89 OP_ILLEGAL = 10044
90};
91
92
93/* OP_EXCHANGE_ID */
94enum {
97
99
103
105
107 EXCHGID4_FLAG_CONFIRMED_R = 0x80000000
109
110typedef enum {
113 SP4_SSV = 2
115
116typedef struct __state_protect4_a {
119
126
127typedef struct __state_protect4_r {
130
141
144 union {
145 /* case AUTH_SYS */
146 struct __authsys_parms {
150 /* case RPCSEC_GSS */
151 struct __rpcsec_gss_parms {
158 } u;
160
161/* OP_CREATE_SESSION */
171
173 unsigned char *csr_sessionid;
179
180
181/* OP_BIND_CONN_TO_SESSION */
188
192 CDFS4_BOTH = 0x3
194
196 unsigned char *sessionid;
199
202 /* case NFS4_OK: */
205
206
207/* OP_DESTROY_SESSION */
209 unsigned char *dsa_sessionid;
211
215
216
217/* OP_DESTROY_CLIENTID */
221
225
226
227/* OP_SEQUENCE */
228typedef struct __nfs41_sequence_args {
229 unsigned char *sa_sessionid;
235
236enum {
249 SEQ4_STATUS_DEVID_DELETED = 0x00001000
251
260
261typedef struct __nfs41_sequence_res {
263 /* case NFS4_OK: */
266
267
268/* OP_RECLAIM_COMPLETE */
272
273
274/* recoverable stateid argument */
283typedef struct __stateid_arg {
289
290
291/* OP_ACCESS */
292enum {
293 ACCESS4_READ = 0x00000001,
294 ACCESS4_LOOKUP = 0x00000002,
295 ACCESS4_MODIFY = 0x00000004,
296 ACCESS4_EXTEND = 0x00000008,
297 ACCESS4_DELETE = 0x00000010,
298 ACCESS4_EXECUTE = 0x00000020
300
301typedef struct __nfs41_access_args {
304
305typedef struct __nfs41_access_res {
307 /* case NFS4_OK: */
311
312
313/* OP_CLOSE */
314typedef struct __nfs41_op_close_args {
315// uint32_t seqid; // not used, always 0
318
319typedef struct __nfs41_op_close_res {
322
323
324/* OP_COMMIT */
325typedef struct __nfs41_commit_args {
329
330typedef struct __nfs41_commit_res {
334
335
336/* OP_CREATE */
337typedef struct __specdata4 {
341
342typedef struct __createtype4 {
344 union {
345 /* case NF4LNK: */
346 struct __create_type_lnk {
348 const char *linkdata;
350 /* case NF4BLK, NF4CHR: */
352 } u;
354
355typedef struct __nfs41_create_args {
360
361typedef struct __nfs41_create_res {
363 /* case NFS4_OK: */
367
368
369/* OP_DELEGPURGE */
373
374
375/* OP_DELEGRETURN */
379
383
384
385/* OP_LINK */
386typedef struct __nfs41_link_args {
389
390typedef struct __nfs41_link_res {
392 /* case NFS4_OK */
395
396
397/* OP_LOCK */
398enum {
401 READW_LT = 3, /* blocking read */
402 WRITEW_LT = 4 /* blocking write */
404
405typedef struct __open_to_lock_owner4 {
411
412typedef struct __exist_lock_owner4 {
416
417typedef struct __locker4 {
419 union {
420 /* case TRUE: */
422 /* case FALSE: */
424 } u;
426
427typedef struct __nfs41_lock_args {
434
435typedef struct __lock_res_denied {
441
442typedef struct __lock_res_ok {
445
446typedef struct __nfs41_lock_res {
448 union {
449 /* case NFS4_OK: */
451 /* case NFS4ERR_DENIED: */
453 /* default: void; */
454 } u;
456
457
458/* OP_LOCKT */
459typedef struct __nfs41_lockt_args {
465
466typedef struct __nfs41_lockt_res {
468 /* case NFS4ERR_DENIED: */
470 /* default: void; */
472
473
474/* OP_LOCKU */
475typedef struct __nfs41_locku_args {
482
483typedef struct __nfs41_locku_res {
485 /* case NFS4_OK: */
488
489
490/* OP_LOOKUP */
491typedef struct __nfs41_lookup_args {
494
495typedef struct __nfs41_lookup_res {
498
499
500/* OP_GETFH */
501typedef struct __nfs41_getfh_res {
503 /* case NFS4_OK: */
506
507
508/* OP_PUTFH */
509typedef struct __nfs41_putfh_args {
513
514typedef struct __nfs41_putfh_res {
517
518
519/* OP_PUTROOTFH */
520typedef struct __nfs41_putrootfh_res {
523
524
525/* OP_GETATTR */
526typedef struct __nfs41_getattr_args {
529
530typedef struct __nfs41_getattr_res {
532 /* case NFS4_OK: */
536
537
538/* OP_OPEN */
543 EXCLUSIVE4_1 = 3
545
546typedef struct __createhow4 {
551
554 OPEN4_CREATE = 1
556
557typedef struct __openflag4 {
559 /* case OPEN4_CREATE: */
562
563enum {
567
572
580
584
591
601
611 WND4_IS_DIR = 8
613
614typedef struct __open_claim4 {
616 union {
617 /* case CLAIM_NULL: */
618 struct __open_claim_null {
621 /* case CLAIM_PREVIOUS: */
622 struct __open_claim_prev {
625 /* case CLAIM_DELEGATE_CUR: */
626 struct __open_claim_deleg_cur {
630 /* case CLAIM_DELEG_CUR_FH: */
631 struct __open_claim_deleg_cur_fh {
632 stateid_arg *delegate_stateid;
634 /* case CLAIM_DELEGATE_PREV: */
635 struct __open_claim_deleg_prev {
638 } u;
640
641typedef struct __nfs41_op_open_args {
649
650enum {
656
664
665typedef struct __nfs41_op_open_res {
667 /* case NFS4_OK: */
670
671
672/* OP_OPENATTR */
673typedef struct __nfs41_openattr_args {
676
677typedef struct __nfs41_openattr_res {
680
681
682/* OP_READ */
683typedef struct __nfs41_read_args {
684 stateid_arg *stateid; /* -> nfs41_op_open_res_ok.stateid */
688
689typedef struct __nfs41_read_res_ok {
692 unsigned char *data; /* caller-allocated */
694
695typedef struct __nfs41_read_res {
697 /* case NFS4_OK: */
700
701
702/* OP_READDIR */
703typedef struct __nfs41_readdir_args {
709
710typedef struct __nfs41_readdir_entry {
715 char name[1];
717
718typedef struct __nfs41_readdir_list {
721 unsigned char *entries;
724
725typedef struct __nfs41_readdir_res {
727 /* case NFS4_OK: */
731
732
733/* OP_READLINK */
734typedef struct __nfs41_readlink_res {
736 /* case NFS4_OK: */
738 char *link;
740
741
742/* OP_REMOVE */
743typedef struct __nfs41_remove_args {
746
747typedef struct __nfs41_remove_res {
749 /* case NFS4_OK: */
752
753
754/* OP_RENAME */
755typedef struct __nfs41_rename_args {
759
760typedef struct __nfs41_rename_res {
762 /* case NFS4_OK: */
766
767
768/* OP_RESTOREFH */
769/* OP_SAVEFH */
773
774
775/* OP_SETATTR */
780
781typedef struct __nfs41_setattr_args {
785
786typedef struct __nfs41_setattr_res {
790
791
792/* OP_WANT_DELEGATION */
793typedef struct __deleg_claim4 {
795 /* case CLAIM_PREVIOUS: */
798
803
806 /* case NFS4_OK: */
809/* OP_FREE_STATEID */
813
817
818
819/* OP_TEST_STATEID */
822 stateid_arg *stateids; // caller-allocated array
824
827 struct {
829 uint32_t *status; // caller-allocated array
832
833
834/* OP_WRITE */
838 FILE_SYNC4 = 2
840
841typedef struct __nfs41_write_args {
842 stateid_arg *stateid; /* -> nfs41_op_open_res_ok.stateid */
844 uint32_t stable; /* stable_how4 */
846 unsigned char *data; /* caller-allocated */
848
849typedef struct __nfs41_write_res_ok {
853
854typedef struct __nfs41_write_res {
856 /* case NFS4_OK: */
859
860/* OP_SECINFO */
865};
866
867#define RPCSEC_GSS 6
868#define MAX_OID_LEN 128
869typedef struct __nfs41_secinfo_info {
876
877typedef struct __nfs41_secinfo_args {
880
881#define MAX_SECINFOS 6
882
883/* OP_SECINFO_NO_NAME */
888
890#ifdef __REACTOS__
892#else
893 enum secinfo_noname_type type;
894#endif
896
899 /* case NFS4_OK: */
903
904/* LAYOUTGET */
905typedef struct __pnfs_layoutget_args {
915
920 struct list_entry layouts; /* list of pnfs_layouts */
922
923typedef struct __pnfs_layoutget_res {
925 union {
926 /* case NFS4_OK: */
928 /* case NFS4ERR_LAYOUTTRYLATER: */
930 /* default: void; */
931 } u;
933
934
935/* LAYOUTCOMMIT */
943
946 /* case NFS4_OK */
948 /* case TRUE */
951
952
953/* LAYOUTRETURN */
959 /* case LAYOUTRETURN4_FILE: */
964
967 /* case NFS4_OK: */
969 /* case true: */
972
973
974/* GETDEVICEINFO */
976 unsigned char *deviceid;
981
986
989 union {
990 /* case NFS4_OK: */
992 /* case NFS4ERR_TOOSMALL: */
994 /* default: void; */
995 } u;
997
998
999/* nfs41_ops.c */
1001 IN nfs41_rpc_clnt *rpc,
1002 IN client_owner4 *owner,
1003 IN uint32_t flags_in,
1004 OUT nfs41_exchange_id_res *res_out);
1005
1007 IN nfs41_client *clnt,
1009 IN bool_t try_recovery);
1010
1012 IN nfs41_rpc_clnt *rpc,
1013 IN const unsigned char *sessionid,
1015
1018
1020 IN nfs41_rpc_clnt *rpc,
1021 IN uint64_t clientid);
1022
1025
1028
1029int nfs41_lookup(
1033 OUT OPTIONAL nfs41_path_fh *parent_out,
1034 OUT OPTIONAL nfs41_path_fh *target_out,
1035 OUT OPTIONAL nfs41_file_info *info_out,
1036 OUT nfs41_session **session_out);
1037
1038int nfs41_open(
1042 IN state_owner4 *owner,
1043 IN open_claim4 *claim,
1044 IN uint32_t allow,
1045 IN uint32_t deny,
1047 IN uint32_t how_mode,
1048 IN OPTIONAL nfs41_file_info *createattrs,
1049 IN bool_t try_recovery,
1050 OUT stateid4 *stateid,
1051 OUT open_delegation4 *delegation,
1053
1054int nfs41_create(
1057 IN nfs41_file_info *createattrs,
1058 IN OPTIONAL const char *symlink,
1062
1063int nfs41_close(
1066 IN stateid_arg *stateid);
1067
1068int nfs41_write(
1071 IN stateid_arg *stateid,
1072 IN unsigned char *data,
1073 IN uint32_t data_len,
1075 IN enum stable_how4 stable,
1076 OUT uint32_t *bytes_written,
1077 OUT nfs41_write_verf *verf,
1078 OUT nfs41_file_info *cinfo);
1079
1080int nfs41_read(
1083 IN stateid_arg *stateid,
1086 OUT unsigned char *data_out,
1087 OUT uint32_t *data_len_out,
1088 OUT bool_t *eof_out);
1089
1090int nfs41_commit(
1095 IN bool_t do_getattr,
1096 OUT nfs41_write_verf *verf,
1097 OUT nfs41_file_info *cinfo);
1098
1099int nfs41_lock(
1102 IN state_owner4 *owner,
1106 IN bool_t reclaim,
1107 IN bool_t try_recovery,
1108 IN OUT stateid_arg *stateid);
1109
1110int nfs41_unlock(
1115 IN OUT stateid_arg *stateid);
1116
1118 IN nfs41_lock_state *lock_state,
1119 IN OUT stateid4 *dest);
1120
1121int nfs41_readdir(
1124 IN bitmap4 *attr_request,
1126 OUT unsigned char *entries,
1127 IN OUT uint32_t *entries_len,
1128 OUT bool_t *eof_out);
1129
1130int nfs41_getattr(
1133 IN bitmap4 *attr_request,
1135
1139 IN bitmap4 *attr_request,
1141 OUT bool_t *supports_named_attrs);
1142
1143/* getattr.c */
1148
1149int nfs41_remove(
1152 IN const nfs41_component *target,
1153 IN uint64_t fileid);
1154
1155int nfs41_rename(
1157 IN nfs41_path_fh *src_dir,
1158 IN const nfs41_component *src_name,
1159 IN nfs41_path_fh *dst_dir,
1160 IN const nfs41_component *dst_name);
1161
1162int nfs41_setattr(
1165 IN stateid_arg *stateid,
1167
1168int nfs41_link(
1171 IN nfs41_path_fh *dst_dir,
1172 IN const nfs41_component *target,
1173 OUT nfs41_file_info *cinfo);
1174
1175/* symlink.c */
1180
1184 IN nfs41_path_fh *symlink,
1186
1187int nfs41_readlink(
1190 IN uint32_t max_len,
1191 OUT char *link_out,
1192 OUT uint32_t *len_out);
1193
1194int nfs41_access(
1197 IN uint32_t requested,
1198 OUT uint32_t *supported OPTIONAL,
1200
1204 IN deleg_claim4 *claim,
1205 IN uint32_t want,
1206 IN bool_t try_recovery,
1207 OUT open_delegation4 *delegation);
1208
1211
1215 IN stateid_arg *stateid,
1216 IN bool_t try_recovery);
1217
1221 IN const nfs41_component *name,
1223
1224int nfs41_secinfo(
1227 IN const nfs41_component *name,
1228 OUT nfs41_secinfo_info *secinfo);
1229
1233 OUT nfs41_secinfo_info *secinfo);
1234
1237 IN stateid4 *stateid);
1238
1243 OUT uint32_t *status_array);
1244
1248 IN stateid_arg *stateid,
1249 IN enum pnfs_iomode iomode,
1251 IN uint64_t minlength,
1253 OUT pnfs_layoutget_res_ok *layoutget_res);
1254
1258 IN stateid4 *stateid,
1261 IN OPTIONAL uint64_t *new_last_offset,
1262 IN OPTIONAL nfstime4 *new_time_modify,
1264
1269 IN enum pnfs_iomode iomode,
1272 IN stateid4 *stateid,
1273 OUT pnfs_layoutreturn_res *layoutreturn_res);
1274
1277 IN unsigned char *deviceid,
1279
1283 IN bool_t createdir,
1284 OUT nfs41_fh *fh_out);
1285
1286#endif /* !__NFS41_NFS_OPS_H__ */
unsigned int dir
Definition: maze.c:112
static uint32_t stateid_array(IN struct list_entry *delegations, IN struct list_entry *opens, OUT stateid_arg **stateids_out, OUT uint32_t **statuses_out)
Definition: recovery.c:547
int32_t bool_t
Definition: types.h:101
UINT32 uint32_t
Definition: types.h:75
UINT64 uint64_t
Definition: types.h:77
r parent
Definition: btrfs.c:3010
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLenum src
Definition: glext.h:6340
GLsizei const GLint * locations
Definition: glext.h:10542
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
GLuint GLint GLboolean GLint GLenum access
Definition: glext.h:7866
GLintptr offset
Definition: glext.h:5920
GLenum target
Definition: glext.h:7315
const char * filename
Definition: ioapi.h:137
static const struct access_res create[16]
Definition: package.c:7644
static char * dest
Definition: rtl.c:135
#define NFS4_VERIFIER_SIZE
Definition: nfs41_const.h:30
#define NFS4_SESSIONID_SIZE
Definition: nfs41_const.h:32
nfsstat4
Definition: nfs41_const.h:86
#define NFS4_OPAQUE_LIMIT
Definition: nfs41_const.h:31
struct __nfs41_read_res_ok nfs41_read_res_ok
struct __nfs41_destroy_session_args nfs41_destroy_session_args
struct __nfs41_putfh_args nfs41_putfh_args
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: nfs41_ops.c:366
struct __nfs41_rename_res nfs41_rename_res
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: nfs41_ops.c:774
stateid4 * nfs41_lock_stateid_copy(IN nfs41_lock_state *lock_state, IN OUT stateid4 *dest)
struct __nfs41_restorefh_savefh_res nfs41_restorefh_res
struct __nfs41_readdir_entry nfs41_readdir_entry
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: nfs41_ops.c:1554
enum nfsstat4 nfs41_rpc_openattr(IN nfs41_session *session, IN nfs41_path_fh *file, IN bool_t createdir, OUT nfs41_fh *fh_out)
Definition: nfs41_ops.c:2145
@ OPEN4_SHARE_ACCESS_WANT_READ_DELEG
Definition: nfs41_ops.h:575
@ OPEN4_SHARE_ACCESS_WRITE
Definition: nfs41_ops.h:565
@ OPEN4_SHARE_DENY_READ
Definition: nfs41_ops.h:569
@ OPEN4_SHARE_ACCESS_WANT_PUSH_DELEG_WHEN_UNCONTENDED
Definition: nfs41_ops.h:582
@ OPEN4_SHARE_ACCESS_WANT_NO_DELEG
Definition: nfs41_ops.h:578
@ OPEN4_SHARE_ACCESS_BOTH
Definition: nfs41_ops.h:566
@ OPEN4_SHARE_DENY_WRITE
Definition: nfs41_ops.h:570
@ OPEN4_SHARE_ACCESS_WANT_DELEG_MASK
Definition: nfs41_ops.h:573
@ OPEN4_SHARE_ACCESS_WANT_WRITE_DELEG
Definition: nfs41_ops.h:576
@ OPEN4_SHARE_DENY_NONE
Definition: nfs41_ops.h:568
@ OPEN4_SHARE_ACCESS_READ
Definition: nfs41_ops.h:564
@ OPEN4_SHARE_ACCESS_WANT_SIGNAL_DELEG_WHEN_RESRC_AVAIL
Definition: nfs41_ops.h:581
@ OPEN4_SHARE_ACCESS_WANT_NO_PREFERENCE
Definition: nfs41_ops.h:574
@ OPEN4_SHARE_DENY_BOTH
Definition: nfs41_ops.h:571
@ OPEN4_SHARE_ACCESS_WANT_CANCEL
Definition: nfs41_ops.h:579
@ OPEN4_SHARE_ACCESS_WANT_ANY_DELEG
Definition: nfs41_ops.h:577
enum nfsstat4 nfs41_free_stateid(IN nfs41_session *session, IN stateid4 *stateid)
Definition: nfs41_ops.c:1870
struct __openflag4 openflag4
struct __pnfs_layoutreturn_res pnfs_layoutreturn_res
struct __pnfs_getdeviceinfo_res pnfs_getdeviceinfo_res
open_delegation_type4
Definition: nfs41_ops.h:585
@ OPEN_DELEGATE_NONE_EXT
Definition: nfs41_ops.h:589
@ OPEN_DELEGATE_NONE
Definition: nfs41_ops.h:586
@ OPEN_DELEGATE_READ
Definition: nfs41_ops.h:587
@ OPEN_DELEGATE_WRITE
Definition: nfs41_ops.h:588
struct __exist_lock_owner4 exist_lock_owner4
struct __nfs41_openattr_res nfs41_openattr_res
struct __nfs41_op_close_args nfs41_op_close_args
struct __nfs41_op_close_res nfs41_op_close_res
struct __nfs41_lookup_args nfs41_lookup_args
struct __nfs41_destroy_clientid_args nfs41_destroy_clientid_args
stable_how4
Definition: nfs41_ops.h:835
@ FILE_SYNC4
Definition: nfs41_ops.h:838
@ DATA_SYNC4
Definition: nfs41_ops.h:837
@ UNSTABLE4
Definition: nfs41_ops.h:836
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: nfs41_ops.c:904
@ OPEN4_RESULT_MAY_NOTIFY_LOCK
Definition: nfs41_ops.h:654
@ OPEN4_RESULT_CONFIRM
Definition: nfs41_ops.h:651
@ OPEN4_RESULT_PRESERVE_UNLINKED
Definition: nfs41_ops.h:653
@ OPEN4_RESULT_LOCKTYPE_POSIX
Definition: nfs41_ops.h:652
enum nfsstat4 pnfs_rpc_getdeviceinfo(IN nfs41_session *session, IN unsigned char *deviceid, OUT pnfs_file_device *device)
Definition: nfs41_ops.c:2109
int nfs41_secinfo_noname(IN nfs41_session *session, IN nfs41_path_fh *file, OUT nfs41_secinfo_info *secinfo)
Definition: nfs41_ops.c:1828
struct __nfs41_delegreturn_res nfs41_delegreturn_res
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: nfs41_ops.c:1010
struct __nfs41_op_open_args nfs41_op_open_args
struct __state_protect4_r state_protect4_r
int nfs41_send_sequence(IN nfs41_session *session)
Definition: nfs41_ops.c:1599
struct __nfs41_secinfo_noname_args nfs41_secinfo_noname_args
struct __nfs41_getfh_res nfs41_getfh_res
struct __state_protect4_a state_protect4_a
@ EXCHGID4_FLAG_CONFIRMED_R
Definition: nfs41_ops.h:107
@ EXCHGID4_FLAG_UPD_CONFIRMED_REC_A
Definition: nfs41_ops.h:106
@ EXCHGID4_FLAG_SUPP_MOVED_REFER
Definition: nfs41_ops.h:95
@ EXCHGID4_FLAG_USE_PNFS_MDS
Definition: nfs41_ops.h:101
@ EXCHGID4_FLAG_MASK_PNFS
Definition: nfs41_ops.h:104
@ EXCHGID4_FLAG_SUPP_MOVED_MIGR
Definition: nfs41_ops.h:96
@ EXCHGID4_FLAG_USE_NON_PNFS
Definition: nfs41_ops.h:100
@ EXCHGID4_FLAG_BIND_PRINC_STATEID
Definition: nfs41_ops.h:98
@ EXCHGID4_FLAG_USE_PNFS_DS
Definition: nfs41_ops.h:102
struct __nfs41_setattr_res nfs41_setattr_res
struct __deleg_claim4 deleg_claim4
struct __nfs41_write_res nfs41_write_res
struct __pnfs_layoutget_args pnfs_layoutget_args
struct __nfs41_create_session_args nfs41_create_session_args
enum nfsstat4 nfs41_test_stateid(IN nfs41_session *session, IN stateid_arg *stateid_array, IN uint32_t count, OUT uint32_t *status_array)
Definition: nfs41_ops.c:1900
struct __nfs41_want_delegation_res nfs41_want_delegation_res
opentype4
Definition: nfs41_ops.h:552
@ OPEN4_CREATE
Definition: nfs41_ops.h:554
@ OPEN4_NOCREATE
Definition: nfs41_ops.h:553
enum nfsstat4 nfs41_fs_locations(IN nfs41_session *session, IN nfs41_path_fh *parent, IN const nfs41_component *name, OUT fs_locations4 *locations)
Definition: nfs41_ops.c:1737
struct __open_to_lock_owner4 open_to_lock_owner4
@ ACCESS4_LOOKUP
Definition: nfs41_ops.h:294
@ ACCESS4_DELETE
Definition: nfs41_ops.h:297
@ ACCESS4_EXECUTE
Definition: nfs41_ops.h:298
@ ACCESS4_MODIFY
Definition: nfs41_ops.h:295
@ ACCESS4_READ
Definition: nfs41_ops.h:293
@ ACCESS4_EXTEND
Definition: nfs41_ops.h:296
struct __nfs41_lock_res nfs41_lock_res
struct __nfs41_access_res nfs41_access_res
struct __nfs41_readlink_res nfs41_readlink_res
struct __pnfs_getdeviceinfo_args pnfs_getdeviceinfo_args
struct __nfs41_test_stateid_args nfs41_test_stateid_args
state_protect_how4
Definition: nfs41_ops.h:110
@ SP4_NONE
Definition: nfs41_ops.h:111
@ SP4_MACH_CRED
Definition: nfs41_ops.h:112
@ SP4_SSV
Definition: nfs41_ops.h:113
struct __locker4 locker4
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: nfs41_ops.c:530
int nfs41_symlink_follow(IN nfs41_root *root, IN nfs41_session *session, IN nfs41_path_fh *symlink, OUT nfs41_file_info *info)
Definition: symlink.c:146
createmode4
Definition: nfs41_ops.h:539
@ GUARDED4
Definition: nfs41_ops.h:541
@ EXCLUSIVE4
Definition: nfs41_ops.h:542
@ UNCHECKED4
Definition: nfs41_ops.h:540
@ EXCLUSIVE4_1
Definition: nfs41_ops.h:543
channel_dir_from_server4
Definition: nfs41_ops.h:189
@ CDFS4_BACK
Definition: nfs41_ops.h:191
@ CDFS4_BOTH
Definition: nfs41_ops.h:192
@ CDFS4_FORE
Definition: nfs41_ops.h:190
int nfs41_destroy_session(IN nfs41_session *session)
Definition: nfs41_ops.c:214
struct __nfs41_reclaim_complete_res nfs41_reclaim_complete_res
enum nfsstat4 pnfs_rpc_layoutcommit(IN nfs41_session *session, IN nfs41_path_fh *file, IN stateid4 *stateid, IN uint64_t offset, IN uint64_t length, IN OPTIONAL uint64_t *new_last_offset, IN OPTIONAL nfstime4 *new_time_modify, OUT nfs41_file_info *info)
Definition: nfs41_ops.c:1999
struct __nfs41_restorefh_savefh_res nfs41_savefh_res
struct __nfs41_secinfo_info nfs41_secinfo_info
struct __nfs41_read_args nfs41_read_args
int nfs41_delegreturn(IN nfs41_session *session, IN nfs41_path_fh *file, IN stateid_arg *stateid, IN bool_t try_recovery)
Definition: nfs41_ops.c:1693
struct __nfs41_destroy_session_res nfs41_destroy_session_res
struct __nfs41_exchange_id_res nfs41_exchange_id_res
#define MAX_OID_LEN
Definition: nfs41_ops.h:868
struct __nfs41_write_res_ok nfs41_write_res_ok
struct __nfs41_bind_conn_to_session_args nfs41_bind_conn_to_session_args
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: nfs41_ops.c:1624
int nfs41_remove(IN nfs41_session *session, IN nfs41_path_fh *parent, IN const nfs41_component *target, IN uint64_t fileid)
Definition: nfs41_ops.c:1180
int nfs41_create_session(IN nfs41_client *clnt, OUT nfs41_session *session, IN bool_t try_recovery)
struct __nfs41_readdir_list nfs41_readdir_list
struct __nfs41_sequence_res nfs41_sequence_res
struct __nfs41_test_stateid_res nfs41_test_stateid_res
struct __nfs41_write_args nfs41_write_args
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: nfs41_ops.c:185
struct __createhow4 createhow4
struct __nfs41_remove_args nfs41_remove_args
nfs_opnum4
Definition: nfs41_ops.h:30
@ OP_FREE_STATEID
Definition: nfs41_ops.h:75
@ OP_GETDEVICELIST
Definition: nfs41_ops.h:78
@ OP_RESTOREFH
Definition: nfs41_ops.h:59
@ OP_RECLAIM_COMPLETE
Definition: nfs41_ops.h:88
@ OP_WRITE
Definition: nfs41_ops.h:66
@ OP_SETATTR
Definition: nfs41_ops.h:62
@ OP_DELEGPURGE
Definition: nfs41_ops.h:35
@ OP_PUTPUBFH
Definition: nfs41_ops.h:51
@ OP_DESTROY_SESSION
Definition: nfs41_ops.h:74
@ OP_OPEN
Definition: nfs41_ops.h:46
@ OP_ACCESS
Definition: nfs41_ops.h:31
@ OP_SECINFO_NO_NAME
Definition: nfs41_ops.h:82
@ OP_GETFH
Definition: nfs41_ops.h:38
@ OP_LOOKUPP
Definition: nfs41_ops.h:44
@ OP_GET_DIR_DELEGATION
Definition: nfs41_ops.h:76
@ OP_SETCLIENTID
Definition: nfs41_ops.h:63
@ OP_CREATE_SESSION
Definition: nfs41_ops.h:73
@ OP_GETDEVICEINFO
Definition: nfs41_ops.h:77
@ OP_SECINFO
Definition: nfs41_ops.h:61
@ OP_DESTROY_CLIENTID
Definition: nfs41_ops.h:87
@ OP_RENEW
Definition: nfs41_ops.h:58
@ OP_TEST_STATEID
Definition: nfs41_ops.h:85
@ OP_READLINK
Definition: nfs41_ops.h:55
@ OP_LAYOUTCOMMIT
Definition: nfs41_ops.h:79
@ OP_LOCKU
Definition: nfs41_ops.h:42
@ OP_READDIR
Definition: nfs41_ops.h:54
@ OP_LAYOUTRETURN
Definition: nfs41_ops.h:81
@ OP_LAYOUTGET
Definition: nfs41_ops.h:80
@ OP_OPEN_DOWNGRADE
Definition: nfs41_ops.h:49
@ OP_PUTROOTFH
Definition: nfs41_ops.h:52
@ OP_VERIFY
Definition: nfs41_ops.h:65
@ OP_SAVEFH
Definition: nfs41_ops.h:60
@ OP_EXCHANGE_ID
Definition: nfs41_ops.h:72
@ OP_CLOSE
Definition: nfs41_ops.h:32
@ OP_ILLEGAL
Definition: nfs41_ops.h:89
@ OP_LOCKT
Definition: nfs41_ops.h:41
@ OP_CREATE
Definition: nfs41_ops.h:34
@ OP_RENAME
Definition: nfs41_ops.h:57
@ OP_OPEN_CONFIRM
Definition: nfs41_ops.h:48
@ OP_GETATTR
Definition: nfs41_ops.h:37
@ OP_BIND_CONN_TO_SESSION
Definition: nfs41_ops.h:71
@ OP_SEQUENCE
Definition: nfs41_ops.h:83
@ OP_READ
Definition: nfs41_ops.h:53
@ OP_PUTFH
Definition: nfs41_ops.h:50
@ OP_LOOKUP
Definition: nfs41_ops.h:43
@ OP_RELEASE_LOCKOWNER
Definition: nfs41_ops.h:67
@ OP_LOCK
Definition: nfs41_ops.h:40
@ OP_COMMIT
Definition: nfs41_ops.h:33
@ OP_LINK
Definition: nfs41_ops.h:39
@ OP_WANT_DELEGATION
Definition: nfs41_ops.h:86
@ OP_DELEGRETURN
Definition: nfs41_ops.h:36
@ OP_OPENATTR
Definition: nfs41_ops.h:47
@ OP_NVERIFY
Definition: nfs41_ops.h:45
@ OP_REMOVE
Definition: nfs41_ops.h:56
@ OP_SETCLIENTID_CONFIRM
Definition: nfs41_ops.h:64
@ OP_SET_SSV
Definition: nfs41_ops.h:84
@ OP_BACKCHANNEL_CTL
Definition: nfs41_ops.h:70
struct __pnfs_layoutreturn_args pnfs_layoutreturn_args
int nfs41_getattr(IN nfs41_session *session, IN OPTIONAL nfs41_path_fh *file, IN bitmap4 *attr_request, OUT nfs41_file_info *info)
Definition: nfs41_ops.c:1063
struct __nfs41_readdir_res nfs41_readdir_res
struct __nfs41_exchange_id_args nfs41_exchange_id_args
struct __nfs41_create_res nfs41_create_res
struct __nfs41_lookup_res nfs41_lookup_res
enum nfsstat4 nfs41_reclaim_complete(IN nfs41_session *session)
Definition: nfs41_ops.c:268
int nfs41_setattr(IN nfs41_session *session, IN nfs41_path_fh *file, IN stateid_arg *stateid, IN nfs41_file_info *info)
Definition: nfs41_ops.c:1351
stateid_type
Definition: nfs41_ops.h:275
@ STATEID_DELEG_DIR
Definition: nfs41_ops.h:279
@ STATEID_LAYOUT
Definition: nfs41_ops.h:280
@ STATEID_LOCK
Definition: nfs41_ops.h:277
@ STATEID_DELEG_FILE
Definition: nfs41_ops.h:278
@ STATEID_SPECIAL
Definition: nfs41_ops.h:281
@ STATEID_OPEN
Definition: nfs41_ops.h:276
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: nfs41_ops.c:685
struct __specdata4 specdata4
struct __pnfs_layoutget_res_ok pnfs_layoutget_res_ok
int nfs41_secinfo(IN nfs41_session *session, IN nfs41_path_fh *file, IN const nfs41_component *name, OUT nfs41_secinfo_info *secinfo)
Definition: nfs41_ops.c:1785
struct __nfs41_create_session_res nfs41_create_session_res
int nfs41_cached_getattr(IN nfs41_session *session, IN nfs41_path_fh *file, OUT nfs41_file_info *info)
Definition: getattr.c:32
struct __nfs41_remove_res nfs41_remove_res
struct __nfs41_commit_res nfs41_commit_res
struct __nfs41_delegreturn_args nfs41_delegreturn_args
struct __nfs41_read_res nfs41_read_res
struct __pnfs_layoutcommit_args pnfs_layoutcommit_args
struct __nfs41_free_stateid_args nfs41_free_stateid_args
struct __nfs41_secinfo_args nfs41_secinfo_args
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: nfs41_ops.c:966
struct __createtype4 createtype4
struct __nfs41_bind_conn_to_session_res nfs41_bind_conn_to_session_res
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: nfs41_ops.c:1247
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: lookup.c:424
struct __nfs41_destroy_clientid_res nfs41_destroy_clientid_res
int nfs41_delegpurge(IN nfs41_session *session)
Definition: nfs41_ops.c:1666
struct __nfs41_link_res nfs41_link_res
struct __nfs41_callback_sec_parms nfs41_callback_secparms
sec_flavor
Definition: nfs41_ops.h:861
@ RPC_GSS_SVC_NONE
Definition: nfs41_ops.h:862
@ RPC_GSS_SVC_INTEGRITY
Definition: nfs41_ops.h:863
@ RPC_GSS_SVC_PRIVACY
Definition: nfs41_ops.h:864
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: nfs41_ops.c:1116
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: nfs41_ops.c:1511
struct __nfs41_free_stateid_res nfs41_free_stateid_res
time_how4
Definition: nfs41_ops.h:776
@ SET_TO_SERVER_TIME4
Definition: nfs41_ops.h:777
@ SET_TO_CLIENT_TIME4
Definition: nfs41_ops.h:778
struct __pnfs_layoutget_res pnfs_layoutget_res
struct __nfs41_want_delegation_args nfs41_want_delegation_args
struct __nfs41_getattr_args nfs41_getattr_args
struct __nfs41_link_args nfs41_link_args
struct __nfs41_op_open_res nfs41_op_open_res
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: nfs41_ops.c:1407
struct __pnfs_layoutcommit_res pnfs_layoutcommit_res
@ READ_LT
Definition: nfs41_ops.h:399
@ READW_LT
Definition: nfs41_ops.h:401
@ WRITEW_LT
Definition: nfs41_ops.h:402
@ WRITE_LT
Definition: nfs41_ops.h:400
struct __stateid_arg stateid_arg
struct __nfs41_locku_res nfs41_locku_res
enum nfsstat4 pnfs_rpc_layoutget(IN nfs41_session *session, IN nfs41_path_fh *file, IN stateid_arg *stateid, IN enum pnfs_iomode iomode, IN uint64_t offset, IN uint64_t minlength, IN uint64_t length, OUT pnfs_layoutget_res_ok *layoutget_res)
Definition: nfs41_ops.c:1935
struct __nfs41_lockt_args nfs41_lockt_args
struct __lock_res_ok lock_res_ok
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: nfs41_ops.c:36
struct __nfs41_getattr_res nfs41_getattr_res
int nfs41_destroy_clientid(IN nfs41_rpc_clnt *rpc, IN uint64_t clientid)
Definition: nfs41_ops.c:242
struct __nfs41_delegpurge_res nfs41_delegpurge_res
struct __nfs41_access_args nfs41_access_args
struct __nfs41_sequence_res_ok nfs41_sequence_res_ok
struct __nfs41_readdir_args nfs41_readdir_args
struct __open_claim4 open_claim4
struct __lock_res_denied lock_res_denied
struct __nfs41_lockt_res nfs41_lockt_res
struct __nfs41_create_args nfs41_create_args
struct __nfs41_op_open_res_ok nfs41_op_open_res_ok
struct __nfs41_lock_args nfs41_lock_args
int nfs41_symlink_target(IN nfs41_session *session, IN nfs41_path_fh *file, OUT nfs41_abs_path *target)
Definition: symlink.c:92
struct __nfs41_putfh_res nfs41_putfh_res
struct __nfs41_putrootfh_res nfs41_putrootfh_res
struct __nfs41_setattr_args nfs41_setattr_args
struct __nfs41_rename_args nfs41_rename_args
channel_dir_from_client4
Definition: nfs41_ops.h:182
@ CDFC4_FORE
Definition: nfs41_ops.h:183
@ CDFC4_BACK_OR_BOTH
Definition: nfs41_ops.h:186
@ CDFC4_FORE_OR_BOTH
Definition: nfs41_ops.h:185
@ CDFC4_BACK
Definition: nfs41_ops.h:184
open_claim_type4
Definition: nfs41_ops.h:592
@ CLAIM_NULL
Definition: nfs41_ops.h:593
@ CLAIM_PREVIOUS
Definition: nfs41_ops.h:594
@ CLAIM_DELEG_CUR_FH
Definition: nfs41_ops.h:598
@ CLAIM_DELEGATE_CUR
Definition: nfs41_ops.h:595
@ CLAIM_FH
Definition: nfs41_ops.h:597
@ CLAIM_DELEGATE_PREV
Definition: nfs41_ops.h:596
@ CLAIM_DELEG_PREV_FH
Definition: nfs41_ops.h:599
secinfo_no_name_type
Definition: nfs41_ops.h:884
@ SECINFO_STYLE4_CURRENT_FH
Definition: nfs41_ops.h:885
@ SECINFO_STYLE4_PARENT
Definition: nfs41_ops.h:886
why_no_delegation4
Definition: nfs41_ops.h:602
@ WND4_IS_DIR
Definition: nfs41_ops.h:611
@ WND4_WRITE_DELEG_NOT_SUPP_FTYPE
Definition: nfs41_ops.h:607
@ WND4_NOT_SUPP_UPGRADE
Definition: nfs41_ops.h:608
@ WND4_RESOURCE
Definition: nfs41_ops.h:605
@ WND4_NOT_SUPP_FTYPE
Definition: nfs41_ops.h:606
@ WND4_NOT_WANTED
Definition: nfs41_ops.h:603
@ WND4_CONTENTION
Definition: nfs41_ops.h:604
@ WND4_NOT_SUPP_DOWNGRADE
Definition: nfs41_ops.h:609
@ WND4_CANCELED
Definition: nfs41_ops.h:610
struct __nfs41_locku_args nfs41_locku_args
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: nfs41_ops.c:833
@ SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED
Definition: nfs41_ops.h:241
@ SEQ4_STATUS_CB_PATH_DOWN_SESSION
Definition: nfs41_ops.h:246
@ SEQ4_STATUS_RESTART_RECLAIM_NEEDED
Definition: nfs41_ops.h:245
@ SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRING
Definition: nfs41_ops.h:238
@ SEQ4_STATUS_ADMIN_STATE_REVOKED
Definition: nfs41_ops.h:242
@ SEQ4_STATUS_LEASE_MOVED
Definition: nfs41_ops.h:244
@ SEQ4_STATUS_CB_PATH_DOWN
Definition: nfs41_ops.h:237
@ SEQ4_STATUS_BACKCHANNEL_FAULT
Definition: nfs41_ops.h:247
@ SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED
Definition: nfs41_ops.h:240
@ SEQ4_STATUS_RECALLABLE_STATE_REVOKED
Definition: nfs41_ops.h:243
@ SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRED
Definition: nfs41_ops.h:239
@ SEQ4_STATUS_DEVID_DELETED
Definition: nfs41_ops.h:249
@ SEQ4_STATUS_DEVID_CHANGED
Definition: nfs41_ops.h:248
struct __nfs41_sequence_args nfs41_sequence_args
int nfs41_close(IN nfs41_session *session, IN nfs41_path_fh *file, IN stateid_arg *stateid)
Definition: nfs41_ops.c:627
enum nfsstat4 pnfs_rpc_layoutreturn(IN nfs41_session *session, IN nfs41_path_fh *file, IN enum pnfs_layout_type type, IN enum pnfs_iomode iomode, IN uint64_t offset, IN uint64_t length, IN stateid4 *stateid, OUT pnfs_layoutreturn_res *layoutreturn_res)
Definition: nfs41_ops.c:2062
struct __nfs41_openattr_args nfs41_openattr_args
struct __pnfs_getdeviceinfo_res_ok pnfs_getdeviceinfo_res_ok
struct __nfs41_commit_args nfs41_commit_args
struct __nfs41_secinfo_noname_res nfs41_secinfo_noname_res
pnfs_iomode
Definition: pnfs.h:80
pnfs_layout_type
Definition: pnfs.h:74
pnfs_return_type
Definition: pnfs.h:100
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
unsigned char createverf[NFS4_VERIFIER_SIZE]
Definition: nfs41_ops.h:549
nfs41_file_info * createattrs
Definition: nfs41_ops.h:548
uint32_t mode
Definition: nfs41_ops.h:547
const char * linkdata
Definition: nfs41_ops.h:348
specdata4 devdata
Definition: nfs41_ops.h:351
uint32_t linkdata_len
Definition: nfs41_ops.h:347
uint32_t type
Definition: nfs41_ops.h:343
union __createtype4::@47 u
struct __createtype4::@47::__create_type_lnk lnk
uint32_t claim
Definition: nfs41_ops.h:794
uint32_t prev_delegate_type
Definition: nfs41_ops.h:796
stateid_arg * lock_stateid
Definition: nfs41_ops.h:413
uint32_t lock_seqid
Definition: nfs41_ops.h:414
uint32_t locktype
Definition: nfs41_ops.h:438
uint64_t offset
Definition: nfs41_ops.h:436
state_owner4 owner
Definition: nfs41_ops.h:439
uint64_t length
Definition: nfs41_ops.h:437
stateid4 * lock_stateid
Definition: nfs41_ops.h:443
open_to_lock_owner4 open_owner
Definition: nfs41_ops.h:421
bool_t new_lock_owner
Definition: nfs41_ops.h:418
exist_lock_owner4 lock_owner
Definition: nfs41_ops.h:423
union __locker4::@48 u
uint32_t supported
Definition: nfs41_ops.h:308
enum channel_dir_from_client4 dir
Definition: nfs41_ops.h:197
enum channel_dir_from_server4 dir
Definition: nfs41_ops.h:203
struct __nfs41_callback_sec_parms::@46::__authsys_parms auth_sys
struct __nfs41_callback_sec_parms::@46::__rpcsec_gss_parms rpcsec_gss
union __nfs41_callback_sec_parms::@46 u
nfs41_write_verf * verf
Definition: nfs41_ops.h:332
createtype4 objtype
Definition: nfs41_ops.h:356
const nfs41_component * name
Definition: nfs41_ops.h:357
nfs41_file_info * createattrs
Definition: nfs41_ops.h:358
change_info4 cinfo
Definition: nfs41_ops.h:364
nfs41_channel_attrs csa_back_chan_attrs
Definition: nfs41_ops.h:167
nfs41_callback_secparms csa_cb_secparams[2]
Definition: nfs41_ops.h:169
nfs41_channel_attrs csa_fore_chan_attrs
Definition: nfs41_ops.h:166
nfs41_channel_attrs * csr_back_chan_attrs
Definition: nfs41_ops.h:177
nfs41_channel_attrs * csr_fore_chan_attrs
Definition: nfs41_ops.h:176
unsigned char * csr_sessionid
Definition: nfs41_ops.h:173
stateid_arg * stateid
Definition: nfs41_ops.h:377
unsigned char * dsa_sessionid
Definition: nfs41_ops.h:209
client_owner4 * eia_clientowner
Definition: nfs41_ops.h:121
nfs_impl_id4 * eia_client_impl_id
Definition: nfs41_ops.h:124
state_protect4_a eia_state_protect
Definition: nfs41_ops.h:123
server_owner4 server_owner
Definition: nfs41_ops.h:137
state_protect4_r state_protect
Definition: nfs41_ops.h:136
char server_scope[NFS4_OPAQUE_LIMIT]
Definition: nfs41_ops.h:139
bitmap4 * attr_request
Definition: nfs41_ops.h:527
nfs41_file_info * info
Definition: nfs41_ops.h:534
uint32_t status
Definition: nfs41_ops.h:502
nfs41_fh * fh
Definition: nfs41_ops.h:504
uint64_t length
Definition: nfs41_ops.h:431
uint32_t locktype
Definition: nfs41_ops.h:428
uint64_t offset
Definition: nfs41_ops.h:430
uint32_t status
Definition: nfs41_ops.h:447
lock_res_denied denied
Definition: nfs41_ops.h:452
lock_res_ok resok4
Definition: nfs41_ops.h:450
union __nfs41_lock_res::@49 u
state_owner4 * owner
Definition: nfs41_ops.h:463
uint32_t locktype
Definition: nfs41_ops.h:460
lock_res_denied denied
Definition: nfs41_ops.h:469
uint32_t status
Definition: nfs41_ops.h:467
uint32_t locktype
Definition: nfs41_ops.h:476
stateid_arg * lock_stateid
Definition: nfs41_ops.h:478
uint32_t status
Definition: nfs41_ops.h:484
stateid4 * lock_stateid
Definition: nfs41_ops.h:486
const nfs41_component * name
Definition: nfs41_ops.h:492
stateid_arg * stateid
Definition: nfs41_ops.h:316
state_owner4 * owner
Definition: nfs41_ops.h:645
uint32_t share_access
Definition: nfs41_ops.h:643
open_claim4 * claim
Definition: nfs41_ops.h:647
change_info4 cinfo
Definition: nfs41_ops.h:659
open_delegation4 * delegation
Definition: nfs41_ops.h:662
nfs41_op_open_res_ok resok4
Definition: nfs41_ops.h:668
nfs41_path_fh * file
Definition: nfs41_ops.h:510
uint32_t status
Definition: nfs41_ops.h:515
stateid_arg * stateid
Definition: nfs41_ops.h:684
uint32_t count
Definition: nfs41_ops.h:686
uint64_t offset
Definition: nfs41_ops.h:685
unsigned char * data
Definition: nfs41_ops.h:692
nfs41_read_res_ok resok4
Definition: nfs41_ops.h:698
uint32_t status
Definition: nfs41_ops.h:696
bitmap4 * attr_request
Definition: nfs41_ops.h:707
nfs41_readdir_cookie cookie
Definition: nfs41_ops.h:704
Definition: nfs41_ops.h:710
uint32_t name_len
Definition: nfs41_ops.h:712
uint32_t next_entry_offset
Definition: nfs41_ops.h:713
nfs41_file_info attr_info
Definition: nfs41_ops.h:714
uint64_t cookie
Definition: nfs41_ops.h:711
uint32_t entries_len
Definition: nfs41_ops.h:720
unsigned char * entries
Definition: nfs41_ops.h:721
nfs41_readdir_list reply
Definition: nfs41_ops.h:729
unsigned char cookieverf[NFS4_VERIFIER_SIZE]
Definition: nfs41_ops.h:728
const nfs41_component * target
Definition: nfs41_ops.h:744
change_info4 cinfo
Definition: nfs41_ops.h:750
const nfs41_component * oldname
Definition: nfs41_ops.h:756
const nfs41_component * newname
Definition: nfs41_ops.h:757
change_info4 target_cinfo
Definition: nfs41_ops.h:764
change_info4 source_cinfo
Definition: nfs41_ops.h:763
const nfs41_component * name
Definition: nfs41_ops.h:878
char oid[MAX_OID_LEN]
Definition: nfs41_ops.h:870
enum sec_flavor type
Definition: nfs41_ops.h:874
enum secinfo_noname_type type
Definition: nfs41_ops.h:893
nfs41_secinfo_info * secinfo
Definition: nfs41_ops.h:900
uint32_t sa_sequenceid
Definition: nfs41_ops.h:230
unsigned char * sa_sessionid
Definition: nfs41_ops.h:229
uint32_t sa_highest_slotid
Definition: nfs41_ops.h:232
unsigned char sr_sessionid[NFS4_SESSIONID_SIZE]
Definition: nfs41_ops.h:253
uint32_t sr_target_highest_slotid
Definition: nfs41_ops.h:257
uint32_t sr_highest_slotid
Definition: nfs41_ops.h:256
nfs41_sequence_res_ok sr_resok4
Definition: nfs41_ops.h:264
stateid_arg * stateid
Definition: nfs41_ops.h:782
nfs41_file_info * info
Definition: nfs41_ops.h:783
stateid_arg * stateids
Definition: nfs41_ops.h:822
struct __nfs41_test_stateid_res::@51 resok
open_delegation4 * delegation
Definition: nfs41_ops.h:807
uint32_t data_len
Definition: nfs41_ops.h:845
stateid_arg * stateid
Definition: nfs41_ops.h:842
unsigned char * data
Definition: nfs41_ops.h:846
nfs41_write_verf * verf
Definition: nfs41_ops.h:851
uint32_t status
Definition: nfs41_ops.h:855
nfs41_write_res_ok resok4
Definition: nfs41_ops.h:857
struct __open_claim4::@50::__open_claim_deleg_cur deleg_cur
uint32_t delegate_type
Definition: nfs41_ops.h:623
uint32_t claim
Definition: nfs41_ops.h:615
struct __open_claim4::@50::__open_claim_prev prev
struct __open_claim4::@50::__open_claim_deleg_cur_fh deleg_cur_fh
struct __open_claim4::@50::__open_claim_null null
const nfs41_component * filename
Definition: nfs41_ops.h:619
struct __open_claim4::@50::__open_claim_deleg_prev deleg_prev
union __open_claim4::@50 u
nfs41_component * name
Definition: nfs41_ops.h:628
stateid_arg * delegate_stateid
Definition: nfs41_ops.h:627
state_owner4 * lock_owner
Definition: nfs41_ops.h:409
stateid_arg * open_stateid
Definition: nfs41_ops.h:407
createhow4 how
Definition: nfs41_ops.h:560
uint32_t opentype
Definition: nfs41_ops.h:558
enum pnfs_layout_type layout_type
Definition: nfs41_ops.h:977
unsigned char * deviceid
Definition: nfs41_ops.h:976
pnfs_file_device * device
Definition: nfs41_ops.h:983
union __pnfs_getdeviceinfo_res::@53 u
enum nfsstat4 status
Definition: nfs41_ops.h:988
pnfs_getdeviceinfo_res_ok res_ok
Definition: nfs41_ops.h:991
enum pnfs_iomode iomode
Definition: nfs41_ops.h:908
bool_t signal_layout_avail
Definition: nfs41_ops.h:906
enum pnfs_layout_type layout_type
Definition: nfs41_ops.h:907
stateid_arg * stateid
Definition: nfs41_ops.h:912
struct list_entry layouts
Definition: nfs41_ops.h:920
enum nfsstat4 status
Definition: nfs41_ops.h:924
pnfs_layoutget_res_ok * res_ok
Definition: nfs41_ops.h:927
bool_t will_signal_layout_avail
Definition: nfs41_ops.h:929
union __pnfs_layoutget_res::@52 u
enum pnfs_layout_type type
Definition: nfs41_ops.h:956
enum pnfs_iomode iomode
Definition: nfs41_ops.h:957
enum pnfs_return_type return_type
Definition: nfs41_ops.h:958
enum nfsstat4 status
Definition: nfs41_ops.h:966
uint32_t specdata1
Definition: nfs41_ops.h:338
uint32_t specdata2
Definition: nfs41_ops.h:339
state_protect_how4 spa_how
Definition: nfs41_ops.h:117
state_protect_how4 spr_how
Definition: nfs41_ops.h:128
enum stateid_type type
Definition: nfs41_ops.h:285
nfs41_open_state * open
Definition: nfs41_ops.h:286
stateid4 stateid
Definition: nfs41_ops.h:284
nfs41_delegation_state * delegation
Definition: nfs41_ops.h:287
Definition: cookie.c:34
Definition: devices.h:37
Definition: fci.c:127
Definition: list.h:27
Definition: name.c:39
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40