Searched refs:createmode (Results 1 – 9 of 9) sorted by relevance
74 struct svc_fh *res, int createmode,163 static inline int nfsd_create_is_exclusive(int createmode) in nfsd_create_is_exclusive() argument165 return createmode == NFS3_CREATE_EXCLUSIVE in nfsd_create_is_exclusive()166 || createmode == NFS4_CREATE_EXCLUSIVE4_1; in nfsd_create_is_exclusive()
51 int createmode; member
1384 struct svc_fh *resfhp, int createmode, u32 *verifier, in do_nfsd_create() argument1433 if (nfsd_create_is_exclusive(createmode)) { in do_nfsd_create()1447 switch (createmode) { in do_nfsd_create()1504 if (nfsd_create_is_exclusive(createmode)) { in do_nfsd_create()
240 attr, newfhp, argp->createmode, in nfsd3_proc_create()
459 switch (args->createmode = ntohl(*p++)) { in nfs3svc_decode_createargs()
334 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create()336 data->arg.create.createmode = NFS3_CREATE_EXCLUSIVE; in nfs3_proc_create()353 switch (data->arg.create.createmode) { in nfs3_proc_create()355 data->arg.create.createmode = NFS3_CREATE_GUARDED; in nfs3_proc_create()359 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create()377 if (data->arg.create.createmode == NFS3_CREATE_EXCLUSIVE) { in nfs3_proc_create()
1019 encode_uint32(xdr, args->createmode); in encode_createhow3()1020 switch (args->createmode) { in encode_createhow3()
2467 data->o_arg.createmode = NFS4_CREATE_UNCHECKED; in nfs4_open_prepare()2469 data->o_arg.createmode = NFS4_CREATE_EXCLUSIVE; in nfs4_open_prepare()2471 data->o_arg.createmode = NFS4_CREATE_GUARDED; in nfs4_open_prepare()2473 data->o_arg.createmode = NFS4_CREATE_EXCLUSIVE4_1; in nfs4_open_prepare()3001 if (opendata->o_arg.createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfs4_exclusive_attrset()3005 ret = (opendata->o_arg.createmode == NFS4_CREATE_EXCLUSIVE) ? in nfs4_exclusive_attrset()3177 (opendata->o_arg.createmode != NFS4_CREATE_GUARDED)) { in _nfs4_do_open()
1421 switch(arg->createmode) { in encode_createmode()