Searched refs:createmode (Results 1 – 9 of 9) sorted by relevance
71 struct svc_fh *res, int createmode,149 static inline int nfsd_create_is_exclusive(int createmode) in nfsd_create_is_exclusive() argument151 return createmode == NFS3_CREATE_EXCLUSIVE in nfsd_create_is_exclusive()152 || createmode == NFS4_CREATE_EXCLUSIVE4_1; in nfsd_create_is_exclusive()
51 int createmode; member
1315 struct svc_fh *resfhp, int createmode, u32 *verifier, in do_nfsd_create() argument1364 if (nfsd_create_is_exclusive(createmode)) { in do_nfsd_create()1378 switch (createmode) { in do_nfsd_create()1435 if (nfsd_create_is_exclusive(createmode)) { in do_nfsd_create()
251 argp->createmode, (u32 *)argp->verf, NULL, NULL); in nfsd3_proc_create()
457 switch (args->createmode = ntohl(*p++)) { in nfs3svc_decode_createargs()
324 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create()326 data->arg.create.createmode = NFS3_CREATE_EXCLUSIVE; in nfs3_proc_create()343 switch (data->arg.create.createmode) { in nfs3_proc_create()345 data->arg.create.createmode = NFS3_CREATE_GUARDED; in nfs3_proc_create()349 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create()367 if (data->arg.create.createmode == NFS3_CREATE_EXCLUSIVE) { in nfs3_proc_create()
1023 encode_uint32(xdr, args->createmode); in encode_createhow3()1024 switch (args->createmode) { in encode_createhow3()
2426 data->o_arg.createmode = NFS4_CREATE_UNCHECKED; in nfs4_open_prepare()2428 data->o_arg.createmode = NFS4_CREATE_EXCLUSIVE; in nfs4_open_prepare()2430 data->o_arg.createmode = NFS4_CREATE_GUARDED; in nfs4_open_prepare()2432 data->o_arg.createmode = NFS4_CREATE_EXCLUSIVE4_1; in nfs4_open_prepare()2956 if (opendata->o_arg.createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfs4_exclusive_attrset()2960 ret = (opendata->o_arg.createmode == NFS4_CREATE_EXCLUSIVE) ? in nfs4_exclusive_attrset()3132 (opendata->o_arg.createmode != NFS4_CREATE_GUARDED)) { in _nfs4_do_open()
1424 switch(arg->createmode) { in encode_createmode()