Lines Matching refs:vers

261     struct netobj *fhp, struct flk_callback *flcb, int vers)  in nlm_frlock()  argument
296 offset, fhp, vers); in nlm_frlock()
302 offset, fhp, flcb, vers, (cmd == F_SETLKW)); in nlm_frlock()
319 struct netobj *fhp, int vers) in nlm_frlock_getlk() argument
345 error = nlm_call_test(&flk0, hostp, fhp, vers); in nlm_frlock_getlk()
372 int vers, bool_t do_block) in nlm_frlock_setlk() argument
393 if (vers < NLM4_VERS) { in nlm_frlock_setlk()
412 error = nlm_call_unlock(flkp, hostp, fhp, vers); in nlm_frlock_setlk()
440 error = nlm_call_lock(vp, flkp, hostp, fhp, flcb, vers, xflags); in nlm_frlock_setlk()
474 rpcvers_t vers; in nlm_client_cancel_all() local
487 error = nlm_init_fh_by_vp(llp->ll_vp, &lm_fh, &vers); in nlm_client_cancel_all()
490 &lm_fh, vers); in nlm_client_cancel_all()
503 error = nlm_init_fh_by_vp(nsp->ns_vp, &lm_fh, &vers); in nlm_client_cancel_all()
506 &lm_fh, vers); in nlm_client_cancel_all()
666 rpcvers_t vers; in nlm_reclaim_lock() local
677 error = nlm_init_fh_by_vp(vp, &lm_fh, &vers); in nlm_reclaim_lock()
682 NULL, vers, NLM_X_RECLAIM)); in nlm_reclaim_lock()
750 struct flk_callback *flcb, int vers, int xflags) in nlm_call_lock() argument
784 error = nlm_host_get_rpc(hostp, vers, &rpcp); in nlm_call_lock()
791 stat = nlm_lock_rpc(&args, &res, rpcp->nr_handle, vers); in nlm_call_lock()
905 (void) nlm_call_cancel(&args, hostp, vers); in nlm_call_lock()
950 struct nlm_host *hostp, int vers) in nlm_call_cancel() argument
979 error = nlm_host_get_rpc(hostp, vers, &rpcp); in nlm_call_cancel()
984 stat = nlm_cancel_rpc(&cargs, &res, rpcp->nr_handle, vers); in nlm_call_cancel()
1037 struct netobj *fhp, int vers) in nlm_call_unlock() argument
1058 error = nlm_host_get_rpc(hostp, vers, &rpcp); in nlm_call_unlock()
1063 stat = nlm_unlock_rpc(&args, &res, rpcp->nr_handle, vers); in nlm_call_unlock()
1107 struct netobj *fhp, int vers) in nlm_call_test() argument
1130 error = nlm_host_get_rpc(hostp, vers, &rpcp); in nlm_call_test()
1135 stat = nlm_test_rpc(&args, &res, rpcp->nr_handle, vers); in nlm_call_test()
1211 int flags, struct netobj *fh, int vers) in nlm_shrlock() argument
1250 error = nlm_call_unshare(&shlk, host, fh, vers); in nlm_shrlock()
1257 error = nlm_call_share(&shlk, host, fh, vers, FALSE); in nlm_shrlock()
1290 rpcvers_t vers; in nlm_reclaim_share() local
1301 error = nlm_init_fh_by_vp(vp, &lm_fh, &vers); in nlm_reclaim_share()
1305 return (nlm_call_share(shr, hostp, &lm_fh, vers, 1)); in nlm_reclaim_share()
1339 struct netobj *fh, int vers, int reclaim) in nlm_call_share() argument
1360 error = nlm_host_get_rpc(host, vers, &rpcp); in nlm_call_share()
1365 stat = nlm_share_rpc(&args, &res, rpcp->nr_handle, vers); in nlm_call_share()
1418 struct netobj *fh, int vers) in nlm_call_unshare() argument
1437 error = nlm_host_get_rpc(host, vers, &rpcp); in nlm_call_unshare()
1442 stat = nlm_unshare_rpc(&args, &res, rpcp->nr_handle, vers); in nlm_call_unshare()