ReactOS  0.4.14-dev-114-gc8cbd56
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 */
30 enum nfs_opnum4 {
31  OP_ACCESS = 3,
32  OP_CLOSE = 4,
33  OP_COMMIT = 5,
34  OP_CREATE = 6,
38  OP_GETFH = 10,
39  OP_LINK = 11,
40  OP_LOCK = 12,
41  OP_LOCKT = 13,
42  OP_LOCKU = 14,
43  OP_LOOKUP = 15,
44  OP_LOOKUPP = 16,
45  OP_NVERIFY = 17,
46  OP_OPEN = 18,
48  OP_OPEN_CONFIRM = 20, /* Mandatory not-to-implement */
50  OP_PUTFH = 22,
53  OP_READ = 25,
54  OP_READDIR = 26,
56  OP_REMOVE = 28,
57  OP_RENAME = 29,
58  OP_RENEW = 30, /* Mandatory not-to-implement */
60  OP_SAVEFH = 32,
61  OP_SECINFO = 33,
62  OP_SETATTR = 34,
63  OP_SETCLIENTID = 35, /* Mandatory not-to-implement */
64  OP_SETCLIENTID_CONFIRM = 36, /* Mandatory not-to-implement */
65  OP_VERIFY = 37,
66  OP_WRITE = 38,
67  OP_RELEASE_LOCKOWNER = 39, /* Mandatory not-to-implement */
68 
69  /* new operations for NFSv4.1 */
84  OP_SET_SSV = 54,
89  OP_ILLEGAL = 10044
90 };
91 
92 
93 /* OP_EXCHANGE_ID */
94 enum {
97 
99 
103 
105 
108 };
109 
110 typedef enum {
111  SP4_NONE = 0,
115 
116 typedef struct __state_protect4_a {
119 
120 typedef struct __nfs41_exchange_id_args {
126 
127 typedef struct __state_protect4_r {
130 
131 typedef struct __nfs41_exchange_id_res {
141 
144  union {
145  /* case AUTH_SYS */
146  struct __authsys_parms {
148  char *machinename;
149  } auth_sys;
150  /* case RPCSEC_GSS */
151  struct __rpcsec_gss_parms {
157  } rpcsec_gss;
158  } u;
160 
161 /* OP_CREATE_SESSION */
171 
173  unsigned char *csr_sessionid;
179 
180 
181 /* OP_BIND_CONN_TO_SESSION */
183  CDFC4_FORE = 0x1,
184  CDFC4_BACK = 0x2,
187 };
188 
190  CDFS4_FORE = 0x1,
191  CDFS4_BACK = 0x2,
193 };
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 */
228 typedef struct __nfs41_sequence_args {
229  unsigned char *sa_sessionid;
235 
236 enum {
250 };
251 
252 typedef struct __nfs41_sequence_res_ok {
260 
261 typedef struct __nfs41_sequence_res {
263  /* case NFS4_OK: */
266 
267 
268 /* OP_RECLAIM_COMPLETE */
272 
273 
274 /* recoverable stateid argument */
282 };
283 typedef struct __stateid_arg {
288 } stateid_arg;
289 
290 
291 /* OP_ACCESS */
292 enum {
293  ACCESS4_READ = 0x00000001,
294  ACCESS4_LOOKUP = 0x00000002,
295  ACCESS4_MODIFY = 0x00000004,
296  ACCESS4_EXTEND = 0x00000008,
297  ACCESS4_DELETE = 0x00000010,
298  ACCESS4_EXECUTE = 0x00000020
299 };
300 
301 typedef struct __nfs41_access_args {
304 
305 typedef struct __nfs41_access_res {
307  /* case NFS4_OK: */
311 
312 
313 /* OP_CLOSE */
314 typedef struct __nfs41_op_close_args {
315 // uint32_t seqid; // not used, always 0
318 
319 typedef struct __nfs41_op_close_res {
322 
323 
324 /* OP_COMMIT */
325 typedef struct __nfs41_commit_args {
329 
330 typedef struct __nfs41_commit_res {
334 
335 
336 /* OP_CREATE */
337 typedef struct __specdata4 {
340 } specdata4;
341 
342 typedef struct __createtype4 {
344  union {
345  /* case NF4LNK: */
346  struct __create_type_lnk {
348  const char *linkdata;
349  } lnk;
350  /* case NF4BLK, NF4CHR: */
352  } u;
353 } createtype4;
354 
355 typedef struct __nfs41_create_args {
360 
361 typedef struct __nfs41_create_res {
363  /* case NFS4_OK: */
367 
368 
369 /* OP_DELEGPURGE */
370 typedef struct __nfs41_delegpurge_res {
373 
374 
375 /* OP_DELEGRETURN */
376 typedef struct __nfs41_delegreturn_args {
379 
380 typedef struct __nfs41_delegreturn_res {
383 
384 
385 /* OP_LINK */
386 typedef struct __nfs41_link_args {
389 
390 typedef struct __nfs41_link_res {
392  /* case NFS4_OK */
395 
396 
397 /* OP_LOCK */
398 enum {
399  READ_LT = 1,
400  WRITE_LT = 2,
401  READW_LT = 3, /* blocking read */
402  WRITEW_LT = 4 /* blocking write */
403 };
404 
405 typedef struct __open_to_lock_owner4 {
411 
412 typedef struct __exist_lock_owner4 {
416 
417 typedef struct __locker4 {
419  union {
420  /* case TRUE: */
422  /* case FALSE: */
424  } u;
425 } locker4;
426 
427 typedef struct __nfs41_lock_args {
434 
435 typedef struct __lock_res_denied {
441 
442 typedef struct __lock_res_ok {
444 } lock_res_ok;
445 
446 typedef struct __nfs41_lock_res {
448  union {
449  /* case NFS4_OK: */
451  /* case NFS4ERR_DENIED: */
453  /* default: void; */
454  } u;
456 
457 
458 /* OP_LOCKT */
459 typedef struct __nfs41_lockt_args {
465 
466 typedef struct __nfs41_lockt_res {
468  /* case NFS4ERR_DENIED: */
470  /* default: void; */
472 
473 
474 /* OP_LOCKU */
475 typedef struct __nfs41_locku_args {
482 
483 typedef struct __nfs41_locku_res {
485  /* case NFS4_OK: */
488 
489 
490 /* OP_LOOKUP */
491 typedef struct __nfs41_lookup_args {
494 
495 typedef struct __nfs41_lookup_res {
498 
499 
500 /* OP_GETFH */
501 typedef struct __nfs41_getfh_res {
503  /* case NFS4_OK: */
506 
507 
508 /* OP_PUTFH */
509 typedef struct __nfs41_putfh_args {
513 
514 typedef struct __nfs41_putfh_res {
517 
518 
519 /* OP_PUTROOTFH */
520 typedef struct __nfs41_putrootfh_res {
523 
524 
525 /* OP_GETATTR */
526 typedef struct __nfs41_getattr_args {
529 
530 typedef struct __nfs41_getattr_res {
532  /* case NFS4_OK: */
536 
537 
538 /* OP_OPEN */
541  GUARDED4 = 1,
544 };
545 
546 typedef struct __createhow4 {
550 } createhow4;
551 
552 enum opentype4 {
555 };
556 
557 typedef struct __openflag4 {
559  /* case OPEN4_CREATE: */
561 } openflag4;
562 
563 enum {
567 
568  OPEN4_SHARE_DENY_NONE = 0x00000000,
569  OPEN4_SHARE_DENY_READ = 0x00000001,
571  OPEN4_SHARE_DENY_BOTH = 0x00000003,
572 
580 
583 };
584 
590 };
591 
597  CLAIM_FH = 4,
600 };
601 
612 };
613 
614 typedef struct __open_claim4 {
616  union {
617  /* case CLAIM_NULL: */
618  struct __open_claim_null {
620  } null;
621  /* case CLAIM_PREVIOUS: */
622  struct __open_claim_prev {
624  } prev;
625  /* case CLAIM_DELEGATE_CUR: */
626  struct __open_claim_deleg_cur {
629  } deleg_cur;
630  /* case CLAIM_DELEG_CUR_FH: */
631  struct __open_claim_deleg_cur_fh {
633  } deleg_cur_fh;
634  /* case CLAIM_DELEGATE_PREV: */
635  struct __open_claim_deleg_prev {
636  const nfs41_component *filename;
637  } deleg_prev;
638  } u;
639 } open_claim4;
640 
641 typedef struct __nfs41_op_open_args {
649 
650 enum {
651  OPEN4_RESULT_CONFIRM = 0x00000002,
655 };
656 
657 typedef struct __nfs41_op_open_res_ok {
664 
665 typedef struct __nfs41_op_open_res {
667  /* case NFS4_OK: */
670 
671 
672 /* OP_OPENATTR */
673 typedef struct __nfs41_openattr_args {
676 
677 typedef struct __nfs41_openattr_res {
680 
681 
682 /* OP_READ */
683 typedef struct __nfs41_read_args {
684  stateid_arg *stateid; /* -> nfs41_op_open_res_ok.stateid */
688 
689 typedef struct __nfs41_read_res_ok {
692  unsigned char *data; /* caller-allocated */
694 
695 typedef struct __nfs41_read_res {
697  /* case NFS4_OK: */
700 
701 
702 /* OP_READDIR */
703 typedef struct __nfs41_readdir_args {
709 
710 typedef struct __nfs41_readdir_entry {
715  char name[1];
717 
718 typedef struct __nfs41_readdir_list {
721  unsigned char *entries;
724 
725 typedef struct __nfs41_readdir_res {
727  /* case NFS4_OK: */
731 
732 
733 /* OP_READLINK */
734 typedef struct __nfs41_readlink_res {
736  /* case NFS4_OK: */
738  char *link;
740 
741 
742 /* OP_REMOVE */
743 typedef struct __nfs41_remove_args {
746 
747 typedef struct __nfs41_remove_res {
749  /* case NFS4_OK: */
752 
753 
754 /* OP_RENAME */
755 typedef struct __nfs41_rename_args {
759 
760 typedef struct __nfs41_rename_res {
762  /* case NFS4_OK: */
766 
767 
768 /* OP_RESTOREFH */
769 /* OP_SAVEFH */
773 
774 
775 /* OP_SETATTR */
776 enum time_how4 {
779 };
780 
781 typedef struct __nfs41_setattr_args {
785 
786 typedef struct __nfs41_setattr_res {
790 
791 
792 /* OP_WANT_DELEGATION */
793 typedef struct __deleg_claim4 {
795  /* case CLAIM_PREVIOUS: */
797 } deleg_claim4;
798 
803 
806  /* case NFS4_OK: */
809 /* OP_FREE_STATEID */
813 
814 typedef struct __nfs41_free_stateid_res {
817 
818 
819 /* OP_TEST_STATEID */
822  stateid_arg *stateids; // caller-allocated array
824 
825 typedef struct __nfs41_test_stateid_res {
827  struct {
829  uint32_t *status; // caller-allocated array
830  } resok;
832 
833 
834 /* OP_WRITE */
839 };
840 
841 typedef 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 
849 typedef struct __nfs41_write_res_ok {
853 
854 typedef 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
869 typedef struct __nfs41_secinfo_info {
876 
877 typedef struct __nfs41_secinfo_args {
880 
881 #define MAX_SECINFOS 6
882 
883 /* OP_SECINFO_NO_NAME */
887 };
888 
890 #ifdef __REACTOS__
891  uint32_t type;
892 #else
893  enum secinfo_noname_type type;
894 #endif
896 
899  /* case NFS4_OK: */
903 
904 /* LAYOUTGET */
905 typedef struct __pnfs_layoutget_args {
915 
916 typedef struct __pnfs_layoutget_res_ok {
920  struct list_entry layouts; /* list of pnfs_layouts */
922 
923 typedef struct __pnfs_layoutget_res {
925  union {
926  /* case NFS4_OK: */
928  /* case NFS4ERR_LAYOUTTRYLATER: */
930  /* default: void; */
931  } u;
933 
934 
935 /* LAYOUTCOMMIT */
936 typedef struct __pnfs_layoutcommit_args {
943 
944 typedef struct __pnfs_layoutcommit_res {
946  /* case NFS4_OK */
948  /* case TRUE */
951 
952 
953 /* LAYOUTRETURN */
954 typedef struct __pnfs_layoutreturn_args {
959  /* case LAYOUTRETURN4_FILE: */
964 
965 typedef struct __pnfs_layoutreturn_res {
967  /* case NFS4_OK: */
969  /* case true: */
972 
973 
974 /* GETDEVICEINFO */
976  unsigned char *deviceid;
981 
986 
987 typedef struct __pnfs_getdeviceinfo_res {
989  union {
990  /* case NFS4_OK: */
992  /* case NFS4ERR_TOOSMALL: */
994  /* default: void; */
995  } u;
997 
998 
999 /* nfs41_ops.c */
1000 int nfs41_exchange_id(
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,
1008  OUT nfs41_session *session,
1009  IN bool_t try_recovery);
1010 
1012  IN nfs41_rpc_clnt *rpc,
1013  IN const unsigned char *sessionid,
1015 
1017  IN nfs41_session *session);
1018 
1020  IN nfs41_rpc_clnt *rpc,
1021  IN uint64_t clientid);
1022 
1024  IN nfs41_session *session);
1025 
1027  IN nfs41_session *session);
1028 
1029 int nfs41_lookup(
1030  IN nfs41_root *root,
1031  IN nfs41_session *session,
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 
1038 int nfs41_open(
1039  IN nfs41_session *session,
1042  IN state_owner4 *owner,
1043  IN open_claim4 *claim,
1044  IN uint32_t allow,
1045  IN uint32_t deny,
1046  IN uint32_t create,
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 
1054 int nfs41_create(
1055  IN nfs41_session *session,
1056  IN uint32_t type,
1057  IN nfs41_file_info *createattrs,
1058  IN OPTIONAL const char *symlink,
1062 
1063 int nfs41_close(
1064  IN nfs41_session *session,
1066  IN stateid_arg *stateid);
1067 
1068 int nfs41_write(
1069  IN nfs41_session *session,
1071  IN stateid_arg *stateid,
1072  IN unsigned char *data,
1073  IN uint32_t data_len,
1074  IN uint64_t offset,
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 
1080 int nfs41_read(
1081  IN nfs41_session *session,
1083  IN stateid_arg *stateid,
1084  IN uint64_t offset,
1085  IN uint32_t count,
1086  OUT unsigned char *data_out,
1087  OUT uint32_t *data_len_out,
1088  OUT bool_t *eof_out);
1089 
1090 int nfs41_commit(
1091  IN nfs41_session *session,
1093  IN uint64_t offset,
1094  IN uint32_t count,
1095  IN bool_t do_getattr,
1096  OUT nfs41_write_verf *verf,
1097  OUT nfs41_file_info *cinfo);
1098 
1099 int nfs41_lock(
1100  IN nfs41_session *session,
1102  IN state_owner4 *owner,
1103  IN uint32_t type,
1104  IN uint64_t offset,
1105  IN uint64_t length,
1106  IN bool_t reclaim,
1107  IN bool_t try_recovery,
1108  IN OUT stateid_arg *stateid);
1109 
1110 int nfs41_unlock(
1111  IN nfs41_session *session,
1113  IN uint64_t offset,
1114  IN uint64_t length,
1115  IN OUT stateid_arg *stateid);
1116 
1118  IN nfs41_lock_state *lock_state,
1119  IN OUT stateid4 *dest);
1120 
1121 int nfs41_readdir(
1122  IN nfs41_session *session,
1124  IN bitmap4 *attr_request,
1125  IN nfs41_readdir_cookie *cookie,
1126  OUT unsigned char *entries,
1127  IN OUT uint32_t *entries_len,
1128  OUT bool_t *eof_out);
1129 
1130 int nfs41_getattr(
1131  IN nfs41_session *session,
1133  IN bitmap4 *attr_request,
1135 
1137  IN nfs41_session *session,
1139  IN bitmap4 *attr_request,
1141  OUT bool_t *supports_named_attrs);
1142 
1143 /* getattr.c */
1145  IN nfs41_session *session,
1148 
1149 int nfs41_remove(
1150  IN nfs41_session *session,
1152  IN const nfs41_component *target,
1153  IN uint64_t fileid);
1154 
1155 int nfs41_rename(
1156  IN nfs41_session *session,
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 
1162 int nfs41_setattr(
1163  IN nfs41_session *session,
1165  IN stateid_arg *stateid,
1167 
1168 int nfs41_link(
1169  IN nfs41_session *session,
1170  IN nfs41_path_fh *src,
1171  IN nfs41_path_fh *dst_dir,
1172  IN const nfs41_component *target,
1173  OUT nfs41_file_info *cinfo);
1174 
1175 /* symlink.c */
1177  IN nfs41_session *session,
1180 
1182  IN nfs41_root *root,
1183  IN nfs41_session *session,
1184  IN nfs41_path_fh *symlink,
1186 
1187 int nfs41_readlink(
1188  IN nfs41_session *session,
1190  IN uint32_t max_len,
1191  OUT char *link_out,
1192  OUT uint32_t *len_out);
1193 
1194 int nfs41_access(
1195  IN nfs41_session *session,
1197  IN uint32_t requested,
1198  OUT uint32_t *supported OPTIONAL,
1200 
1202  IN nfs41_session *session,
1204  IN deleg_claim4 *claim,
1205  IN uint32_t want,
1206  IN bool_t try_recovery,
1207  OUT open_delegation4 *delegation);
1208 
1209 int nfs41_delegpurge(
1210  IN nfs41_session *session);
1211 
1212 int nfs41_delegreturn(
1213  IN nfs41_session *session,
1215  IN stateid_arg *stateid,
1216  IN bool_t try_recovery);
1217 
1219  IN nfs41_session *session,
1221  IN const nfs41_component *name,
1223 
1224 int nfs41_secinfo(
1225  IN nfs41_session *session,
1227  IN const nfs41_component *name,
1228  OUT nfs41_secinfo_info *secinfo);
1229 
1231  IN nfs41_session *session,
1233  OUT nfs41_secinfo_info *secinfo);
1234 
1236  IN nfs41_session *session,
1237  IN stateid4 *stateid);
1238 
1240  IN nfs41_session *session,
1242  IN uint32_t count,
1243  OUT uint32_t *status_array);
1244 
1246  IN nfs41_session *session,
1248  IN stateid_arg *stateid,
1249  IN enum pnfs_iomode iomode,
1250  IN uint64_t offset,
1251  IN uint64_t minlength,
1252  IN uint64_t length,
1253  OUT pnfs_layoutget_res_ok *layoutget_res);
1254 
1256  IN nfs41_session *session,
1258  IN stateid4 *stateid,
1259  IN uint64_t offset,
1260  IN uint64_t length,
1261  IN OPTIONAL uint64_t *new_last_offset,
1262  IN OPTIONAL nfstime4 *new_time_modify,
1264 
1266  IN nfs41_session *session,
1268  IN enum pnfs_layout_type type,
1269  IN enum pnfs_iomode iomode,
1270  IN uint64_t offset,
1271  IN uint64_t length,
1272  IN stateid4 *stateid,
1273  OUT pnfs_layoutreturn_res *layoutreturn_res);
1274 
1276  IN nfs41_session *session,
1277  IN unsigned char *deviceid,
1279 
1281  IN nfs41_session *session,
1283  IN bool_t createdir,
1284  OUT nfs41_fh *fh_out);
1285 
1286 #endif /* !__NFS41_NFS_OPS_H__ */
struct __nfs41_destroy_clientid_args nfs41_destroy_clientid_args
struct list_entry layouts
Definition: nfs41_ops.h:920
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
open_delegation4 * delegation
Definition: nfs41_ops.h:662
const nfs41_component * name
Definition: nfs41_ops.h:878
enum nfsstat4 nfs41_free_stateid(IN nfs41_session *session, IN stateid4 *stateid)
Definition: nfs41_ops.c:1870
unsigned char * entries
Definition: nfs41_ops.h:721
#define IN
Definition: typedefs.h:38
nfs41_path_fh * file
Definition: nfs41_ops.h:510
int nfs41_symlink_target(IN nfs41_session *session, IN nfs41_path_fh *file, OUT nfs41_abs_path *target)
Definition: symlink.c:92
uint32_t delegate_type
Definition: nfs41_ops.h:623
uint32_t locktype
Definition: nfs41_ops.h:460
nfs41_fh * fh
Definition: nfs41_ops.h:504
pnfs_getdeviceinfo_res_ok res_ok
Definition: nfs41_ops.h:991
struct __nfs41_sequence_args nfs41_sequence_args
lock_res_ok resok4
Definition: nfs41_ops.h:450
nfs41_sequence_res_ok sr_resok4
Definition: nfs41_ops.h:264
nfs41_channel_attrs csa_fore_chan_attrs
Definition: nfs41_ops.h:166
struct __nfs41_test_stateid_res::@41 resok
int nfs41_destroy_clientid(IN nfs41_rpc_clnt *rpc, IN uint64_t clientid)
Definition: nfs41_ops.c:242
struct __nfs41_readdir_list nfs41_readdir_list
struct __open_claim4 open_claim4
change_info4 cinfo
Definition: nfs41_ops.h:364
nfs41_channel_attrs csa_back_chan_attrs
Definition: nfs41_ops.h:167
unsigned char sr_sessionid[NFS4_SESSIONID_SIZE]
Definition: nfs41_ops.h:253
Definition: nfs41_ops.h:710
stateid_arg * stateid
Definition: nfs41_ops.h:316
#define NFS4_SESSIONID_SIZE
Definition: nfs41_const.h:32
struct __nfs41_op_open_res nfs41_op_open_res
nfs41_write_verf * verf
Definition: nfs41_ops.h:851
union __locker4::@38 u
struct __nfs41_destroy_session_res nfs41_destroy_session_res
union __pnfs_layoutget_res::@42 u
nfs41_component * name
Definition: nfs41_ops.h:628
struct __open_to_lock_owner4 open_to_lock_owner4
struct __nfs41_restorefh_savefh_res nfs41_restorefh_res
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
union __pnfs_getdeviceinfo_res::@43 u
struct __nfs41_rename_res nfs41_rename_res
struct __nfs41_read_res_ok nfs41_read_res_ok
int32_t bool_t
Definition: types.h:101
struct __nfs41_create_session_args nfs41_create_session_args
struct __nfs41_readdir_entry nfs41_readdir_entry
struct __nfs41_getattr_res nfs41_getattr_res
struct __nfs41_exchange_id_args nfs41_exchange_id_args
nfs41_channel_attrs * csr_fore_chan_attrs
Definition: nfs41_ops.h:176
uint32_t type
Definition: nfs41_ops.h:343
struct __pnfs_layoutcommit_res pnfs_layoutcommit_res
uint32_t status
Definition: nfs41_ops.h:502
GLuint GLuint GLsizei count
Definition: gl.h:1545
struct __lock_res_ok lock_res_ok
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
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
enum nfsstat4 status
Definition: nfs41_ops.h:966
stateid_arg * stateid
Definition: nfs41_ops.h:782
uint32_t sr_target_highest_slotid
Definition: nfs41_ops.h:257
struct __nfs41_readlink_res nfs41_readlink_res
uint32_t status
Definition: nfs41_ops.h:484
GLintptr offset
Definition: glext.h:5920
struct __open_claim4::@40::__open_claim_deleg_cur deleg_cur
int nfs41_destroy_session(IN nfs41_session *session)
Definition: nfs41_ops.c:214
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
struct __nfs41_access_res nfs41_access_res
open_delegation_type4
Definition: nfs41_ops.h:585
uint32_t sr_highest_slotid
Definition: nfs41_ops.h:256
stateid4 * lock_stateid
Definition: nfs41_ops.h:486
struct __nfs41_bind_conn_to_session_res nfs41_bind_conn_to_session_res
struct __createtype4::@37::__create_type_lnk lnk
const nfs41_component * name
Definition: nfs41_ops.h:357
struct __nfs41_reclaim_complete_res nfs41_reclaim_complete_res
nfs41_file_info * createattrs
Definition: nfs41_ops.h:358
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
struct __nfs41_readdir_args nfs41_readdir_args
uint64_t cookie
Definition: nfs41_ops.h:711
struct __nfs41_putrootfh_res nfs41_putrootfh_res
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
open_claim4 * claim
Definition: nfs41_ops.h:647
struct __nfs41_read_res nfs41_read_res
nfs41_write_res_ok resok4
Definition: nfs41_ops.h:857
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
uint64_t offset
Definition: nfs41_ops.h:436
nfs41_secinfo_info * secinfo
Definition: nfs41_ops.h:900
unsigned char * deviceid
Definition: nfs41_ops.h:976
struct __open_claim4::@40::__open_claim_deleg_cur_fh deleg_cur_fh
specdata4 devdata
Definition: nfs41_ops.h:351
unsigned char * data
Definition: nfs41_ops.h:692
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_free_stateid_args nfs41_free_stateid_args
struct __pnfs_layoutcommit_args pnfs_layoutcommit_args
struct __nfs41_write_args nfs41_write_args
state_owner4 * lock_owner
Definition: nfs41_ops.h:409
nfs41_op_open_res_ok resok4
Definition: nfs41_ops.h:668
unsigned char createverf[NFS4_VERIFIER_SIZE]
Definition: nfs41_ops.h:549
struct __nfs41_locku_args nfs41_locku_args
struct __nfs41_create_res nfs41_create_res
int nfs41_send_sequence(IN nfs41_session *session)
Definition: nfs41_ops.c:1599
nfs_impl_id4 * eia_client_impl_id
Definition: nfs41_ops.h:124
enum pnfs_iomode iomode
Definition: nfs41_ops.h:957
bitmap4 * attr_request
Definition: nfs41_ops.h:707
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
uint32_t sa_highest_slotid
Definition: nfs41_ops.h:232
unsigned char * dsa_sessionid
Definition: nfs41_ops.h:209
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
struct __createtype4 createtype4
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
open_claim_type4
Definition: nfs41_ops.h:592
#define NFS4_VERIFIER_SIZE
Definition: nfs41_const.h:30
struct __pnfs_getdeviceinfo_args pnfs_getdeviceinfo_args
change_info4 cinfo
Definition: nfs41_ops.h:750
enum nfsstat4 pnfs_rpc_getdeviceinfo(IN nfs41_session *session, IN unsigned char *deviceid, OUT pnfs_file_device *device)
Definition: nfs41_ops.c:2109
uint64_t length
Definition: nfs41_ops.h:431
bitmap4 * attr_request
Definition: nfs41_ops.h:527
struct __nfs41_exchange_id_res nfs41_exchange_id_res
uint32_t data_len
Definition: nfs41_ops.h:845
struct __nfs41_access_args nfs41_access_args
struct __nfs41_setattr_args nfs41_setattr_args
stateid_arg * lock_stateid
Definition: nfs41_ops.h:413
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
state_protect_how4
Definition: nfs41_ops.h:110
nfs41_callback_secparms csa_cb_secparams[2]
Definition: nfs41_ops.h:169
struct __nfs41_commit_args nfs41_commit_args
struct __nfs41_putfh_res nfs41_putfh_res
struct __nfs41_delegreturn_res nfs41_delegreturn_res
struct __state_protect4_a state_protect4_a
struct __nfs41_putfh_args nfs41_putfh_args
stateid_type
Definition: nfs41_ops.h:275
stable_how4
Definition: nfs41_ops.h:835
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
struct __nfs41_remove_res nfs41_remove_res
enum channel_dir_from_client4 dir
Definition: nfs41_ops.h:197
struct __nfs41_want_delegation_res nfs41_want_delegation_res
Definition: devices.h:37
change_info4 target_cinfo
Definition: nfs41_ops.h:764
client_owner4 * eia_clientowner
Definition: nfs41_ops.h:121
open_delegation4 * delegation
Definition: nfs41_ops.h:807
stateid_arg * stateid
Definition: nfs41_ops.h:684
struct __nfs41_free_stateid_res nfs41_free_stateid_res
struct __nfs41_secinfo_noname_args nfs41_secinfo_noname_args
uint32_t specdata1
Definition: nfs41_ops.h:338
union __nfs41_callback_sec_parms::@36 u
struct __nfs41_lookup_args nfs41_lookup_args
#define NFS4_OPAQUE_LIMIT
Definition: nfs41_const.h:31
nfs41_file_info * createattrs
Definition: nfs41_ops.h:548
struct __nfs41_locku_res nfs41_locku_res
struct __nfs41_getattr_args nfs41_getattr_args
struct __nfs41_delegpurge_res nfs41_delegpurge_res
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
struct __nfs41_want_delegation_args nfs41_want_delegation_args
nfs41_read_res_ok resok4
Definition: nfs41_ops.h:698
unsigned char cookieverf[NFS4_VERIFIER_SIZE]
Definition: nfs41_ops.h:728
uint32_t prev_delegate_type
Definition: nfs41_ops.h:796
uint64_t offset
Definition: nfs41_ops.h:430
struct __nfs41_secinfo_noname_res nfs41_secinfo_noname_res
state_owner4 owner
Definition: nfs41_ops.h:439
uint32_t next_entry_offset
Definition: nfs41_ops.h:713
uint32_t specdata2
Definition: nfs41_ops.h:339
change_info4 cinfo
Definition: nfs41_ops.h:659
channel_dir_from_server4
Definition: nfs41_ops.h:189
secinfo_no_name_type
Definition: nfs41_ops.h:884
nfs41_file_info * info
Definition: nfs41_ops.h:783
unsigned int dir
Definition: maze.c:112
uint32_t status
Definition: nfs41_ops.h:467
struct __stateid_arg stateid_arg
uint32_t sa_sequenceid
Definition: nfs41_ops.h:230
stateid_arg * stateid
Definition: nfs41_ops.h:377
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
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
uint32_t status
Definition: nfs41_ops.h:447
change_info4 source_cinfo
Definition: nfs41_ops.h:763
struct __exist_lock_owner4 exist_lock_owner4
enum nfsstat4 nfs41_reclaim_complete(IN nfs41_session *session)
Definition: nfs41_ops.c:268
struct __nfs41_bind_conn_to_session_args nfs41_bind_conn_to_session_args
union __createtype4::@37 u
unsigned char * sa_sessionid
Definition: nfs41_ops.h:229
struct __nfs41_delegreturn_args nfs41_delegreturn_args
stateid4 * lock_stateid
Definition: nfs41_ops.h:443
struct __nfs41_create_session_res nfs41_create_session_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 __nfs41_restorefh_savefh_res nfs41_savefh_res
uint32_t locktype
Definition: nfs41_ops.h:428
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
open_to_lock_owner4 open_owner
Definition: nfs41_ops.h:421
struct __nfs41_test_stateid_res nfs41_test_stateid_res
server_owner4 server_owner
Definition: nfs41_ops.h:137
struct __nfs41_link_args nfs41_link_args
char oid[MAX_OID_LEN]
Definition: nfs41_ops.h:870
enum pnfs_layout_type layout_type
Definition: nfs41_ops.h:907
pnfs_return_type
Definition: pnfs.h:100
const char * linkdata
Definition: nfs41_ops.h:348
r parent
Definition: btrfs.c:2897
struct __nfs41_callback_sec_parms::@36::__rpcsec_gss_parms rpcsec_gss
enum stateid_type type
Definition: nfs41_ops.h:285
struct __nfs41_readdir_res nfs41_readdir_res
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
nfs41_file_info attr_info
Definition: nfs41_ops.h:714
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
nfs41_readdir_list reply
Definition: nfs41_ops.h:729
int nfs41_close(IN nfs41_session *session, IN nfs41_path_fh *file, IN stateid_arg *stateid)
Definition: nfs41_ops.c:627
uint32_t status
Definition: nfs41_ops.h:515
stateid_arg * stateid
Definition: nfs41_ops.h:842
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
pnfs_file_device * device
Definition: nfs41_ops.h:983
pnfs_layout_type
Definition: pnfs.h:74
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
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
nfs41_delegation_state * delegation
Definition: nfs41_ops.h:287
nfs41_file_info * info
Definition: nfs41_ops.h:534
unsigned char * csr_sessionid
Definition: nfs41_ops.h:173
const nfs41_component * oldname
Definition: nfs41_ops.h:756
unsigned char * data
Definition: nfs41_ops.h:846
const nfs41_component * name
Definition: nfs41_ops.h:492
struct __nfs41_destroy_session_args nfs41_destroy_session_args
stateid_arg * stateid
Definition: nfs41_ops.h:912
stateid4 * nfs41_lock_stateid_copy(IN nfs41_lock_state *lock_state, IN OUT stateid4 *dest)
union __open_claim4::@40 u
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
createhow4 how
Definition: nfs41_ops.h:560
nfs41_open_state * open
Definition: nfs41_ops.h:286
state_owner4 * owner
Definition: nfs41_ops.h:645
struct __pnfs_layoutget_res pnfs_layoutget_res
struct __nfs41_lockt_res nfs41_lockt_res
uint32_t entries_len
Definition: nfs41_ops.h:720
union __nfs41_lock_res::@39 u
enum sec_flavor type
Definition: nfs41_ops.h:874
nfs41_channel_attrs * csr_back_chan_attrs
Definition: nfs41_ops.h:177
struct __openflag4 openflag4
enum pnfs_layout_type layout_type
Definition: nfs41_ops.h:977
bool_t new_lock_owner
Definition: nfs41_ops.h:418
nfsstat4
Definition: nfs41_const.h:86
enum channel_dir_from_server4 dir
Definition: nfs41_ops.h:203
uint32_t locktype
Definition: nfs41_ops.h:476
stateid_arg * stateids
Definition: nfs41_ops.h:822
uint32_t share_access
Definition: nfs41_ops.h:643
struct __nfs41_rename_args nfs41_rename_args
struct __deleg_claim4 deleg_claim4
struct __locker4 locker4
GLsizei const GLint * locations
Definition: glext.h:10542
uint32_t name_len
Definition: nfs41_ops.h:712
createtype4 objtype
Definition: nfs41_ops.h:356
GLenum src
Definition: glext.h:6340
why_no_delegation4
Definition: nfs41_ops.h:602
struct __nfs41_getfh_res nfs41_getfh_res
int nfs41_delegpurge(IN nfs41_session *session)
Definition: nfs41_ops.c:1666
channel_dir_from_client4
Definition: nfs41_ops.h:182
struct __nfs41_remove_args nfs41_remove_args
struct __nfs41_lockt_args nfs41_lockt_args
enum pnfs_layout_type type
Definition: nfs41_ops.h:956
enum secinfo_noname_type type
Definition: nfs41_ops.h:893
state_protect4_r state_protect
Definition: nfs41_ops.h:136
struct __nfs41_secinfo_args nfs41_secinfo_args
time_how4
Definition: nfs41_ops.h:776
bool_t signal_layout_avail
Definition: nfs41_ops.h:906
const nfs41_component * filename
Definition: nfs41_ops.h:619
stateid_arg * lock_stateid
Definition: nfs41_ops.h:478
enum pnfs_iomode iomode
Definition: nfs41_ops.h:908
struct __nfs41_write_res_ok nfs41_write_res_ok
UINT64 uint64_t
Definition: types.h:77
struct __nfs41_openattr_res nfs41_openattr_res
struct __pnfs_layoutreturn_res pnfs_layoutreturn_res
pnfs_layoutget_res_ok * res_ok
Definition: nfs41_ops.h:927
uint32_t linkdata_len
Definition: nfs41_ops.h:347
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
nfs41_write_verf * verf
Definition: nfs41_ops.h:332
uint64_t offset
Definition: nfs41_ops.h:685
enum nfsstat4 status
Definition: nfs41_ops.h:924
nfs41_readdir_cookie cookie
Definition: nfs41_ops.h:704
GLuint GLint GLboolean GLint GLenum access
Definition: glext.h:7866
char server_scope[NFS4_OPAQUE_LIMIT]
Definition: nfs41_ops.h:139
struct __nfs41_openattr_args nfs41_openattr_args
uint32_t mode
Definition: nfs41_ops.h:547
lock_res_denied denied
Definition: nfs41_ops.h:469
struct __nfs41_create_args nfs41_create_args
state_protect_how4 spa_how
Definition: nfs41_ops.h:117
enum nfsstat4 status
Definition: nfs41_ops.h:988
stateid4 stateid
Definition: nfs41_ops.h:284
struct __nfs41_destroy_clientid_res nfs41_destroy_clientid_res
struct __specdata4 specdata4
Definition: services.c:325
struct __nfs41_write_res nfs41_write_res
Definition: list.h:27
struct __nfs41_read_args nfs41_read_args
struct __nfs41_op_open_res_ok nfs41_op_open_res_ok
uint32_t status
Definition: nfs41_ops.h:855
int nfs41_create_session(IN nfs41_client *clnt, OUT nfs41_session *session, IN bool_t try_recovery)
int nfs41_cached_getattr(IN nfs41_session *session, IN nfs41_path_fh *file, OUT nfs41_file_info *info)
Definition: getattr.c:32
uint32_t count
Definition: nfs41_ops.h:686
UINT32 uint32_t
Definition: types.h:75
uint32_t claim
Definition: nfs41_ops.h:794
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
exist_lock_owner4 lock_owner
Definition: nfs41_ops.h:423
struct __nfs41_lookup_res nfs41_lookup_res
struct __nfs41_sequence_res nfs41_sequence_res
uint32_t lock_seqid
Definition: nfs41_ops.h:414
lock_res_denied denied
Definition: nfs41_ops.h:452
struct __nfs41_op_close_args nfs41_op_close_args
struct __open_claim4::@40::__open_claim_deleg_prev deleg_prev
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
enum pnfs_return_type return_type
Definition: nfs41_ops.h:958
struct __state_protect4_r state_protect4_r
struct __nfs41_callback_sec_parms::@36::__authsys_parms auth_sys
Definition: name.c:36
bool_t will_signal_layout_avail
Definition: nfs41_ops.h:929
uint32_t claim
Definition: nfs41_ops.h:615
#define OUT
Definition: typedefs.h:39
stateid_arg * delegate_stateid
Definition: nfs41_ops.h:627
struct __nfs41_sequence_res_ok nfs41_sequence_res_ok
struct __nfs41_secinfo_info nfs41_secinfo_info
state_owner4 * owner
Definition: nfs41_ops.h:463
GLenum target
Definition: glext.h:7315
struct __pnfs_getdeviceinfo_res pnfs_getdeviceinfo_res
struct __nfs41_op_open_args nfs41_op_open_args
state_protect4_a eia_state_protect
Definition: nfs41_ops.h:123
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
uint32_t locktype
Definition: nfs41_ops.h:438
struct __nfs41_lock_args nfs41_lock_args
struct __pnfs_getdeviceinfo_res_ok pnfs_getdeviceinfo_res_ok
static char * dest
Definition: rtl.c:135
sec_flavor
Definition: nfs41_ops.h:861
state_protect_how4 spr_how
Definition: nfs41_ops.h:128
const nfs41_component * target
Definition: nfs41_ops.h:744
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
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_op_close_res nfs41_op_close_res
struct __lock_res_denied lock_res_denied
#define MAX_OID_LEN
Definition: nfs41_ops.h:868
uint32_t supported
Definition: nfs41_ops.h:308
createmode4
Definition: nfs41_ops.h:539
uint32_t status
Definition: nfs41_ops.h:696
opentype4
Definition: nfs41_ops.h:552
pnfs_iomode
Definition: pnfs.h:80
struct __pnfs_layoutget_res_ok pnfs_layoutget_res_ok
uint32_t opentype
Definition: nfs41_ops.h:558
struct __nfs41_link_res nfs41_link_res
static const struct access_res create[16]
Definition: package.c:7720
struct __pnfs_layoutget_args pnfs_layoutget_args
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
struct __open_claim4::@40::__open_claim_prev prev
struct __nfs41_commit_res nfs41_commit_res
uint64_t length
Definition: nfs41_ops.h:437
const nfs41_component * newname
Definition: nfs41_ops.h:757
struct __nfs41_lock_res nfs41_lock_res
struct __createhow4 createhow4
nfs_opnum4
Definition: nfs41_ops.h:30
struct __pnfs_layoutreturn_args pnfs_layoutreturn_args
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
struct __nfs41_test_stateid_args nfs41_test_stateid_args
stateid_arg * open_stateid
Definition: nfs41_ops.h:407
int nfs41_secinfo_noname(IN nfs41_session *session, IN nfs41_path_fh *file, OUT nfs41_secinfo_info *secinfo)
Definition: nfs41_ops.c:1828
Definition: fci.c:126
struct __nfs41_callback_sec_parms nfs41_callback_secparms
struct __nfs41_setattr_res nfs41_setattr_res
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68