Lines Matching refs:rl
178 rpcbs_rmtcalllist *rl; in rpcbs_rmtcall() local
189 for (s = rl = inf[rtype].rmtinfo; rl; rl = rl->next) { in rpcbs_rmtcall()
190 if ((rl->prog == prog) && (rl->vers == vers) && in rpcbs_rmtcall()
191 (rl->proc == proc) && (strcmp(rl->netid, netid) == 0)) { in rpcbs_rmtcall()
195 atomic_add_int((uint_t *)&rl->failure, 1); in rpcbs_rmtcall()
197 atomic_add_int((uint_t *)&rl->success, 1); in rpcbs_rmtcall()
199 atomic_add_int((uint_t *)&rl->indirect, 1); in rpcbs_rmtcall()
215 rl = (rpcbs_rmtcalllist *) malloc(sizeof (rpcbs_rmtcalllist)); in rpcbs_rmtcall()
216 if (rl == NULL) { in rpcbs_rmtcall()
220 rl->prog = prog; in rpcbs_rmtcall()
221 rl->vers = vers; in rpcbs_rmtcall()
222 rl->proc = proc; in rpcbs_rmtcall()
223 rl->netid = nconf->nc_netid; in rpcbs_rmtcall()
225 rl->failure = 1; in rpcbs_rmtcall()
226 rl->success = 0; in rpcbs_rmtcall()
228 rl->failure = 0; in rpcbs_rmtcall()
229 rl->success = 1; in rpcbs_rmtcall()
231 rl->indirect = rpcbproc == RPCBPROC_INDIRECT ? 1 : 0; in rpcbs_rmtcall()
239 free(rl); in rpcbs_rmtcall()
252 rl->next = inf[rtype].rmtinfo; in rpcbs_rmtcall()
253 inf[rtype].rmtinfo = rl; in rpcbs_rmtcall()