Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfs/
Dcallback.c143 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() argument
146 if (minorversion) in nfs_callback_bc_serv()
154 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() argument
160 static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt, in nfs_callback_start_svc() argument
166 nfs_callback_bc_serv(minorversion, xprt, serv); in nfs_callback_start_svc()
183 static void nfs_callback_down_net(u32 minorversion, struct svc_serv *serv, struct net *net) in nfs_callback_down_net() argument
187 if (--nn->cb_users[minorversion]) in nfs_callback_down_net()
194 static int nfs_callback_up_net(int minorversion, struct svc_serv *serv, in nfs_callback_up_net() argument
200 if (nn->cb_users[minorversion]++) in nfs_callback_up_net()
212 if (!IS_ENABLED(CONFIG_NFS_V4_1) || minorversion == 0) in nfs_callback_up_net()
[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);
Dnfs4client.c28 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() argument
33 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr()
208 err = nfs_get_cb_ident_idr(clp, cl_init->minorversion); in nfs4_alloc_client()
212 if (cl_init->minorversion > NFS4_MAX_MINOR_VERSION) { in nfs4_alloc_client()
222 clp->cl_mvops = nfs_v4_minor_ops[cl_init->minorversion]; in nfs4_alloc_client()
229 if (cl_init->minorversion != 0) in nfs4_alloc_client()
823 struct nfs_client *clp, u32 minorversion) in nfs4_cb_match_client() argument
836 clp->cl_minorversion != minorversion) in nfs4_cb_match_client()
852 struct nfs4_sessionid *sid, u32 minorversion) in nfs4_find_client_sessionid() argument
859 if (!nfs4_cb_match_client(addr, clp, minorversion)) in nfs4_find_client_sessionid()
[all …]
Dnfs42xdr.c662 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_allocate()
694 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_copy()
717 .minorversion = nfs4_xdr_minorversion(&args->osa_seq_args), in nfs4_xdr_enc_offload_cancel()
736 .minorversion = nfs4_xdr_minorversion(&args->cna_seq_args), in nfs4_xdr_enc_copy_notify()
755 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_deallocate()
775 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_read_plus()
797 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_seek()
818 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_layoutstats()
839 .minorversion = nfs4_xdr_minorversion(&args->seq_args), in nfs4_xdr_enc_clone()
861 .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.c456 ctx->minorversion = 0; in nfs_parse_version_string()
460 ctx->minorversion = 1; in nfs_parse_version_string()
464 ctx->minorversion = 2; in nfs_parse_version_string()
675 ctx->minorversion = result.uint_32; in nfs_fs_context_parse_param()
1333 if (ctx->minorversion && ctx->version != 4) in nfs_fs_context_validate()
1337 (ctx->version != 4 || ctx->minorversion != 0)) in nfs_fs_context_validate()
1421 ctx->version, ctx->minorversion); in nfs_fs_context_validate()
1547 ctx->minorversion = nfss->nfs_client->cl_minorversion; in nfs_init_fs_context()
1570 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()
Dnamespace.c183 ctx->minorversion = client->cl_minorversion; in nfs_d_automount()
Dsuper.c418 unsigned int minorversion) in nfs_show_nfs_version() argument
422 seq_printf(m, ".%u", minorversion); in nfs_show_nfs_version()
983 ctx->minorversion != nfss->nfs_client->cl_minorversion || in nfs_compare_remount_data()
Dinternal.h78 u32 minorversion; member
106 unsigned int minorversion; member
Dclient.c157 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()
/linux-6.1.9/fs/nfsd/
Dnfs4callback.c59 u32 minorversion; member
258 *p++ = cpu_to_be32(hdr->minorversion); in encode_cb_compound4args()
350 if (hdr->minorversion == 0) in encode_cb_sequence4args()
476 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_recall()
556 BUG_ON(hdr->minorversion == 0); in encode_cb_layout4args()
585 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_layout()
633 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_notify_lock()
638 BUG_ON(hdr.minorversion == 0); in nfs4_xdr_enc_cb_notify_lock()
737 .minorversion = cb->cb_clp->cl_minorversion, in nfs4_xdr_enc_cb_offload()
1075 u32 minorversion = clp->cl_minorversion; in nfsd4_cb_prepare() local
[all …]
Dnfssvc.c237 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change) in nfsd_minorversion() argument
239 if (minorversion > NFSD_SUPPORTED_MINOR_VERSION && in nfsd_minorversion()
247 nn->nfsd4_minorversions[minorversion] = in nfsd_minorversion()
254 nn->nfsd4_minorversions[minorversion] = false; in nfsd_minorversion()
260 return nn->nfsd4_minorversions[minorversion]; in nfsd_minorversion()
263 return minorversion <= NFSD_SUPPORTED_MINOR_VERSION && in nfsd_minorversion()
Dnfsd.h134 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change);
459 static inline bool nfsd_attrs_supported(u32 minorversion, const u32 *bmval) in nfsd_attrs_supported() argument
461 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()
708 if (cstate->minorversion >= 2) in nfsd4_access()
858 getattr->ga_bmval[0] &= nfsd_suppattrs[cstate->minorversion][0]; in nfsd4_getattr()
859 getattr->ga_bmval[1] &= nfsd_suppattrs[cstate->minorversion][1]; in nfsd4_getattr()
860 getattr->ga_bmval[2] &= nfsd_suppattrs[cstate->minorversion][2]; in nfsd4_getattr()
980 readdir->rd_bmval[0] &= nfsd_suppattrs[cstate->minorversion][0]; in nfsd4_readdir()
981 readdir->rd_bmval[1] &= nfsd_suppattrs[cstate->minorversion][1]; in nfsd4_readdir()
982 readdir->rd_bmval[2] &= nfsd_suppattrs[cstate->minorversion][2]; in nfsd4_readdir()
1060 if (cstate->minorversion) in nfsd4_secinfo()
2494 if (args->minorversion == 0) in nfs41_check_op_ordering()
[all …]
Dnfs4xdr.c396 if (nfsd_attrs_supported(argp->minorversion, bmval)) in nfsd4_decode_fattr4()
993 if (argp->minorversion < 1) in nfsd4_decode_createhow4()
1056 if (!argp->minorversion) in nfsd4_decode_share_access()
1127 if (argp->minorversion < 1) in nfsd4_decode_open_claim4()
1132 if (argp->minorversion < 1) in nfsd4_decode_open_claim4()
1178 if (argp->minorversion >= 1) in nfsd4_decode_open_confirm()
1234 if (argp->minorversion == 0) in nfsd4_decode_putpubfh()
1333 if (argp->minorversion >= 1) in nfsd4_decode_setclientid()
1374 if (argp->minorversion >= 1) in nfsd4_decode_setclientid_confirm()
1441 if (argp->minorversion >= 1) in nfsd4_decode_release_lockowner()
[all …]
Dxdr4.h64 u32 minorversion; member
722 u32 minorversion; member
Dnfs4state.c3373 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id()
6309 if (cstate->minorversion) in nfsd4_lookup_stateid()
7274 if (!cstate->minorversion && in lookup_or_create_lock_state()
8100 if (cstate->minorversion) { in put_stateid()
/linux-6.1.9/Documentation/filesystems/nfs/
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
/linux-6.1.9/include/uapi/linux/
Dcapi.h48 __u32 minorversion; member
/linux-6.1.9/net/bluetooth/cmtp/
Dcapi.c271 ctrl->version.minorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 20); in cmtp_recv_interopmsg()