Home
last modified time | relevance | path

Searched refs:minorversion (Results 1 – 14 of 14) sorted by relevance

/fs/nfs/
Dcallback.c213 static inline int nfs_minorversion_callback_svc_setup(u32 minorversion, in nfs_minorversion_callback_svc_setup() argument
217 if (minorversion) { in nfs_minorversion_callback_svc_setup()
221 return minorversion; in nfs_minorversion_callback_svc_setup()
224 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() argument
227 if (minorversion) in nfs_callback_bc_serv()
231 static inline int nfs_minorversion_callback_svc_setup(u32 minorversion, in nfs_minorversion_callback_svc_setup() argument
238 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() argument
247 int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) in nfs_callback_up() argument
252 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_up()
260 nfs_callback_bc_serv(minorversion, xprt, cb_info); in nfs_callback_up()
[all …]
Dcallback.h48 unsigned int minorversion; member
196 extern int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt);
197 extern void nfs_callback_down(int minorversion);
Dclient.c65 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() argument
70 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr()
137 u32 minorversion; member
178 err = nfs_get_cb_ident_idr(clp, cl_init->minorversion); in nfs_alloc_client()
187 clp->cl_minorversion = cl_init->minorversion; in nfs_alloc_client()
188 clp->cl_mvops = nfs_v4_minor_ops[cl_init->minorversion]; in nfs_alloc_client()
450 struct nfs_client *clp, u32 minorversion) in nfs4_cb_match_client() argument
461 clp->cl_minorversion != minorversion) in nfs4_cb_match_client()
495 if (clp->cl_minorversion != data->minorversion) in nfs_match_client()
1415 u32 minorversion, struct net *net) in nfs4_set_client() argument
[all …]
Dcallback_xdr.c167 hdr->minorversion = ntohl(*p++); in decode_compound_hdr_arg()
169 if (hdr->minorversion <= 1) { in decode_compound_hdr_arg()
174 __func__, hdr->minorversion); in decode_compound_hdr_arg()
179 hdr->minorversion, hdr->nops); in decode_compound_hdr_arg()
803 static __be32 process_op(uint32_t minorversion, int nop, in process_op() argument
821 __func__, minorversion, nop, op_nr); in process_op()
823 status = minorversion ? preprocess_nfs41_op(nop, op_nr, &op) : in process_op()
881 if (hdr_arg.minorversion == 0) { in nfs4_callback_compound()
893 status = process_op(hdr_arg.minorversion, nops, rqstp, in nfs4_callback_compound()
Dnfs4xdr.c878 u32 minorversion; member
941 *p++ = cpu_to_be32(hdr->minorversion); in encode_compound_hdr()
1519 FMODE_READ, hdr->minorversion); in encode_read()
1657 FMODE_WRITE, hdr->minorversion); in encode_write()
2004 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_access()
2022 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_lookup()
2042 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_lookup_root()
2060 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_remove()
2078 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_rename()
2100 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_link()
[all …]
Dsuper.c650 unsigned int minorversion) in nfs_show_nfs_version() argument
654 seq_printf(m, ".%u", minorversion); in nfs_show_nfs_version()
957 data->minorversion = 0; in nfs_alloc_parsed_mount_data()
1125 mnt->minorversion = 0; in nfs_parse_version_string()
1129 mnt->minorversion = 1; in nfs_parse_version_string()
1373 mnt->minorversion = option; in nfs_parse_mount_options()
1578 if (mnt->minorversion && mnt->version != 4) in nfs_parse_mount_options()
1616 "minorversion=%u\n", mnt->version, mnt->minorversion); in nfs_parse_mount_options()
Dinternal.h104 unsigned int minorversion; member
/fs/nfsd/
Dnfsd.h102 int nfsd_minorversion(u32 minorversion, enum vers_op change);
335 static inline u32 nfsd_suppattrs0(u32 minorversion) in nfsd_suppattrs0() argument
337 return minorversion ? NFSD4_1_SUPPORTED_ATTRS_WORD0 in nfsd_suppattrs0()
341 static inline u32 nfsd_suppattrs1(u32 minorversion) in nfsd_suppattrs1() argument
343 return minorversion ? NFSD4_1_SUPPORTED_ATTRS_WORD1 in nfsd_suppattrs1()
347 static inline u32 nfsd_suppattrs2(u32 minorversion) in nfsd_suppattrs2() argument
349 return minorversion ? NFSD4_1_SUPPORTED_ATTRS_WORD2 in nfsd_suppattrs2()
Dnfssvc.c150 int nfsd_minorversion(u32 minorversion, enum vers_op change) in nfsd_minorversion() argument
152 if (minorversion > NFSD_SUPPORTED_MINOR_VERSION) in nfsd_minorversion()
156 nfsd_supported_minorversion = minorversion; in nfsd_minorversion()
159 if (minorversion == 0) in nfsd_minorversion()
161 nfsd_supported_minorversion = minorversion - 1; in nfsd_minorversion()
164 return minorversion <= nfsd_supported_minorversion; in nfsd_minorversion()
166 return minorversion <= NFSD_SUPPORTED_MINOR_VERSION; in nfsd_minorversion()
Dnfs4proc.c68 if ((bmval[0] & ~nfsd_suppattrs0(cstate->minorversion)) || in check_attr_support()
69 (bmval[1] & ~nfsd_suppattrs1(cstate->minorversion)) || in check_attr_support()
70 (bmval[2] & ~nfsd_suppattrs2(cstate->minorversion))) in check_attr_support()
632 getattr->ga_bmval[0] &= nfsd_suppattrs0(cstate->minorversion); in nfsd4_getattr()
633 getattr->ga_bmval[1] &= nfsd_suppattrs1(cstate->minorversion); in nfsd4_getattr()
634 getattr->ga_bmval[2] &= nfsd_suppattrs2(cstate->minorversion); in nfsd4_getattr()
729 readdir->rd_bmval[0] &= nfsd_suppattrs0(cstate->minorversion); in nfsd4_readdir()
730 readdir->rd_bmval[1] &= nfsd_suppattrs1(cstate->minorversion); in nfsd4_readdir()
731 readdir->rd_bmval[2] &= nfsd_suppattrs2(cstate->minorversion); in nfsd4_readdir()
823 if (cstate->minorversion) in nfsd4_secinfo()
[all …]
Dnfs4callback.c84 u32 minorversion; member
293 *p++ = cpu_to_be32(hdr->minorversion); in encode_cb_compound4args()
385 if (hdr->minorversion == 0) in encode_cb_sequence4args()
521 .minorversion = cb->cb_minorversion, in nfs4_xdr_enc_cb_recall()
802 u32 minorversion = clp->cl_minorversion; in nfsd4_cb_prepare() local
804 cb->cb_minorversion = minorversion; in nfsd4_cb_prepare()
805 if (minorversion) { in nfsd4_cb_prepare()
Dnfs4xdr.c642 if (!argp->minorversion) in nfsd4_decode_share_access()
750 if (argp->minorversion < 1) in nfsd4_decode_open()
797 if (argp->minorversion < 1) in nfsd4_decode_open()
802 if (argp->minorversion < 1) in nfsd4_decode_open()
1120 if (argp->minorversion && !zero_clientid(&rlockowner->rl_clientid)) in nfsd4_decode_release_lockowner()
1575 READ32(argp->minorversion); in nfsd4_decode_compound()
1592 if (argp->minorversion >= ARRAY_SIZE(nfsd4_minorversion)) in nfsd4_decode_compound()
1595 ops = &nfsd4_minorversion[argp->minorversion]; in nfsd4_decode_compound()
1651 if (argp->minorversion) in nfsd4_decode_compound()
2014 u32 minorversion = resp->cstate.minorversion; in nfsd4_encode_fattr() local
[all …]
Dxdr4.h62 u32 minorversion; member
496 u32 minorversion; member
Dnfs4state.c4024 if (!cstate->minorversion) in lookup_or_create_lock_state()
4797 if (cstate->minorversion) { in put_stateid()