Lines Matching refs:minorversion
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()
213 nn->cb_users[minorversion]--; in nfs_callback_up_net()
219 static struct svc_serv *nfs_callback_create_svc(int minorversion) in nfs_callback_create_svc() argument
221 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_create_svc()
241 if (minorversion) in nfs_callback_create_svc()
244 if (minorversion) in nfs_callback_create_svc()
265 int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) in nfs_callback_up() argument
268 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_up()
274 serv = nfs_callback_create_svc(minorversion); in nfs_callback_up()
280 ret = nfs_callback_up_net(minorversion, serv, net, xprt); in nfs_callback_up()
284 ret = nfs_callback_start_svc(minorversion, xprt, serv); in nfs_callback_up()
298 nfs_callback_down_net(minorversion, serv, net); in nfs_callback_up()
306 void nfs_callback_down(int minorversion, struct net *net) in nfs_callback_down() argument
308 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_down()
313 nfs_callback_down_net(minorversion, serv, net); in nfs_callback_down()