Lines Matching refs:cb_info
184 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_create_svc() local
191 if (cb_info->serv) in nfs_callback_create_svc()
192 return cb_info->serv; in nfs_callback_create_svc()
198 if (cb_info->users) in nfs_callback_create_svc()
200 cb_info->users); in nfs_callback_create_svc()
213 cb_info->serv = serv; in nfs_callback_create_svc()
228 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_up() local
248 cb_info->users++; in nfs_callback_up()
250 if (!cb_info->users) { in nfs_callback_up()
251 svc_set_num_threads(cb_info->serv, NULL, 0); in nfs_callback_up()
252 svc_destroy(&cb_info->serv); in nfs_callback_up()
269 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_down() local
273 serv = cb_info->serv; in nfs_callback_down()
275 cb_info->users--; in nfs_callback_down()
276 if (cb_info->users == 0) { in nfs_callback_down()
279 svc_destroy(&cb_info->serv); in nfs_callback_down()