Home
last modified time | relevance | path

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

/fs/nfs/
Dcallback.c128 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() argument
131 if (minorversion) in nfs_callback_bc_serv()
139 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() argument
145 static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt, in nfs_callback_start_svc() argument
151 nfs_callback_bc_serv(minorversion, xprt, serv); in nfs_callback_start_svc()
168 static void nfs_callback_down_net(u32 minorversion, struct svc_serv *serv, struct net *net) in nfs_callback_down_net() argument
172 if (--nn->cb_users[minorversion]) in nfs_callback_down_net()
179 static int nfs_callback_up_net(int minorversion, struct svc_serv *serv, in nfs_callback_up_net() argument
185 if (nn->cb_users[minorversion]++) in nfs_callback_up_net()
197 if (!IS_ENABLED(CONFIG_NFS_V4_1) || minorversion == 0) in nfs_callback_up_net()
[all …]
Dnfs4client.c29 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() argument
34 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr()
209 err = nfs_get_cb_ident_idr(clp, cl_init->minorversion); in nfs4_alloc_client()
213 if (cl_init->minorversion > NFS4_MAX_MINOR_VERSION) { in nfs4_alloc_client()
223 clp->cl_mvops = nfs_v4_minor_ops[cl_init->minorversion]; in nfs4_alloc_client()
230 if (cl_init->minorversion != 0) in nfs4_alloc_client()
827 struct nfs_client *clp, u32 minorversion) in nfs4_cb_match_client() argument
840 clp->cl_minorversion != minorversion) in nfs4_cb_match_client()
856 struct nfs4_sessionid *sid, u32 minorversion) in nfs4_find_client_sessionid() argument
863 if (!nfs4_cb_match_client(addr, clp, minorversion)) in nfs4_find_client_sessionid()
[all …]
Dcallback.h46 u32 minorversion; member
53 unsigned int minorversion; member
207 extern int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt);
208 extern void nfs_callback_down(int minorversion, struct net *net);
Dnfs42xdr.c517 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_allocate()
537 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_copy()
560 .minorversion = nfs4_xdr_minorversion(&args->osa_seq_args), in nfs4_xdr_enc_offload_cancel()
579 .minorversion = nfs4_xdr_minorversion(&args->cna_seq_args), in nfs4_xdr_enc_copy_notify()
598 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_deallocate()
618 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_read_plus()
640 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_seek()
661 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_layoutstats()
682 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_clone()
704 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_layouterror()
[all …]
Dnfs4xdr.c961 u32 minorversion; member
1043 *p++ = cpu_to_be32(hdr->minorversion); in encode_compound_hdr()
2147 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_access()
2167 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_lookup()
2187 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_lookupp()
2208 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_lookup_root()
2227 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_remove()
2245 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_rename()
2265 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_link()
2287 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_create()
[all …]
Dfs_context.c510 ctx->minorversion = 0; in nfs_parse_version_string()
514 ctx->minorversion = 1; in nfs_parse_version_string()
518 ctx->minorversion = 2; in nfs_parse_version_string()
729 ctx->minorversion = result.uint_32; in nfs_fs_context_parse_param()
1400 if (ctx->minorversion && ctx->version != 4) in nfs_fs_context_validate()
1404 (ctx->version != 4 || ctx->minorversion != 0)) in nfs_fs_context_validate()
1488 ctx->version, ctx->minorversion); in nfs_fs_context_validate()
1614 ctx->minorversion = nfss->nfs_client->cl_minorversion; in nfs_init_fs_context()
1637 ctx->minorversion = 0; in nfs_init_fs_context()
Dcallback_xdr.c152 hdr->minorversion = ntohl(*p++); in decode_compound_hdr_arg()
154 if (hdr->minorversion <= NFS4_MAX_MINOR_VERSION) { in decode_compound_hdr_arg()
159 __func__, hdr->minorversion); in decode_compound_hdr_arg()
875 switch (cps->minorversion) { in process_op()
937 if (hdr_arg.minorversion == 0) { in nfs4_callback_compound()
950 cps.minorversion = hdr_arg.minorversion; in nfs4_callback_compound()
Dsuper.c422 unsigned int minorversion) in nfs_show_nfs_version() argument
426 seq_printf(m, ".%u", minorversion); in nfs_show_nfs_version()
986 ctx->minorversion != nfss->nfs_client->cl_minorversion || in nfs_compare_remount_data()
Dnamespace.c183 ctx->minorversion = client->cl_minorversion; in nfs_d_automount()
Dinternal.h78 u32 minorversion; member
110 unsigned int minorversion; member
Dclient.c156 clp->cl_minorversion = cl_init->minorversion; in nfs_alloc_client()
313 if (clp->cl_minorversion != data->minorversion) in nfs_match_client()
Dcallback_proc.c500 &args->csa_sessionid, cps->minorversion); in nfs4_callback_sequence()
Dnfs4proc.c3839 u32 bitmask[3] = {}, minorversion = server->nfs_client->cl_minorversion; in _nfs4_server_capabilities() local
3860 if (minorversion) in _nfs4_server_capabilities()
3866 switch (minorversion) { in _nfs4_server_capabilities()
/fs/nfsd/
Dnfs4callback.c59 u32 minorversion; member
269 *p++ = cpu_to_be32(hdr->minorversion); in encode_cb_compound4args()
379 if (hdr->minorversion == 0) in encode_cb_sequence4args()
505 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_recall()
525 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_recall_any()
627 BUG_ON(hdr->minorversion == 0); in encode_cb_layout4args()
656 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_layout()
704 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_notify_lock()
709 BUG_ON(hdr.minorversion == 0); in nfs4_xdr_enc_cb_notify_lock()
808 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_offload()
[all …]
Dnfssvc.c238 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change) in nfsd_minorversion() argument
240 if (minorversion > NFSD_SUPPORTED_MINOR_VERSION && in nfsd_minorversion()
248 nn->nfsd4_minorversions[minorversion] = in nfsd_minorversion()
255 nn->nfsd4_minorversions[minorversion] = false; in nfsd_minorversion()
261 return nn->nfsd4_minorversions[minorversion]; in nfsd_minorversion()
264 return minorversion <= NFSD_SUPPORTED_MINOR_VERSION && in nfsd_minorversion()
Dnfsd.h132 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change);
458 static inline bool nfsd_attrs_supported(u32 minorversion, const u32 *bmval) in nfsd_attrs_supported() argument
460 return bmval_is_subset(bmval, nfsd_suppattrs[minorversion]); in nfsd_attrs_supported()
Dnfs4proc.c88 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support()
742 if (cstate->minorversion >= 2) in nfsd4_access()
892 getattr->ga_bmval[0] &= nfsd_suppattrs[cstate->minorversion][0]; in nfsd4_getattr()
893 getattr->ga_bmval[1] &= nfsd_suppattrs[cstate->minorversion][1]; in nfsd4_getattr()
894 getattr->ga_bmval[2] &= nfsd_suppattrs[cstate->minorversion][2]; in nfsd4_getattr()
1009 readdir->rd_bmval[0] &= nfsd_suppattrs[cstate->minorversion][0]; in nfsd4_readdir()
1010 readdir->rd_bmval[1] &= nfsd_suppattrs[cstate->minorversion][1]; in nfsd4_readdir()
1011 readdir->rd_bmval[2] &= nfsd_suppattrs[cstate->minorversion][2]; in nfsd4_readdir()
1089 if (cstate->minorversion) in nfsd4_secinfo()
2508 if (args->minorversion == 0) in nfs41_check_op_ordering()
[all …]
Dnfs4xdr.c396 if (nfsd_attrs_supported(argp->minorversion, bmval)) in nfsd4_decode_fattr4()
1004 if (argp->minorversion < 1) in nfsd4_decode_createhow4()
1067 if (!argp->minorversion) in nfsd4_decode_share_access()
1138 if (argp->minorversion < 1) in nfsd4_decode_open_claim4()
1143 if (argp->minorversion < 1) in nfsd4_decode_open_claim4()
1192 if (argp->minorversion >= 1) in nfsd4_decode_open_confirm()
1251 if (argp->minorversion == 0) in nfsd4_decode_putpubfh()
1358 if (argp->minorversion >= 1) in nfsd4_decode_setclientid()
1401 if (argp->minorversion >= 1) in nfsd4_decode_setclientid_confirm()
1472 if (argp->minorversion >= 1) in nfsd4_decode_release_lockowner()
[all …]
Dxdr4.h64 u32 minorversion; member
722 u32 minorversion; member
Dnfs4state.c3408 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id()
6461 if (cstate->minorversion) in nfsd4_lookup_stateid()
7451 if (!cstate->minorversion && in lookup_or_create_lock_state()
8299 if (cstate->minorversion) { in put_stateid()