Home
last modified time | relevance | path

Searched refs:rpcp (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/klm/
H A Dnlm_rpc_handle.c73 nlm_rpc_t *rpcp; in get_nlm_rpc_fromcache() local
80 TAILQ_FOREACH(rpcp, &hostp->nh_rpchc, nr_link) { in get_nlm_rpc_fromcache()
81 if (rpcp->nr_vers == vers) { in get_nlm_rpc_fromcache()
90 TAILQ_REMOVE(&hostp->nh_rpchc, rpcp, nr_link); in get_nlm_rpc_fromcache()
91 return (rpcp); in get_nlm_rpc_fromcache()
131 refresh_nlm_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp) in refresh_nlm_rpc() argument
135 if (rpcp->nr_handle == NULL) { in refresh_nlm_rpc()
139 NLM_PROG, rpcp->nr_vers, 0, NLM_RPC_RETRIES, in refresh_nlm_rpc()
140 CRED(), &rpcp->nr_handle); in refresh_nlm_rpc()
152 if (clnt_control(rpcp->nr_handle, CLSET_NODELAYONERR, in refresh_nlm_rpc()
[all …]
H A Dnlm_service.c90 #define NLM_INVOKE_CALLBACK(descr, rpcp, resp, callb) \ argument
94 _stat = (*(callb))(resp, NULL, (rpcp)->nr_handle); \
98 CLNT_GETERR((rpcp)->nr_handle, &_err); \
110 nlm_rpc_t *rpcp,
326 nlm_rpc_t *rpcp = NULL; in nlm_do_test() local
347 error = nlm_host_get_rpc(host, sr->rq_vers, &rpcp); in nlm_do_test()
431 if (cb != NULL && rpcp != NULL) in nlm_do_test()
432 NLM_INVOKE_CALLBACK("test", rpcp, resp, cb); in nlm_do_test()
436 if (rpcp != NULL) in nlm_do_test()
437 nlm_host_rele_rpc(host, rpcp); in nlm_do_test()
[all …]
H A Dnlm_client.c779 nlm_rpc_t *rpcp; in nlm_call_lock() local
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()
792 nlm_host_rele_rpc(hostp, rpcp); in nlm_call_lock()
975 nlm_rpc_t *rpcp; in nlm_call_cancel() local
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()
985 nlm_host_rele_rpc(hostp, rpcp); in nlm_call_cancel()
1054 nlm_rpc_t *rpcp; in nlm_call_unlock() local
1058 error = nlm_host_get_rpc(hostp, vers, &rpcp); in nlm_call_unlock()
[all …]
/titanic_41/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c538 prt_cmd(char *path, long flags, char *modules, char *addr, char *rpcp) in prt_cmd() argument
572 printf("%s:%s:%s:%s:%s\n", (addr ? addr : ""), (rpcp ? rpcp : ""), in prt_cmd()