/linux-6.6.21/fs/nfs/ |
D | callback.c | 128 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 …]
|
D | callback.h | 46 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);
|
D | nfs4client.c | 29 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() 828 struct nfs_client *clp, u32 minorversion) in nfs4_cb_match_client() argument 841 clp->cl_minorversion != minorversion) in nfs4_cb_match_client() 857 struct nfs4_sessionid *sid, u32 minorversion) in nfs4_find_client_sessionid() argument 864 if (!nfs4_cb_match_client(addr, clp, minorversion)) in nfs4_find_client_sessionid() [all …]
|
D | nfs42xdr.c | 517 .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 …]
|
D | nfs4xdr.c | 961 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 …]
|
D | fs_context.c | 510 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() 1397 if (ctx->minorversion && ctx->version != 4) in nfs_fs_context_validate() 1401 (ctx->version != 4 || ctx->minorversion != 0)) in nfs_fs_context_validate() 1485 ctx->version, ctx->minorversion); in nfs_fs_context_validate() 1611 ctx->minorversion = nfss->nfs_client->cl_minorversion; in nfs_init_fs_context() 1634 ctx->minorversion = 0; in nfs_init_fs_context()
|
D | callback_xdr.c | 152 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()
|
D | namespace.c | 183 ctx->minorversion = client->cl_minorversion; in nfs_d_automount()
|
D | super.c | 422 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()
|
D | internal.h | 78 u32 minorversion; member 110 unsigned int minorversion; member
|
D | client.c | 157 clp->cl_minorversion = cl_init->minorversion; in nfs_alloc_client() 314 if (clp->cl_minorversion != data->minorversion) in nfs_match_client()
|
D | callback_proc.c | 500 &args->csa_sessionid, cps->minorversion); in nfs4_callback_sequence()
|
D | nfs4proc.c | 3839 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.6.21/fs/nfsd/ |
D | nfs4callback.c | 59 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 …]
|
D | nfssvc.c | 243 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change) in nfsd_minorversion() argument 245 if (minorversion > NFSD_SUPPORTED_MINOR_VERSION && in nfsd_minorversion() 253 nn->nfsd4_minorversions[minorversion] = in nfsd_minorversion() 260 nn->nfsd4_minorversions[minorversion] = false; in nfsd_minorversion() 266 return nn->nfsd4_minorversions[minorversion]; in nfsd_minorversion() 269 return minorversion <= NFSD_SUPPORTED_MINOR_VERSION && in nfsd_minorversion()
|
D | nfsd.h | 131 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change); 457 static inline bool nfsd_attrs_supported(u32 minorversion, const u32 *bmval) in nfsd_attrs_supported() argument 459 return bmval_is_subset(bmval, nfsd_suppattrs[minorversion]); in nfsd_attrs_supported()
|
D | nfs4proc.c | 88 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() 2507 if (args->minorversion == 0) in nfs41_check_op_ordering() [all …]
|
D | nfs4xdr.c | 396 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 …]
|
D | xdr4.h | 64 u32 minorversion; member 722 u32 minorversion; member
|
D | nfs4state.c | 3411 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id() 6464 if (cstate->minorversion) in nfsd4_lookup_stateid() 7454 if (!cstate->minorversion && in lookup_or_create_lock_state() 8302 if (cstate->minorversion) { in put_stateid()
|
/linux-6.6.21/Documentation/filesystems/nfs/ |
D | nfs41-server.rst | 5 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.6.21/include/uapi/linux/ |
D | capi.h | 48 __u32 minorversion; member
|
/linux-6.6.21/net/bluetooth/cmtp/ |
D | capi.c | 271 ctrl->version.minorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 20); in cmtp_recv_interopmsg()
|