Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfs/
H A Dcallback.c131 if (minorversion) in nfs_callback_bc_serv()
151 nfs_callback_bc_serv(minorversion, xprt, serv); in nfs_callback_start_svc()
172 if (--nn->cb_users[minorversion]) in nfs_callback_down_net()
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()
213 nn->cb_users[minorversion]--; in nfs_callback_up_net()
241 if (minorversion) in nfs_callback_create_svc()
244 if (minorversion) in nfs_callback_create_svc()
274 serv = nfs_callback_create_svc(minorversion); in nfs_callback_up()
298 nfs_callback_down_net(minorversion, serv, net); in nfs_callback_up()
[all …]
H A 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);
H A Dnfs4client.c34 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr()
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
886 struct nfs4_sessionid *sid, u32 minorversion) in nfs4_find_client_sessionid() argument
901 u32 minorversion, unsigned int nconnect, in nfs4_set_client() argument
913 .minorversion = minorversion, in nfs4_set_client()
921 if (minorversion == 0) in nfs4_set_client()
989 .minorversion = minor_version, in nfs4_set_ds_client()
[all …]
H A 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()
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()
724 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_setxattr()
743 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_getxattr()
[all …]
H A 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()
2505 .minorversion = 0, in nfs4_xdr_enc_release_lockowner()
2895 .minorversion = args->client->cl_mvops->minor_version, in nfs4_xdr_enc_bind_conn_to_session()
2912 .minorversion = args->client->cl_mvops->minor_version, in nfs4_xdr_enc_exchange_id()
2929 .minorversion = args->client->cl_mvops->minor_version, in nfs4_xdr_enc_create_session()
2946 .minorversion = session->clp->cl_mvops->minor_version, in nfs4_xdr_enc_destroy_session()
2963 .minorversion = clp->cl_mvops->minor_version, in nfs4_xdr_enc_destroy_clientid()
2979 .minorversion = nfs4_xdr_minorversion(args), in nfs4_xdr_enc_sequence()
[all …]
H A 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()
H A 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()
877 switch (cps->minorversion) { in process_op()
939 if (hdr_arg.minorversion == 0) { in nfs4_callback_compound()
952 cps.minorversion = hdr_arg.minorversion; in nfs4_callback_compound()
H A Dnamespace.c183 ctx->minorversion = client->cl_minorversion; in nfs_d_automount()
H A Dsuper.c424 unsigned int minorversion) in nfs_show_nfs_version() argument
428 seq_printf(m, ".%u", minorversion); in nfs_show_nfs_version()
988 ctx->minorversion != nfss->nfs_client->cl_minorversion || in nfs_compare_remount_data()
H A Dinternal.h78 u32 minorversion; member
110 unsigned int minorversion; member
H A Dclient.c156 clp->cl_minorversion = cl_init->minorversion; in nfs_alloc_client()
313 if (clp->cl_minorversion != data->minorversion) in nfs_match_client()
H A Dcallback_proc.c500 &args->csa_sessionid, cps->minorversion); in nfs4_callback_sequence()
H A 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()
/openbmc/linux/fs/nfsd/
H A 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 …]
H A 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()
H A 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()
H A 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()
1089 if (cstate->minorversion) in nfsd4_secinfo()
2508 if (args->minorversion == 0) in nfs41_check_op_ordering()
2639 cstate->minorversion = args->minorversion; in nfsd4_proc_compound()
2652 if (nfsd_minorversion(nn, args->minorversion, NFSD_TEST) <= 0) in nfsd4_proc_compound()
2673 if (cstate->minorversion == 0 && in nfsd4_proc_compound()
[all …]
H A 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()
1350 if (argp->minorversion >= 1) in nfsd4_decode_setclientid()
1393 if (argp->minorversion >= 1) in nfsd4_decode_setclientid_confirm()
1464 if (argp->minorversion >= 1) in nfsd4_decode_release_lockowner()
2514 if (argp->minorversion) in nfsd4_decode_compound()
[all …]
H A Dxdr4.h64 u32 minorversion; member
722 u32 minorversion; member
H A Dnfs4state.c3409 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id()
6462 if (cstate->minorversion) in nfsd4_lookup_stateid()
7452 if (!cstate->minorversion && in lookup_or_create_lock_state()
8300 if (cstate->minorversion) { in put_stateid()
/openbmc/linux/include/uapi/linux/
H A Dcapi.h48 __u32 minorversion; member
/openbmc/linux/Documentation/filesystems/nfs/
H A Dnfs41-server.rst5 Server support for minorversion 1 can be controlled using the
10 Currently, server support for minorversion 1 is enabled by default.
21 The NFSv4 minorversion 1 (NFSv4.1) implementation in nfsd is based
/openbmc/linux/net/bluetooth/cmtp/
H A Dcapi.c271 ctrl->version.minorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 20); in cmtp_recv_interopmsg()